[Xymon] Xymonlaunch pid file location error

Mark Sweeba xserv4real at hotmail.com
Wed Feb 6 12:51:58 CET 2013



Hello
Hobbit Devels
I have been
working on getting Xymon to work on Raspberry Pi, but ran into some trouble
with xymonlaunch. And reloading the config file.
It seems
that the xymonlaunch does not correctly read tasks.cfg for the XYMONSERVERLOGS env
variable, because trying to change the directory from default to another, I wanted
to update configuration. Using “sudo service xymon reload” which starts the
reload script, but gives the error: 

----[info]
Reloading xymond config.cat:
/var/run/xymon/xymond.pid: No such file or directory/etc/init.d/xymon:
91: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... orkill -l
[exitstatus]----
Which made
me look into xymonlaunch and found it uses pidfile “--pidfile=/var/run/xymon/xymonlaunch.pid”
and this is not what is used by the ENV variable or anything I can find, but it
is however in the xymon.init ? shouldn’t this change from the tasks.cfg file?
Also made
the gdb trace, but I am not sure this the relative to the problem.

---------Reading
symbols from /usr/lib/xymon/server/bin/xymond...(no debugging symbols found)...done.[New LWP
3996][Thread
debugging using libthread_db enabled]Using host
libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".Core was
generated by `xymond --pidfile=/var/log/xymon/xymond.pid
--restart=/usr/lib/xymon/server/tmp/'.Program
terminated with signal 6, Aborted.#0  0xb6c12bfc in raise () from
/lib/arm-linux-gnueabihf/libc.so.6(gdb) bt#0  0xb6c12bfc in raise () from
/lib/arm-linux-gnueabihf/libc.so.6#1  0xb6c1697c in abort () from
/lib/arm-linux-gnueabihf/libc.so.6#2  0x00009304 in ?? ()#3  0x00009304 in ?? ()Backtrace
stopped: previous frame identical to this frame (corrupt stack?)(gdb) quit--------- 

Kind regards
Mark 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130206/961d95fd/attachment.html>


More information about the Xymon mailing list