Refine your search:

I am running Redhat Enterprise 5.5 on my systems. I currently upgraded to 4.2.5 with no problem. Today I tried to update a server with the Splunk 4.3. I also updated the *Nix app (4.5) on this server at the same time. When I go to start splunk I get this error after site checks and during the config checks. From reading so far, it could be a python error of some sort?
Error: ImportError: No module named site

**Update I noticed this error on the attempt to upgrade 4.2.5 to 4.3: error: unpacking of archive failed on file /opt/splunk/lib/python2.7/site-packages/splunk/appserver/mrsparkle/locale/zh_CH/LC_MESSAGES/messages.po;4f0efb70: cpio: read

asked 10 Jan '12, 11:39

djfisher's gravatar image

djfisher
5519
accept rate: 33%

edited 12 Jan '12, 07:50


One Answer:

It looks like there is an integrity problem with previous RPM file "splunkforwarder-4.3-115073-linux-2.6-x86_64.rpm" I downloaded on the 11th of January 2011

Trying to extract the file using rpm2cpio indicates the file was truncated: rpm2cpio splunkforwarder-4.3-115073-linux-2.6-x86_64.rpm |cpio -idmv ./opt/splunkforwarder/README-splunk.txt ./opt/splunkforwarder/bin ./opt/splunkforwarder/bin/bloom ./opt/splunkforwarder/bin/btool ./opt/splunkforwarder/bin/btprobe ./opt/splunkforwarder/bin/bzip2 ./opt/splunkforwarder/bin/locktool ./opt/splunkforwarder/bin/openssl cpio: premature end of file

I redownloaded the file from Splunk and compared md5sums, and it showed that the previous version I downloaded was corrupt. The newly downloaded file extracted correctly.

link

answered 17 Jan '12, 13:41

wouterdutoit's gravatar image

wouterdutoit
111
accept rate: 0%

edited 17 Jan '12, 13:42

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×155
×51
×18
×1

Asked: 10 Jan '12, 11:39

Seen: 1,387 times

Last updated: 17 Jan '12, 13:42

Copyright © 2005-2012 Splunk Inc. All rights reserved.