(forwarding for reference. In summary - monit needs to be compiled on
amd64 for the patch to be effective. It fails when started from
initscripts but works with manual start -- I'll await 4.8.1 before doing
further investigations)

//Stefan

---------------------------- Original Message ----------------------------
Subject: Re: Bug#367341: monit failed to restart after upgrade
From:    "ngb" <[EMAIL PROTECTED]>
Date:    Wed, May 17, 2006 10:12
To:      "Stefan Alfredsson" <[EMAIL PROTECTED]>
--------------------------------------------------------------------------

Stefan,
thanks for that. I have build the source without any trouble (although it
did ask me to install byacc and cdbs which monit didn't need before).
However when installing it I got the following:

ruby:/home/ngb/monit# dpkg -i monit_4.8-2_amd64.deb
(Reading database ... 163511 files and directories currently installed.)
Preparing to replace monit 1:4.7-1 (using monit_4.8-2_amd64.deb) ...
Stopping daemon monitor: monit.
Unpacking replacement monit ...
Setting up monit (4.8-2) ...
Starting daemon monitor: monitinvoke-rc.d: initscript monit, action
"start" failed.
dpkg: error processing monit (--install):
  subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
  monit

However running "monit -d 240" from the command line started it with no
problems.

ruby:/home/ngb/monit# monit -d 240
Starting monit daemon with http interface at [*:2812]

and I can log onto the web page and see that everything is working.

thanks again for your help.

cheers,
Neil





Reply via email to