<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div dir="ltr"><br><p class="ecxMsoNormal"><span style="" lang="EN-US">Hello<br>Hobbit Devels</span></p><br><p class="ecxMsoNormal"><span style="" lang="EN-US">I have been<br>working on getting Xymon to work on Raspberry Pi, but ran into some trouble<br>with xymonlaunch. And reloading the config file.</span></p><span style="" lang="EN-US"></span><br><p class="ecxMsoNormal"><span style="" lang="EN-US">It seems<br>that the xymonlaunch does not correctly read tasks.cfg for the XYMONSERVERLOGS env<br>variable, because trying to change the directory from default to another, I wanted<br>to update configuration. Using “sudo service xymon reload” which starts the<br>reload script, but gives the error: </span></p><br><br><p class="ecxMsoNormal"><span style="" lang="EN-US">----</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">[info]<br>Reloading xymond config.</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">cat:<br>/var/run/xymon/xymond.pid: No such file or directory</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">/etc/init.d/xymon:<br>91: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">kill -l<br>[exitstatus]</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">----</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US"><br></span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">Which made<br>me look into xymonlaunch and found it uses pidfile “--pidfile=/var/run/xymon/xymonlaunch.pid”<br>and this is not what is used by the ENV variable or anything I can find, but it<br>is however in the xymon.init ? shouldn’t this change from the tasks.cfg file?</span></p><br><p class="ecxMsoNormal"><span style="" lang="EN-US">Also made<br>the gdb trace, but I am not sure this the relative to the problem.</span></p><br><br><p class="ecxMsoNormal"><span style="" lang="EN-US">---------</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">Reading<br>symbols from /usr/lib/xymon/server/bin/xymond...(no debugging symbols found)...done.</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">[New LWP<br>3996]</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">[Thread<br>debugging using libthread_db enabled]</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">Using host<br>libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">Core was<br>generated by `xymond --pidfile=/var/log/xymon/xymond.pid<br>--restart=/usr/lib/xymon/server/tmp/'.</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">Program<br>terminated with signal 6, Aborted.</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">#0<span style="">  </span>0xb6c12bfc in raise () from<br>/lib/arm-linux-gnueabihf/libc.so.6</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">(gdb) bt</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">#0<span style="">  </span>0xb6c12bfc in raise () from<br>/lib/arm-linux-gnueabihf/libc.so.6</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">#1<span style="">  </span>0xb6c1697c in abort () from<br>/lib/arm-linux-gnueabihf/libc.so.6</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">#2<span style="">  </span>0x00009304 in ?? ()</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">#3<span style="">  </span>0x00009304 in ?? ()</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">Backtrace<br>stopped: previous frame identical to this frame (corrupt stack?)</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">(gdb) quit</span></p><p class="ecxMsoNormal"><span style="" lang="EN-US">---------</span></p><p class="ecxMsoNormal"><b><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:gray" lang="EN-US"> </span></b></p><br><br><p class="ecxMsoNormal"><b><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:gray">Kind regards</span></b><span style="font-size:12.0pt;font-family:"Times New Roman","serif""></span></p><br><b><span style="font-size:8.0pt;font-family:"Tahoma","sans-serif";color:gray">Mark</span></b>                                           </div>                                    </div></body>
</html>