Xymon Mailing List Archive search

Upgrade to 4.2.0, conn all read

4 messages in this thread

list Matthew Daubenspeck · Mon, 14 Aug 2006 09:31:12 -0400 ·
I just upgraded my main hobbit server to the new 4.2.0 and now all of
the conn tests go red. I have manually tested the fping command and that
does work. There are no logs created other then hobbitlaunch.log and
that doesn't have anything about the failure.

4.1.2pl2 worked fine and nothing was changed from when it was upgraded.
Any suggestions?
-- 
  Matthew Daubenspeck
  http://www.oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165
09:29:21 up 94 days, 18:13, 1 user, load average: 0.37, 0.16, 0.05
list Henrik Størner · Mon, 14 Aug 2006 17:15:05 +0200 ·
quoted from Matthew Daubenspeck
On Mon, Aug 14, 2006 at 09:31:12AM -0400, Matthew Daubenspeck wrote:
I just upgraded my main hobbit server to the new 4.2.0 and now all of
the conn tests go red. I have manually tested the fping command and that
does work. There are no logs created other then hobbitlaunch.log and
that doesn't have anything about the failure.
If only hobbitlaunch.log is created, then it is failing to start the
main hobbitd process. In which case your webpages are not being updated,
the network tests stop running, and life in general is miserable.
quoted from Matthew Daubenspeck
4.1.2pl2 worked fine and nothing was changed from when it was upgraded.
Any suggestions?
Sounds like shared memory/semaphore IPC problems to me.  What's in the
hobbitlaunch.log file ?


Henrik
list Matthew Daubenspeck · Mon, 14 Aug 2006 11:26:36 -0400 ·
quoted from Henrik Størner
On Mon, Aug 14, 2006 at 05:15:05PM +0200, Henrik Stoerner wrote:
On Mon, Aug 14, 2006 at 09:31:12AM -0400, Matthew Daubenspeck wrote:
I just upgraded my main hobbit server to the new 4.2.0 and now all of
the conn tests go red. I have manually tested the fping command and that
does work. There are no logs created other then hobbitlaunch.log and
that doesn't have anything about the failure.
If only hobbitlaunch.log is created, then it is failing to start the
main hobbitd process. In which case your webpages are not being updated,
the network tests stop running, and life in general is miserable.
4.1.2pl2 worked fine and nothing was changed from when it was upgraded.
Any suggestions?
Sounds like shared memory/semaphore IPC problems to me.  What's in the
hobbitlaunch.log file ?
I believe I found the issue.

2006-08-14 10:52:58 Cannot open PID file /home/hobbit/logs/hobbitd.pid:
No such file or directory

Even though I set the log dir to /home/hobbit/log in ./configure, it
seems that make install won't overwrite hobbitserver.cfg with the new
setting (log vs logs). Should it? I must have mistyped it once and it
seems to have stuck.

Changing that manually and restarting solved the problem.
quoted from Matthew Daubenspeck

-- 
  Matthew Daubenspeck
  http://www.oddprocess.org

Gentoo Linux x86_64 Dual Core AMD Opteron(tm) Processor 165

11:24:31 up 94 days, 20:08, 1 user, load average: 0.03, 0.06, 0.02
list Henrik Størner · Mon, 14 Aug 2006 17:48:04 +0200 ·
quoted from Matthew Daubenspeck
On Mon, Aug 14, 2006 at 11:26:36AM -0400, Matthew Daubenspeck wrote:
Sounds like shared memory/semaphore IPC problems to me.  What's in the
hobbitlaunch.log file ?
I believe I found the issue.

2006-08-14 10:52:58 Cannot open PID file /home/hobbit/logs/hobbitd.pid:
No such file or directory

Even though I set the log dir to /home/hobbit/log in ./configure, it
seems that make install won't overwrite hobbitserver.cfg with the new
setting (log vs logs). Should it? I must have mistyped it once and it
seems to have stuck.
OK, that does explain it. No, "make install" won't overwrite an existing
hobbitserver.cfg. It will try to add new entries that aren't in the
existing file, but it will not change the existing entries (because
you may have modified them intentionally, and then "make install" 
shouldn't undo them without asking).


Regards,
Henrik