On Mon, 2002-07-22 at 09:26, [EMAIL PROTECTED] wrote: > Hello, > > In the past, I've not encountered a problem with the > nessus install script, but that's all changed.
Looks like you transferred the shell script from a windows machine in binary mode, no command is listed before the 'command not found' error, because the command that it is trying to run ends with a ^M, which causes the error to be printed over the top of the command. Try uploading it again, and make sure you are in text mode. Under a > new RH7.3 build, I'm receiving the below output when I > attempt to execute the script. Just to point out the > likely obvious, sh is just a symlink to bash. The > development packages are all installed. The errors > seem to be occuring w/ the variable assignments (???). > This one makes zero sense to me since simple variable > assignments of this nature shouldn't be throwing these > types of errors, or I wouldn't think so. I should also > mention that I'm running the script from > /root/nessus-installer/. > > [root@host nessus-installer]# sh nessus-installer.sh > : command not found: > : command not found: > : command not found: > : command not found: > : command not found: > : command not found: > : command not found: > : command not found: > : command not found: > : command not found: > : command not found: > : command not found: > 'essus-installer.sh: line 61: syntax error near > unexpected token `in > 'essus-installer.sh: line 61: `case `echo -n` in > > > Thanks in advance! > > -ben > > --------------------------------------- > Benjamin Tomhave > [EMAIL PROTECTED] > http://falcon.cybersecret.com/ -- Jason Kohles [EMAIL PROTECTED] Senior Engineer Red Hat Professional Consulting
