Warren 'Llama' Ernst wrote:
>
> All,
>
> So I'm installing qmail on my RedHat 6 distrubution a la the "Life with
> qmail" document, and its going great (I've been doing a little each day all
> week) until section 2.8.2 when I am suppposed to type "/usr/local/sbin/qmail
> cdb"
>
> Well, I do this, and I get "bash: /usr/local/sbin/qmail: No such file or
> directory"
>
> So I do an ls -l and see the qmail entry in /usr/local/sbin is the link to:
> "qmail -> /etc/rc.d/init.d/qmail" and its permission is "lrwxrwxrwx"
>
> In checking /etc/rc.d/init.d/, i see that qmail is the executable script
> "qmail" frmom the beginning of section 2.8.2, but I can't execute it here
> either. It looks like:
> [root@lllama init.d]# qmail
> bash: qmail: command not found
> [root@lllama init.d]# ./qmail
> bash: ./qmail: No such file or directory
> [root@lllama init.d]# ls
> apmd functions inet linuxconf network qmail rusersd smb
> syslog
> atd gpm innd lpd nfs random rwhod snmpd xfs
> core halt keytable named pcmcia routed sendmail sound
> ypbind
> crond httpd killall netfs portmap rstatd single sshd
>
> See? There is is. qmail. With -rwxr-xr-x permissions.
>
> Can anybody suggest where I should go from here? If I just pretend this step
> went ok and keep going, it doesn't even start up. (I'ce reboot to make sure
> things are clean-ish). See?
> [root@lllama init.d]# /usr/local/sbin/qmail start
> bash: /usr/local/sbin/qmail: No such file or directory
>
> Any thoughts anyone?
>
> Virtually,
> Warr
> [EMAIL PROTECTED]
Warr,
Check the top line of the qmail file. It will name a program to be run
to process the qmail script. Check to make sure that this program
exists on your
system and is runnable.
For example, if the program is named as:
#!/bin/sh
Make sure that /bin/bash exists and is runnable on your system.
Linux will report "no such file or directory" for a script which names
an
interpreter which does not exist or is not runnable. It's cryptic, I
know.
Someone should fix it :) ...
Best wishes,
Bryan
--
------------------------------------------------------------------------
Bryan Ischo [EMAIL PROTECTED] 1995 Honda VFR750
Yonkers, NY, USA http://www.ischo.com RedHat Linux 6.0
------------------------------------------------------------------------