Arkadaşalr qmail kitabını kullanarak qmail kurmaya çalışıyorum. sayfa 49 a kadar herşey ok. ama o andan sonra
#qmailctl start dediğimde başlamadı..
/usr/local/etc/rc.d altına qmail.sh dosyasını indirdiğimde çalışmaya başladı.
linkleri verdikten sonra çok hata aldım. ama hepsi tek nedenden dolayısanırım...
 
su-2.05b# qmailctl start
Starting qmail
qmail-send supervise not running
qmail-smtpd supervise not running
su-2.05b# qmailctl stat
/service/qmail-send: supervise not running
/service/qmail-send/log: supervise not running
/service/qmail-smtpd: supervise not running
/service/qmail-smtpd/log: supervise not running
messages in queue: 0
messages in queue but not yet preprocessed: 0
su-2.05b# ls -la /service/
total 4
drwxr-xr-x   2 root  wheel  512 Jun 24 16:31 .
drwxr-xr-x  23 root  wheel  512 Jun 24 15:43 ..
lrwxr-xr-x   1 root  wheel   31 Jun 24 16:31 qmail-send -> /var/qmail/supervise/qmail-send
lrwxr-xr-x   1 root  wheel   32 Jun 24 16:31 qmail-smtpd -> /var/qmail/supervise/qmail-smtpd
su-2.05b# pwd
/var/qmail/supervise
su-2.05b# svc -u /service/qmail-smtpd
svc: warning: unable to control /service/qmail-smtpd: supervise not running
 
su-2.05b# qmailctl start
Starting qmail
qmail-send supervise not running
qmail-smtpd supervise not running
 
su-2.05b# ./qmail.sh
Usage: ./qmail.sh {start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}
su-2.05b# ./qmail.sh start
Starting qmail: svscan.
su-2.05b# multilog: fatal: unable to lock directory /var/log/qmail: temporary failure
multilog: fatal: unable to lock directory /var/log/qmail/smtpd: temporary failure
multilog: fatal: unable to lock directory /var/log/qmail/smtpd: temporary failure
multilog: fatal: unable to lock directory /var/log/qmail: temporary failure
multilog: fatal: unable to lock directory /var/log/qmail/smtpd: temporary failure
multilog: fatal: unable to lock directory /var/log/qmail: temporary failure
 
su-2.05b# qmailctl stop
Stopping qmail...
  qmail-smtpd
  qmail-send
su-2.05b#
su-2.05b# qmailctl start
Starting qmail
su-2.05b# qmailctl stat
/service/qmail-send: up (pid 1681) 0 seconds
/service/qmail-send/log: up (pid 1478) 23 seconds
/service/qmail-smtpd: up (pid 1686) 0 seconds
/service/qmail-smtpd/log: up (pid 1482) 23 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0
su-2.05b# tail -f /var/log/qmail/current
@4000000042bc1105205997e4 alert: cannot start: qmail-send is already running
@4000000042bc110622218e74 alert: cannot start: qmail-send is already running
@4000000042bc110723eae494 alert: cannot start: qmail-send is already runnin
 
su-2.05b# qmailctl stop
Stopping qmail...
  qmail-smtpd
  qmail-send
su-2.05b# tail -f /var/log/qmail/current
@4000000042bc110e3071f464 alert: cannot start: qmail-send is already running
@4000000042bc110f323bfe34 alert: cannot start: qmail-send is already running
@4000000042bc11103404d36c alert: cannot start: qmail-send is already running
 
sıralı olarak tüm işlemler bu şekilde oldu. şu anda /service de linkler olmasına rağmen açılışta rc.d/ de ki dosya olmadan başlamadı. acaba o dosya kitapta eksik mi anlatıldı. yoksa gerçekten gerekmiyor da ben birşeyleri eksik mi yaptım. ama adım adım gittim.
 
sizce sorun ne olabilir. googling yaptım ama birşey çıkmadı.
 
teşekkürler...

Cevap