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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...