> I am very curios at this point, so I change the directory to
> /etc/rc.d/init.d and I find a qmail* file does exist.  Its properties
> are -rwxr-xr-x
> 
> What the heck?  How come I get "No such file or directory" when I type
> "/usr/local/sbin/qmail cdb" (without the quotes) when the file (or is
> it just a link?) IS there??

        What is the output of 'head -1 /etc/rc.d/init.d/qmail'?  If the
script doesn't correctly point to the shell, then that can cause "No such
file or directory errors."

        Run 'vi /etc/rc.d/init.d/qmail'.  At the bottom of the screen, you
will see either:

"qmail" [dos format] 50 lines, 4500 characters 

        or

"qmail" 50 lines, 4500 characters

        (Immediately type ":q!" (without quotes) and hit enter to quit vi)

        If you see [dos format], then that's your problem.  Modify the file
to remove the DOS style CR/LF pairs.  Check out
http://kb.indiana.edu/data/acux.html for a list of ways to do this.


-- 
        gowen -- Greg Owen -- [EMAIL PROTECTED]

Reply via email to