Deployment Architecture

Splunk Won't Start: Validating DB code -2

marquiselee
Path Finder

Spunk was operating extremely slow this morning. I then restarted it via the web console however it stalled in that process. I looked the the services.msc and saw that the splunkd service was not running. I tried to start it from there with no luck (error: The Splunkd service on local computer started and then stopped...) When I try to start manually from command line I get the following.

"C:\Program Files\Splunk\bin>splunk start

Splunk> Finding your faults, just like mom.

Checking prerequisites...
Checking http port [8000]: open
Checking mgmt port [8089]: open
Checking configuration... Done.
Checking index directory...
Couldn't open log file configuration "C:\Program Files\Splunk\etc\log.cfg": The
operation completed successfully.
Error loading logging config file
Validating databases (splunkd validatedb) failed with code '-2'. Please file a
case online at http://www.splunk.com/page/submit_issue

C:\Program Files\Splunk\bin>"

Tags (1)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

Can you try to shutdown all the splunk processes. Then try a clean start.

If it fails again, please collect a diag with splunk diag and create a support ticket.

View solution in original post

0 Karma

yannK
Splunk Employee
Splunk Employee

Can you try to shutdown all the splunk processes. Then try a clean start.

If it fails again, please collect a diag with splunk diag and create a support ticket.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...