[vchkpw] Deamontools

2002-08-16 Thread dunervst



Hallo,

wie kann ich 
deamontools neu installieren ??? Muss ich es zuerst deinstallieren, bevor ich es 
neu compilieren kann ? Ich habe versucht es drüber zu compilieren, aber das Prog 
erkennt das es schon da ist.

Ich habe immer ein 
fehler, das er nicht auf multilog zugreifen kann. Vielleicht kann man das ja 
auch schon so beheben. Ich habe mal den Link in /usr/local/bin/multilog 
überprüft Rechte sind 775. Der link führt mich ins /command/multilog auch hier 
sind die rechte 775 der owner und die group stehen auf root. Hoffe mi9r kann 
jemand helfen.

Danke
Michael



AW: [vchkpw] Deamontools

2002-08-16 Thread dunervst

I installed qmail with deamontools , and all was working fine, for 2
month. Then i get in trouble with the 2.4.18 Kernel so i updated to kernel
2.4.19. When i updated the kernel i got an errormessage while booting
redhat, which said:

INIT: Id SV respawning too fast: disabled for 5 minutes

something with svscanboot is wrong.

I tried to recompile the Porg but it seems like deamontools knows that its
already installed.
I fixed that Problem with these commands:

kill -HUP 1
ps x | grep svscan

and all was working fine again.

This morning, qmail was down. I restartet qmail but nothing. I stoped and
started qmail and i got serveral errors, that svscan is unable to access
/usr/local/bin/multilog.
I restartet the server an all were back to normal but how long ? Whats wrong
with the system ?

thx
Michael






-Ursprüngliche Nachricht-
Von: Peter Palmreuther [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 16. August 2002 13:39
An: [EMAIL PROTECTED]
Betreff: Re: [vchkpw] Deamontools


Hello,

On Friday, August 16, 2002 at 12:50:34 PM Michael wrote:

 wie kann ich deamontools neu installieren ??? Muss ich es zuerst
 deinstallieren, bevor ich es neu compilieren kann ? Ich habe versucht es
 drüber zu compilieren, aber das Prog erkennt das es schon da ist.

 Ich habe immer ein fehler, das er nicht auf multilog zugreifen kann.
 Vielleicht kann man das ja auch schon so beheben. Ich habe mal den Link in
 /usr/local/bin/multilog überprüft Rechte sind 775. Der link führt mich ins
 /command/multilog auch hier sind die rechte 775 der owner und die group
 stehen auf root. Hoffe mi9r kann jemand helfen.

I'll try to translate this for the non-german members.

-
He's asking about how to re-install 'daemontool'.
He want's to know if he needs to de-install before recompiling, because
when he tried to to re-compile it was recognized daemontools are already
present.

The second question is about multilog.
Michael tells he can't access it. The link in

/usr/local/bin/multilog is set to permissions 755, as is the destination of
that link in /command/multilog too. Owner and group of both files is
'root'.
-

Well, Michael:

what do you mean when you tell 'dameontool' is recognizing it is already
installed? When exactly? How to you try to compile (what steps are taken),
and at what step exactly which message is given?
Normally you should be easily able to re-compile daemontools from clean
sources and be able to install the new compiled binaries without problems.

Second question is: what do you mean by can't access to multilog???
How do you want to access it, what exact error message is given?

P.S.: Micheal: please post in English, as this is an international list,
  and I guess the percentage of German speaking people is quite minor.
--
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]





[vchkpw] RE: error code

2002-08-16 Thread dunervst



Hi, 


the output of 
ls -ld / /usr /usr/local /usr/local/bin /usr/local/bin/multilog /command 
/command/multilog
is

drwxr-xr-x 23 root 
root 4096 Aug 16 15:25 
/drwxrwxr-x 2 root 
root 4096 Aug 15 18:42 
/commandlrwxrwxrwx 1 root 
root 46 Aug 15 18:42 
/command/multilog - 
/root/qmail/admin/daemontools/command/multilogdrwxr-xr-x 18 
root 
root 4096 Jun 23 15:21 
/usrdrwxrwxrwx 14 root 
root 4096 Aug 9 19:36 
/usr/localdrwxrwxrwx 3 root 
root 4096 Aug 15 18:42 
/usr/local/binlrwxrwxrwx 1 root 
root 17 Aug 15 18:42 
/usr/local/bin/multilog - /command/multilog



ls -ld / /root/qmail 
/root/qmail/admin /root/qmail/admin/daemontools* 
/root/qmail/admin/daemontools*/command 
/root/qmail/admin/daemontools*/command/multilog 


shows
drwxr-xr-x 23 
root 
root 4096 Aug 16 15:25 
/drwxr-xr-x 14 root 
root 4096 Jul 13 11:23 
/root/qmaildrwxr-xr-t 3 root 
root 4096 Aug 16 15:18 
/root/qmail/adminlrwxrwxrwx 1 root 
root 16 Aug 15 18:42 
/root/qmail/admin/daemontools - 
daemontools-0.76drwxr-xr-x 6 root 
root 4096 Jun 23 16:16 
/root/qmail/admin/daemontools-0.76drwxr-xr-x 2 
root 
root 4096 Jun 23 16:16 
/root/qmail/admin/daemontools-0.76/command-rwxr-xr-x 1 
root root 
22724 Jun 23 16:16 
/root/qmail/admin/daemontools-0.76/command/multilogdrwxr-xr-x 
2 root 
root 4096 Jun 23 16:16 
/root/qmail/admin/daemontools/command-rwxr-xr-x 1 
root root 
22724 Jun 23 16:16 /root/qmail/admin/daemontools/command/multilog

