I received the following errors when running the diag command on a SunOS 5.10 server:
root@bunny # ./splunk version
Splunk 4.1.3 (build 80534)
root@bunny #
root@bunny # ./splunk diag
sh: btool: not found
WARNING: couldn't find "mgmtHostPort" setting in web bundle!
sh: btool: not found
couldn't run "/opt/splunk/bin/python": No such file or directory
root@bunny #
Any hints would be much appreciated.
Run the btool directly to see what it gives you:
http://docs.splunk.com/Documentation/Splunk/6.0/Troubleshooting/Usebtooltotroubleshootconfigurations
It seems like you have an issue with the paths on your machine.