I can confirm this as a problem on this new server I'm working on, brand new
installation of monit, using:
aptitude update;aptitude install monit
While trying to connect to view monit status or summary one gets:
monit: error connecting to the monit droot@lcfp:/var/log# ps aux|grep monit
root 3226 0.0 0.0 30384 1144 ? S 14:54 0:00 /usr/bin/monit
-c /etc/monit/monitrc
root 3545 0.0 0.0 9380 916 pts/0 S+ 15:15 0:00 grep
--color=auto monit
root@lcfp:/var/log#
aemon
root@lcfp:/var/log# monit status
monit: error connecting to the monit daemon
root@lcfp:/var/log#
root@lcfp:/var/log# uname -a
Linux lcfp 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
root@lcfp:/var/log# dpkg -l|grep -i 'monit '
ii monit 1:5.3.2-1 utility for
monitoring and managing daemons or similar programs
root@lcfp:/var/log# dmidecode -t system|grep Product
Product Name: Lenovo ThinkServer RD530
root@lcfp:/var/log# dmidecode -t processor|grep Intel
Manufacturer: Intel
Version: Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz
root@lcfp:/var/log# cat /var/log/monit.log
[PDT Apr 19 14:54:15] info : monit: generated unique Monit id
c7be657b41345a17935b7b415df47588 and stored to '/var/lib/monit/id'
[PDT Apr 19 14:54:15] info : Starting monit daemon
[PDT Apr 19 14:54:15] error : State file '/var/lib/monit/state': Unable to
read magic
[PDT Apr 19 14:54:15] info : 'system_lcfp.shmi.ath.cx' Monit started
[PDT Apr 19 14:54:21] error : monit: error connecting to the monit daemon
[PDT Apr 19 14:55:36] error : monit: error connecting to the monit daemon
[PDT Apr 19 14:57:39] error : monit: error connecting to the monit daemon
[PDT Apr 19 14:58:44] info : [PDT Apr 19 14:58:44] info : monit daemon
at 3226 awakened
Awakened by User defined signal 1
[PDT Apr 19 15:08:30] error : monit: error connecting to the monit daemon
[PDT Apr 19 15:08:38] error : monit: error connecting to the monit daemon
Have tried reinstalling monit, ie aptitude purge
** Changed in: monit (Ubuntu)
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1017327
Title:
Monit 5.3.2 not working on Ubuntu 12.04 x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/monit/+bug/1017327/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs