Security

Unexpected SplunkWeb error: 'No such method name'

giray
New Member

ok, this is quite an old setup, splunk 3.4.14 on rhel4, but I get the following error, any pointers would be greatly appreciated.

2013-09-17 21:39:46,581 ERROR   Dispatcher:403 - Unexpected SplunkWeb error: 'No such method name' traceback (most recent call last):
  File "/opt/splunk/lib/python2.5/site-packages/splunk/appserver/oxiclean/Dispatcher.py", line 358, in delegateRequest
    responseXml = actionInstance()
  File "/opt/splunk/lib/python2.5/site-packages/splunk/appserver/oxiclean/V3RestHandlers.py", line 792, in process_get
    diskStats = cli_common.getDiskUsage(self.authToken)
  File "/opt/splunk/lib/python2.5/site-packages/splunk/clilib/cli_common.py", line 906, in getDiskUsage
    usageXML = simpleAPICall(callname, params, authstr)
  File "/opt/splunk/lib/python2.5/site-packages/splunk/clilib/cli_common.py", line 603, in simpleAPICall
    % (callName, params, authStr), shouldParseXML)
  File "/opt/splunk/lib/python2.5/site-packages/splunk/clilib/cli_common.py", line 576, in callAPI
    raise InvokeAPI, str(elem.text)
InvokeAPI: 'No such method name'
Tags (1)
0 Karma

nvanderwalt_spl
Splunk Employee
Splunk Employee

This is reviving a very old thread, but the error showed up at a site last week, and they mentioned this thread, so I thought I would update.

The issue was that Splunk was manually started as root at some point, and later restarted as the regular Splunk user. Starting as root changed ownership of some files to root user, causing the error. Running a chown -R on the Splunk install directory to change the ownership back to the Splunk user solved the issue.

0 Karma

rturk
Builder

Pointer #1: Upgrade Splunk 😉

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...