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
Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...