[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

qmail processes will not spawn forth and operate



Hello, I have tried and tried and am stuck. Here is the problem. I am
installing qmail on a RedHat linux 6.2 box with a custom 2.2.21 kernel.
I already have tcpserver installed. So, I run through the install as
root as per the INSTALL instructions, which ultimately boils down to
this:

mkdir /var/qmail
groupadd nofiles
useradd -g nofiles -d /var/qmail/alias alias
useradd -g nofiles -d /var/qmail qmaild
useradd -g nofiles -d /var/qmail qmaill
useradd -g nofiles -d /var/qmail qmailp
groupadd qmail
useradd -g qmail -d /var/qmail qmailq
useradd -g qmail -d /var/qmail qmailr
useradd -g qmail -d /var/qmail qmails
make setup check
./config-fast myserver
cd /var/qmail/alias
touch .qmail-postmaster .qmail-mailer-daemon .qmail-root
chmod 644 .*
cp /var/qmail/boot/home /var/qmail/rc


Everything runs fine and I don't get any error messages in
/var/log/messages or /var/log/maillog, or on the screen. Then, I got to
start qmail and type in:

	# csh -cf '/var/qmail/rc &' 

And nothing happens, and I mean nothing. nothing shows up in the logs,
etc. I have tried running a /etc/rc.d/init.d/qmail script I had had
working on another machine in the past




#
# qmail         /etc/init.d script for qmail (http://www.qmail.org/)
#
# Version:      @(#) /etc/init.d/qmail 1.00 03-Sep-1997
#
# Author:       Larry Doolittle <ldoolitt@cebaf.gov>
#               derived from skeleton by Miquel van Smoorenburg,
#    

# Source function library.
. /etc/rc.d/init.d/functions

# See how we were called.
case "$1" in
  start)
        touch /var/lock/subsys/qmail
        env - PATH="/var/qmail/bin:$PATH" \
        csh -cf 'qmail-start ./Mailbox splogger qmail &'
        # should limit RLIMIT_AS here, but bash apparently doesn't
        # know that exists.  For now it is hacked into qmail-smtpd.
        /usr/local/bin/tcpserver -u 1911 -g 2081 0 smtp
/var/qmail/bin/qmail-smtpd &
        echo $! >/var/lock/subsys/qmail-smtpd
        ;;
  stop)
        killall qmail-send

        kill `cat /var/lock/subsys/qmail-smtpd`
        rm -f /var/lock/subsys/qmail-smtpd
        rm -f /var/lock/subsys/qmail
        ;;
  *)
        echo "Usage: qmail {start|stop}"
        exit 1
esac

exit 0





And it gives me the error messages that says:

[root@myserver root]# /etc/rc.d/init.d/qmail start
[1] 5202
[root@myserver root]#

The only service I have running on this box is SSHD through inetd and
that is it. Nothing else is running on this maching except the regular
tty's, and crond, and kernel needed processes. 


And still nothing shows up in either /var/log/messages or
/var/log/maillog, and the processes don't start


Thanks for any help you can provide.

Matthew Geddert
Geddert@yahoo.com