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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...