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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...