python script wont start - bash: myCommand : command not found
Hi all, first post, hope someone can help.
I have inherited a mail server running scalix 10.0.1 on Red hat enterprise linux v4 (x86) u3 and need to run a utility in the administrators kit called 'sxaa' but when I type sxaa at the prompt i get
bash: sxaa: command not found
sxaa is a valid command for the utility because the readme file says so.
I tried sh sxaa and got:
sxaa: line 4:
: sxaa,v 1.6 2006/03/29 02:32:54 dkelly Exp $
: No such file or directory
sxaa: line 6: import: command not found
sxaa: line 7: import: command not found
sxaa: line 8: import: command not found
sxaa: line 9: import: command not found
sxaa: line 10: from: command not found
sxaa: line 15: gDQuote: command not found
sxaa: line 16: gDebugMode: command not found
sxaa: line 17: syntax error near unexpected token `('
sxaa: line 17: `gB = ("s", "")'
[root@lmkzr admin_resource_kit]#
It's not a path (?) issue because I am trying to run it from the directory it is in.
Do I need to install a python command interpreter or something? ls -al gives -rwxr-xr-x. does this not indicate the file is executable by all users?
I'm a bit new to linux at command prompt but can get around, I have never installed anything though. The system does have a gui (X) desktop as well.
Any pointers would be appreciated.
Tks,
Owen.
|