Security

Error starting splunkweb after ks installation

joakers
New Member

I have a problem, iwe tryed to get splunk to install together with some other programs from a ks script at the same time as you install the OP but every time i get:

Starting splunk server demon (splunkd)... Done. Starting splunkweb... /opt/splunk/share/cert/ does not exist. Will create Generating certs for splunkweb server Generating a 1024 bit RSA private key

...........++++++

.......................+++++++

writing new private key to 'privatekeySecure.pem'

Signature ok subject=/CN=localhost.localdomain/0=SplunkUser Getting CA Private Key writing RSA key Timed out waiting for splunkweb to start. FAILED

If i instead install the OP first and then use the same rpm as i use in the ks script the installation works just fine.

Splunk part of ks script: rpm --force -Uvh $INSTALLDIR/$INSTALLDIR/*.rpm (This is to install all rpms that i need) .......... .......... .......... service stop iptables (Kill firewall) /opt/splunk/bin/splunk start --accept-license --answer-yes /opt/splunk/bin/splunk enable boot-start service start iptables (start firewall)

Does anyone know what the problem is?

Tags (2)
0 Karma

bbialek
Path Finder

I was having Splunk time out after 'writing RSA key' when I was accepting the license by removing the ftr file. Instead, having the following in my init's start function works:

/opt/splunk/bin/splunk" start --accept-license --no-prompt --answer-yes

0 Karma

joakers
New Member

Never mind i solved the problem by changing places for the splunk startup in the ks script and instead of accepting the license in the start command i accept the license in the boot command

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...