Please, read first this:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
$ sudo apt-cache policy monit
monit:
Installed: (none)
Candidate: 1:5.3.2-1
Version table:
1:5.3.2-1 0
500 http://ru.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
$ sudo apt-get install monit
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
exim4 postfix mail-transport-agent
The following NEW packages will be installed:
monit
0 upgraded, 1 newly installed, 0 to remove and 64 not upgraded.
Need to get 276 kB of archives.
After this operation, 732 kB of additional disk space will be used.
Get:1 http://ru.archive.ubuntu.com/ubuntu/ precise/universe monit amd64
1:5.3.2-1 [276 kB]
Fetched 276 kB in 0s (1,319 kB/s)
Selecting previously unselected package monit.
(Reading database ... 48857 files and directories currently installed.)
Unpacking monit (from .../monit_1%3a5.3.2-1_amd64.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up monit (1:5.3.2-1) ...
* Starting daemon monitor monit
...done.
$ pidof monit
1547
$ ls -ld /var/lib/monit
drwxr-xr-x 3 root root 4096 Dec 9 20:15 /var/lib/monit
$ ls -ld /var/lib/monit/state
-rw------- 1 root root 296 Dec 9 20:15 /var/lib/monit/state
$ sudo invoke-rc.d monit restart
* Stopping daemon monitor monit
...done.
* Starting daemon monitor monit
...done.
$ pidof monit
1593
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
$ tail /var/log/monit.log
[MSK Dec 9 20:15:52] info : monit: generated unique Monit id
5e4c7ec58230765258661fbb85ade1a5 and stored to '/var/lib/monit/id'
[MSK Dec 9 20:15:52] info : Starting monit daemon
[MSK Dec 9 20:15:52] error : State file '/var/lib/monit/state': Unable to
read magic
[MSK Dec 9 20:15:52] info : 'system_ubuntu' Monit started
[MSK Dec 9 20:16:26] info : monit daemon with pid [1547] killed
[MSK Dec 9 20:16:26] info : 'system_ubuntu' Monit stopped
[MSK Dec 9 20:16:26] info : Starting monit daemon
[MSK Dec 9 20:16:26] info : 'system_ubuntu' Monit started
** Changed in: monit (Ubuntu)
Status: Confirmed => Invalid
--
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