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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...