ls -ld /etc/init.d/qmail
-rwxr-xr-x 1 
root 
root 2475 Jun 23 16:18 
/etc/init.d/qmail

the content of 
/etc/init.d/qmail is


#!/bin/sh
PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
case "$1" in
start)
echo -n "Starting qmail: svscan"
cd /var/qmail/supervise
env - PATH="$PATH" svscan 
echo $!  /var/run/svscan.pid
echo "."
;;
stop)
echo -n "Stopping qmail: svscan"
kill `cat /var/run/svscan.pid`
echo -n " qmail"
svc -dx /var/qmail/supervise/*
echo -n " logging"
svc -dx /var/qmail/supervise/*/log
echo "."
;;
stat)
cd /var/qmail/supervise
svstat * */log
;;
doqueue|alrm)
echo "Sending ALRM signal to qmail-send."
svc -a /var/qmail/supervise/qmail-send
;;
queue)
qmail-qstat
qmail-qread
;;
reload|hup)
echo "Sending HUP signal to qmail-send."
svc -h /var/qmail/supervise/qmail-send
;;
pause)
echo "Pausing qmail-send"
svc -p /var/qmail/supervise/qmail-send
echo "Pausing qmail-smtpd"
svc -p /var/qmail/supervise/qmail-smtpd
;;
cont)
echo "Continuing qmail-send"
svc -c /var/qmail/supervise/qmail-send
echo "Continuing qmail-smtpd"
svc -c /var/qmail/supervise/qmail-smtpd
;;
restart)
echo "Restarting qmail:"
echo "* Stopping qmail-smtpd."
svc -d /var/qmail/supervise/qmail-smtpd
echo "* Sending qmail-send SIGTERM and restarting."
svc -t /var/qmail/supervise/qmail-send
echo "* Restarting qmail-smtpd."
svc -u /var/qmail/supervise/qmail-smtpd
;;
# cdb)
# tcprules /home/vpopmail/etc/tcp.smtp.cdb /home/vpopmail/etc/tcp.smtp.tmp 
 /home/vpopmail/etc/tcp.smtp
# chmod 644 /home/vpopmail/etc/tcp.smtp*
# echo "Reloaded /home/vpopmail/etc/tcp.smtp."
# ;;
help)
cat HELP
stop -- stops mail service (smtp connections refused, nothing goes out)
start -- starts mail service (smtp connection accepted, mail can go out)
pause -- temporarily stops mail service (connections accepted, nothing
leaves)
cont -- continues paused mail service
stat -- displays status of mail service
# cdb -- rebuild the tcpserver cdb file for smtp
restart -- stops and restarts smtp, sends qmail-send a TERM  restarts 
it
doqueue -- sends qmail-send ALRM, scheduling queued messages for delivery
reload -- sends qmail-send HUP, rereading locals and virtualdomains
queue -- shows status of queue
alrm -- same as doqueue
hup -- same as reload
HELP
;;
*)
echo "Usage: $0
{start|stop|restart|doqueue|reload|stat|pause|cont|cdb|queue|help}"
exit 1
;;
esac
exit 0



Go, edit '/etc/inittab', deactivate the line that 
starts svscan.

I did, but same problem. So it is not a problem of 
svscanboot.
Wheres the problem ???
I use A RedHat 7.3 Valhalla running on a Pentium 2 
400MHz, 256MB Ram, 4MB Matrox Mystic PCI,
SIS900 Fast Ethernet, 30GB IBM HDD (Two Partitons, 
27GB ext2 / and 2 GB swap.
I use 
- 
qmail1.03- vpopmail 5.2- 
ucspi-tcp 0.88- daemontools 0.76- qmailadmin 1.0.2- sqwebmail 
3.3.3- courier-imap 1.4.4- rcscripts- autorespond- ezmlm- 
relay-ctrl 3.0

thx
Michael












[vchkpw] INIT: Id SV respawning too fast: disabled for 5 minutes

2002-08-15 Thread dunervst




Hi,
i have installed a new kernel. Now every boot i got this error:
INIT: Id "SV" respawning too fast: disabled for 5 minutes 
i looked in the inittab:
SV:123456:respawn:/command/svscanboot 
something with qmail. But what could it be. Please help me. 
I am newbie in qmail.
thx
Michael


[vchkpw] INIT: Id SV respawning too fast: disabled for 5 minutes

2002-08-15 Thread dunervst

Hi,
i have installed a new kernel. Now every boot i got this error:
INIT: Id SV respawning too fast: disabled for 5 minutes 
i looked in the inittab:
SV:123456:respawn:/command/svscanboot 
something with qmail. But what could it be. Please help me. 
I am newbie in qmail.
thx
Michael