Installation

Problem installing Splunk Enterprise on MacOS 10.13.1: Validating databases (splunkd validatedb) failed with code '1'

1dodgeneon
New Member

Trying to start the labs in the Splunk fundamentals course but Splunk won't load on my MacBook. This is the message I get:

Validating databases (splunkd validatedb) failed with code '1'. If you cannot resolve the issue(s) above after consulting documentation, please file a case online at http://www.splunk.com/page/submit_issue

Anybody know what I should do?

Labels (2)
Tags (2)
0 Karma

harsmarvania57
Ultra Champion

Hi @1dodgeneon,

Can you please check answers on https://answers.splunk.com/answers/306998/why-am-i-getting-homepathoptsplunkvarlibsplunkaudi.html , this might help you.

You need to add OPTIMISTIC_ABOUT_FILE_LOCKING = 1 in $SPLUNK_HOME/etc/splunk-launch.conf

I hope this helps.

Thanks,
Harshil

claudiavanpaasc
New Member

I have the same issue. I'm not familiar with coding and stuff at all. Just interested in Splunk. How do I add a line in $SPLUNK_HOME/etc/splunk-launch.conf ? Could you maybe assist me? Thanks!

0 Karma

sspalli
New Member

Hi Claudia,

I am in the same boat. I am not sure what tool to use to read this file. Do you know? have you figured it out yet?

Regards,
Siva

0 Karma

sumittokkar
New Member

It worked. Thanks.

0 Karma

ChrisG
Splunk Employee
Splunk Employee

But see this important note from the other Answers posting

Note from malmoore (Splunk): You set this variable at your own risk. Proceed with caution. By setting the variable, you defeat filesystem locking checks, and thus can potentially render any data that you index inaccessible later. Splunk Free/Trial need to know how to navigate your file system so that it can store (and later retrieve) index buckets. We have already had one report in this thread of problems that have occurred after enabling this setting. There is work scheduled to fix the error for macOS 10.13, but there is no promise of delivery of this functionality. Remember, there is no support at all for Splunk Enterprise on macOS 10.13.

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...