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!

.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 ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...