Installation

Error on start for Darwin 11.3.0 Darwin Kernel Version 11.3.0: root:xnu-1699.24.23~1/RELEASE_I386 i386

jesselee
Engager

Anyone else getting this error:

This appears to be your first time running this version of Splunk.
Traceback (most recent call last):
File "/Applications/splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 17, in
import splunk.clilib.cli_common as comm
File "/Applications/splunk/lib/python2.7/site-packages/splunk/init.py", line 2, in
import util, os, logging
File "/Applications/splunk/lib/python2.7/site-packages/splunk/util.py", line 13, in
import subprocess
File "/Applications/splunk/lib/python2.7/subprocess.py", line 432, in
import pickle
File "/Applications/splunk/lib/python2.7/pickle.py", line 1266, in
import binascii as _binascii
ImportError: dlopen(/Applications/splunk/lib/python2.7/lib-dynload/binascii.so, 2): Library not loaded: @Anonymous_path/../../libz.1.dylib
Referenced from: /Applications/splunk/lib/python2.7/lib-dynload/binascii.so
Reason: Incompatible library version: binascii.so requires version 4.0.0 or later, but libz.1.dylib provides version 1.0.0

Tags (5)

yannK
Splunk Employee
Splunk Employee

On MAC, try to untar using the command line instead of the Finder extractor.


tar -xvf Splunk-5.0.2.xxxx.tgz
cd splunk/bin
./splunk start

jbennett_splunk
Splunk Employee
Splunk Employee

I had the same problem on my Mac...

Got help from YannK: when I untar from the command line ( tar -xvf splunk-5.0.2-149561-Darwin-universal.tgz ) everything worked -- looks like there might be some problem with whatever OS X is doing when I double-click to extract.

aprepo
Engager

Similar, but different, error here:

Traceback (most recent call last):
File "/Applications/splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 17, in
import splunk.clilib.cli_common as comm
File "/Applications/splunk/lib/python2.7/site-packages/splunk/clilib/cli_common.py", line 5, in
import xml.etree.cElementTree as et
File "/usr/lib/python/xml/etree/cElementTree.py", line 3, in
from _elementtree import *
File "", line 147, in
AttributeError: 'module' object has no attribute 'fromstringlist'

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...