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!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...