Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inst_check reports errors

Status
Not open for further replies.

Troll257

Technical User
Jan 12, 2003
9
0
0
NO

I have run into a (small) problem when installing qmail. I am in the process of migrating to Linux (from Win2k) and beeing fairly new to Linux I might well be doing something daft.

I have installed qmail to /var/qmail and it seems that my insatllation is basically OK, as I can start and stop qmail. Also, qmailctl stat reports:

/service/qmail-send: up (pid 20750) 6739 seconds
/service/qmail-send/log: up (pid 20937) 0 seconds
/service/qmail-smtpd: up (pid 20938) 0 seconds
/service/qmail-smtpd/log: up (pid 746) 10791 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0

Similarly ps -ef grep | 20750 reports:

qmails 20750 743 0 15:15 ? 00:00:00 qmail-send
root 20761 20750 0 15:15 ? 00:00:00 qmail-lspawn ./Maildir
qmailr 20762 20750 0 15:15 ? 00:00:00 qmail-rspawn
qmailq 20763 20750 0 15:15 ? 00:00:00 qmail-clean
root 21373 861 0 17:08 tty1 00:00:00 grep 20750


However, when running inst_check I get the following response:

Couldn't find a start or kill link in /etc/rc0.d
Couldn't find a start or kill link in /etc/rc1.d
Couldn't find a start or kill link in /etc/rc2.d
Couldn't find a start or kill link in /etc/rc3.d
Couldn't find a start or kill link in /etc/rc4.d
Couldn't find a start or kill link in /etc/rc5.d
Couldn't find a start or kill link in /etc/rc6.d
/var/qmail/service/qmail-send/run file is missing
/var/qmail/service/qmail-send/log/run file is missing
/var/qmail/service/qmail-smtpd/run file is missing
/var/qmail/service/qmail-smtpd/log/run file is missing
/var/qmail/control/concurrencyincoming is missing
...try: echo 20 >/var/qmail/control/concurrencyincoming
Something is listening on port 25
...try: disabling current MTA
/usr/lib/sendmail is missing
...try: ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
/usr/sbin/sendmail is missing
...try: ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail


My guess would be that I have messed up the symbolic links, but I cannot seem to find the error. My Linus distribution is Suse 8.0, so the rc-directories are:

/etc/init.d/rc0.d
/etc/init.d/rc1.d
etc.

Where should the sym. links be? An example would be appreciated.

Thanks in advance.









 
You're probably right about the symbolic links not being set up quite right. The results of qmailctl stat show that the installation isn't correct. All of the services should be up for more than one second. I'd suggest reading David Sill's "Life with Qmail" and follow it EXACTLY in a clean install - it'll work!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top