Splunk Search

XenServer error message 'str' object has no attribute 'xenapi'

rstroet6697
New Member

Error message after executing pyton script: getMessage.py out bin directory.

Message in the var/log/TA-XS60-Server log file:
2013-02-13 00:23:48,785 - ERROR - ['Traceback (most recent call last):\n', ' File "C:\Program Files\SplunkUniversalForwarder\etc\apps\TA-XS60-Server\bin\getMessage.py", line 13, in \n messages = xsUtils.xsSession.xenapi.message.get_since(xmlrpclib.DateTime(time.gmtime(time.time()-300)))\n', "AttributeError: 'str' object has no attribute 'xenapi'\n"]
2013-02-13 00:25:47,565 - ERROR - unsupported XML-RPC protocol

Splunkforwarder installed on a Windows2008R2-64bit with pyton 2.7.3 amd64 and some pyton files give the right output when started it manual within IDLE others like this one gives an error.

Thanks for helping

Tags (1)
0 Karma

beuchelt
Engager

Check your xsconfig.conf and especially the URL for connecting to your master .. I had the same error and it went away after I fixed a typo.

rajneeshsaraswa
New Member

GUys any update on this as i am also getting the same errors.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...