Re: [Bug 1017327] Re: Monit 5.3.2 not working on Ubuntu 12.04 x86_64

2014-02-11 Thread Sergey B Kirpichev
On Sat, Feb 08, 2014 at 11:55:16PM -, Thom Luxford wrote:
 I've determined that even with the HTTPD interface enabled it is not
 available immediately and one must wait a few minutes on 12.04 Ubuntu 
 installs.

In general, if you don't restart monit every few minites - you
want this to be enabled.

But by default this is turned off since commit 3fae71b:
http://anonscm.debian.org/gitweb/?p=collab-maint/monit.git;a=commitdiff;h=3fae71b

 This was confusing because:
 On version 10.04 Ubuntu installations of monit, the HTTPD interface comes
 online immediately and does not wait for:
 with start delay num
 On version 12.04 Ubuntu installations of monit, the HTTPD interface waits
 for
 with start delay num

There is no with start delay option enabled by
default since 1:5.2.4-4.  The only reason to wait may
be /etc/monit/monit_delay file (again, it doesn't exists by default).

 On Sat, Feb 8, 2014 at 8:10 AM, Sergey B Kirpichev 
 1017...@bugs.launchpad.net wrote:
 
   Have tried reinstalling monit
 
  Please, try to read monit documentaion and configure monit accordingly:
  http://mmonit.com/monit/documentation/monit.html
 
  In the default setup - monit's httpd interface is not enabled.  That's
  why monit status doesn't work.
 
 
  ** Changed in: monit (Ubuntu)
 Status: Confirmed = Invalid
 
  ** Changed in: monit (Ubuntu)
   Assignee: (unassigned) = Sergey B Kirpichev (skirpichev)
 
  --
  You received this bug notification because you are subscribed to the bug
  report.
  https://bugs.launchpad.net/bugs/1017327
 
  Title:
Monit 5.3.2 not working on Ubuntu 12.04 x86_64
 
  Status in monit package in Ubuntu:
Invalid
 
  Bug description:
I have monit working on several servers but when I install it on
Ubuntu 12.04 64-bit server I get the following error reported in the
log file and monitoring doesn't work.
 
[EDT Jun 24 21:26:20] error: State file '/var/lib/monit/state':
Unable to read magic
 
I installed monit with apt-get install monit and the version is 5.3.2
 
  To manage notifications about this bug go to:
  https://bugs.launchpad.net/ubuntu/+source/monit/+bug/1017327/+subscriptions
 
 
 
 -- 
 +
 @ThomLuxford
 
 Do you want me to rush the rush job I am rushing now, or rush the rush job
 you wanted me to rush, before I rush the rush job I'm rushing now, or rush
 the rush job I was rushing before?
 
 -- 
 You received this bug notification because you are subscribed to the bug
 report.
 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

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1017327] Re: Monit 5.3.2 not working on Ubuntu 12.04 x86_64

2014-02-08 Thread Sergey B Kirpichev
 Have tried reinstalling monit

Please, try to read monit documentaion and configure monit accordingly:
http://mmonit.com/monit/documentation/monit.html

In the default setup - monit's httpd interface is not enabled.  That's
why monit status doesn't work.


** Changed in: monit (Ubuntu)
   Status: Confirmed = Invalid

** Changed in: monit (Ubuntu)
 Assignee: (unassigned) = Sergey B Kirpichev (skirpichev)

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1017327] Re: Monit 5.3.2 not working on Ubuntu 12.04 x86_64

2014-02-08 Thread Thom Luxford
I've determined that even with the HTTPD interface enabled it is not
available immediately and one must wait a few minutes on 12.04 Ubuntu
installs.

This was confusing because:
On version 10.04 Ubuntu installations of monit, the HTTPD interface comes
online immediately and does not wait for:
with start delay num
On version 12.04 Ubuntu installations of monit, the HTTPD interface waits
for
with start delay num


On Sat, Feb 8, 2014 at 8:10 AM, Sergey B Kirpichev 
1017...@bugs.launchpad.net wrote:

  Have tried reinstalling monit

 Please, try to read monit documentaion and configure monit accordingly:
 http://mmonit.com/monit/documentation/monit.html

 In the default setup - monit's httpd interface is not enabled.  That's
 why monit status doesn't work.


 ** Changed in: monit (Ubuntu)
Status: Confirmed = Invalid

 ** Changed in: monit (Ubuntu)
  Assignee: (unassigned) = Sergey B Kirpichev (skirpichev)

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1017327

 Title:
   Monit 5.3.2 not working on Ubuntu 12.04 x86_64

 Status in monit package in Ubuntu:
   Invalid

 Bug description:
   I have monit working on several servers but when I install it on
   Ubuntu 12.04 64-bit server I get the following error reported in the
   log file and monitoring doesn't work.

   [EDT Jun 24 21:26:20] error: State file '/var/lib/monit/state':
   Unable to read magic

   I installed monit with apt-get install monit and the version is 5.3.2

 To manage notifications about this bug go to:
 https://bugs.launchpad.net/ubuntu/+source/monit/+bug/1017327/+subscriptions



-- 
+
@ThomLuxford

Do you want me to rush the rush job I am rushing now, or rush the rush job
you wanted me to rush, before I rush the rush job I'm rushing now, or rush
the rush job I was rushing before?

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1017327] Re: Monit 5.3.2 not working on Ubuntu 12.04 x86_64

2013-04-19 Thread Thom Luxford
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 ?S14:54   0:00 /usr/bin/monit 
-c /etc/monit/monitrc
root  3545  0.0  0.0   9380   916 pts/0S+   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-1utility 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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1017327] Re: Monit 5.3.2 not working on Ubuntu 12.04 x86_64

2013-02-04 Thread rintcius
But this line in the log is confusing:

[MSK Dec 9 20:15:52] error : State file '/var/lib/monit/state': Unable
to read magic

It *may* be that monit is working ok, but it also may be crucial that monit is 
able to read that magic.
Can this message be safely ignored?

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1017327] Re: Monit 5.3.2 not working on Ubuntu 12.04 x86_64

2013-02-04 Thread Sergey B Kirpichev
 But this line in the log is confusing:
 [MSK Dec 9 20:15:52] error : State file '/var/lib/monit/state': Unable
 to read magic

Confusing != monitoring doesn't work.

 Can this message be safely ignored?

In your case, probably yes.  See example:
https://bugs.launchpad.net/ubuntu/+source/monit/+bug/1017327/comments/2

I think it's ok to see this message once, at first startup.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1017327] Re: Monit 5.3.2 not working on Ubuntu 12.04 x86_64

2012-12-09 Thread Sergey B Kirpichev
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1017327] Re: Monit 5.3.2 not working on Ubuntu 12.04 x86_64

2012-07-02 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: monit (Ubuntu)
   Status: New = 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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs