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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...