- edited description
Segfault on start
I just updated to 5.10 (it's not added as a version here in Bitbucket yet btw.) and I'm seeing segfaults when starting Monit with one or more process checks. The OS is Ubuntu 14.04. Here are my config files: https://gist.github.com/manuelmeurer/35491f9bb5b55c5a6c9e
When I comment out the last line in my monitrc (include /etc/monit.d/mysql
) Monit starts up properly. When I leave it in it seems to start and there is no output in the log, but the syslog says:
Nov 12 10:06:25 wp01 kernel: [6489412.175205] monit[11056]: segfault at 20 ip 000000000041e068 sp 00007fffb4c79960 error 4 in monit[400000+81000]
Comments (8)
-
reporter -
repo owner -
assigned issue to
-
assigned issue to
-
repo owner Will try to replicate the issue.
Please can you send the coredump (should be available in /var/crash/core/) and the monit binary?
Regarding the 5.10 on Bitbucket, we use tags for releases, 5.10 can be downloaded from Bitbucket in the "Tags" tab here: https://bitbucket.org/tildeslash/monit/downloads#tag-downloads
-
repo owner Unable to replicate the issue on Ubuntu 14.04 x64, using pre-compiled binary (http://www.mmonit.com/monit/dist/binary/5.10/monit-5.10-linux-x64.tar.gz) and also compiled from source.
Please can you send the mentioned coredump?
-
reporter Unfortunately a core dump is not created. I have enabled core dumps with
ulimit -c unlimited
and when I test it withsleep 10 & killall -SIGSEGV sleep
a core dump is created in
/var/crash
, but not when I start Monit... :( -
repo owner If no coredump is available, please can you run Monit this way and provide output?:
monit -vI
-
reporter I removed Monit including all folders (/var/lib/monit, /etc/monit.d etc.) once and reinstalled it, now it works again! No idea if the binary was maybe damaged? Anyways, I think it wasn't actually a bug but some external influence.
-
repo owner - changed status to resolved
ok, closing the issue :)
- Log in to comment