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: @loader_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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...