Hi Tracey!

Tracey Gates wrote:

I have followed the installation steps from the Rules Du Jour site (_http://www.exit0.us/index.php?pagename=RulesDuJour_) and am trying to run the script manually but I get the following error: [EMAIL PROTECTED] sbin]# ./rules_du_jour
: bad interpreter: No such file or directory


That is usually due to bad line endings. Are you using cygwin? Open the file in vi and do:

:set fileformat=unix
:wq

-or-

:set fileformat=dos
:wq

depending on cygwin or not (cygwin == dos, other == unix).

It doesn't see to like the #!/bin/bash line. I haven't changed any of the script and have it executable. I have my configuration file as /etc/rulesdujour/config as stated in the installation steps. I have also made sure that bash is located in the /bin directory and it is there. I am trying to run the script at root so there shouldn't be any permissions problems. I'm not sure why I'm getting this error or what to do to correct it. Can someone please help me?

HTH!

Chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to