On Wed, 14 Dec 2011, Michael Reincke wrote:
> But when changing the init script
> as105849:~# diff -u /etc/init.d/amavis-save /etc/init.d/amavis
> --- /etc/init.d/amavis-save 2011-12-14 10:19:07.000000000 +0100
> +++ /etc/init.d/amavis 2011-12-14 10:19:32.000000000 +0100
> @@ -42,7 +42,7 @@
> set -e
>
> START="--start --quiet --pidfile $PIDFILE --name ${DAEMONNAME} --startas
> ${DAEMON}"
> -STOP="--stop --quiet --pidfile $PIDFILE --name ${DAEMONNAME}"
> +STOP="--stop --quiet --pidfile $PIDFILE"
> PARAMS=
>
> check_noncompatible_upgrade() {
> as105849:~#
>
> It works:
Ok, so what broke perl/start-stop-daemon, now? --name uses
/proc/<pid>/stat to locate the process...
Might be the kernel, it seems to be failing on 3.1.
Please give us the output of cat /proc/<pid of an amavis process>/stat,
preferably for the master process (the one listed in the pid file).
Failing that, stracing the start-stop-daemon call should tell us what is
wrong...
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]