At 07:11 PM 12/24/2002 +0700, you wrote: >On Tue, Dec 24, 2002 at 06:17:53PM +0000, Beast wrote: >> svscan: warning: unable to start supervise qmail-smtpd/log: file does not >> exist >> >> padahal kalau run manual bisa. >> [root@snoopy tmp]# pwd >> /tmp >> [root@snoopy tmp]# svscan /etc/svc & > >barangkali setelah edit /etc/inittab, lupa menjalankan 'init q'?
kalau lupa malah nggak ada err dong :) saya kill -HUP 1 errornya sebenarnya ada 4, yaitu svscan: warning: unable to start supervise qmail-smtpd: file does not exist svscan: warning: unable to start supervise qmail-smtpd/log: file does not exist svscan: warning: unable to start supervise qmail-send: file does not exist svscan: warning: unable to start supervise qmail-send/log: file does not exist > >kalau sudah, coba: > >- dijalankan manual tanpa di-background-ken: > svcscan /etc/svc bisa. >- ls -l /etc/svc/qmail-smtpd/log >- ls -l /etc/svc/qmail-smtpd/log/* [root@snoopy root]# ls -l /etc/svc/qmail-send/log/ total 8 -rwxr-xr-x 1 root root 159 Dec 24 15:46 run drwx------ 2 root root 4096 Dec 24 18:36 supervise [root@snoopy root]# ls -l /etc/svc/qmail-send/log/* -rwxr-xr-x 1 root root 159 Dec 24 15:46 /etc/svc/qmail-send/log/run /etc/svc/qmail-send/log/supervise: total 4 prw------- 1 root root 0 Dec 24 17:45 control -rw------- 1 root root 0 Dec 24 17:45 lock prw------- 1 root root 0 Dec 24 17:45 ok -rw-r--r-- 1 root root 18 Dec 24 18:36 status >- jalankan: > sh /etc/svc/qmail-smtpd/log/run ini bisa, soalnya kalau run svscan manual kan bisa, all files does exist. kalau ini juga jalan . SV:2345:respawn:/usr/local/bin/svscanboot [root@snoopy root]# cat /usr/local/bin/svscanboot #!/bin/sh # WARNING: This file was auto-generated. Do not edit! PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6 /bin exec </dev/null exec >/dev/null exec 2>/dev/null /usr/local/bin/svc -dx /etc/svc/* /etc/svc/*/log env - PATH=$PATH svscan /etc/svc 2>&1 | \ env - PATH=$PATH readproctitle service errors: ................................. ............................................................................ .... ............................................................................ .... ............................................................................ .... ............................................................................ .... ............................................... any clue?? -- Right or wrong my list. Unsubscribe option is currently unavailable. Indeed, it's available upon request .. but: cepek dulu donk!
