Rules Du Jour Script Error

2005-11-14 Thread Tracey Gates
Title: Message



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

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
fileas/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?

Thanks!



Tracey GatesLead
Developer[EMAIL PROTECTED] 
1350 South Boulder, Third Floor / Tulsa, OK 74119-3203Phone
918-663-0991 / Fax 918-663-0840
This communication is intended only for the recipient(s) named above; may be
confidential and/or legally privileged; and, must be treated as such in
accordance with state and federal laws. If you are not the intended recipient,
you are hereby notified that any use of this communication, or any of its
contents, is prohibited. If you have received this communication in error,
please reply to the sender and then delete the message from your computer system
immediately.




Re: Rules Du Jour Script Error

2005-11-14 Thread Chris Thielen

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


signature.asc
Description: OpenPGP digital signature