Upgraded to 4.0.2 this morning and while most everything went smoothly, a couple of things did not. Not sure if these two are related just yet.
ack:
Cannot acknowledge an alert using the cookie from either the subject line of the email alert or the command line (~/server/bin/bb 127.0.0.1 "hobbitdboard host=secret.nandomedia.com test=conn fields=hostname,testname,cookie").
Strangely enough, it seems teh cookies are still being regenerated frequently, instead of remaining valid for 24 hours (like I thought the latest patch did).
[bb at radm202p ext]$ ~/server/bin/bb 127.0.0.1 "hobbitdboard host=secret.nandomedia.com test=conn fields=hostname,testname,cookie" secret.nandomedia.com|conn|402332 [bb at radm202p ext]$ ~/server/bin/bb 127.0.0.1 "hobbitdack 402332 30 using command line ack for 402332" [bb at radm202p ext]$ tail ~/data/acks/acklog [bb at radm202p ext]$ tail ~/log/hobbitd.log 2005-04-11 09:05:24 How did this happen? clients=0, s.sem_op=0 2005-04-11 09:05:34 Setup complete 2005-04-11 09:08:28 How did this happen? clients=0, s.sem_op=0 2005-04-11 09:08:38 Setup complete 2005-04-11 09:40:34 Cookie 87973 not found, dropping ack 2005-04-11 09:41:38 Cookie 587666 not found, dropping ack 2005-04-11 09:54:35 Cookie 587666 not found, dropping ack 2005-04-11 09:55:45 Cookie 873795 not found, dropping ack 2005-04-11 09:56:33 Cookie 873795 not found, dropping ack 2005-04-11 10:06:29 Cookie 402332 not found, dropping ack [bb at radm202p ext]$
Trying to disable the same system via the disable CGI didn't work either. The script stops at "Processing" and the system is not disabled.
This is what I see in /var/log/httpd/error_log
[Mon Apr 11 09:59:25 2005] [error] [client 10.1.1.20] [Mon Apr 11 09:59:25 2005] maint.pl: Use of uninitialized value in pattern match (m//) at /home/bb/cgi-secure/maint.pl line 222.
Tom Georgoulias wrote:
Upgraded to 4.0.2 this morning and while most everything went smoothly, a couple of things did not. Not sure if these two are related just yet.
ack:
Cannot acknowledge an alert using the cookie from either the subject line of the email alert or the command line (~/server/bin/bb 127.0.0.1 "hobbitdboard host=secret.nandomedia.com test=conn fields=hostname,testname,cookie").
I reverted back to 4.0 plus some patches and acknowledgements are working again. I'm going to have to stay there until I get a handle on why 4.0.2 didn't work.
I'm still having problems with maint.pl, so I'm thinking that this could be a problem with my webserver. I'm still checking that angle.
Tom
Tom Georgoulias wrote:
I reverted back to 4.0 plus some patches and acknowledgements are working again. I'm going to have to stay there until I get a handle on why 4.0.2 didn't work.
Can someone confirm that acknowledgements are working for them in 4.0.2? It'd make me feel better if I knew it was something definitely on my end, or a problem that other shares. Misery loves company. :)
I'm still having problems with maint.pl, so I'm thinking that this could be a problem with my webserver. I'm still checking that angle.
I still don't have this fixed and I'm in need of some guidance or a push in a new direction. My brain is slowing down.
In my apache logs, I see all sorts of message like these 3:
xgetenv: Cannot find value for variable BBGENOPTS
Use of uninitialized value in pattern match (m//) at /home/bb/cgi-secure/maint.pl line 217., referer: http://secret.nandomedia.com/hobbit-seccgi/maint.pl
maint.pl: Use of uninitialized value in pattern match (m//) at /home/bb/cgi-secure/maint.pl line 217., referer: http://secret.nandomedia.com/hobbit-seccgi/bb-ack.sh
In hobbitserver.cfg, BBGENOPTS is defined as hobbitserver.cfg:BBGENOPTS="--recentgifs --subpagecolumns=2"
Any ideas? I tried turing on debugging in maint.pl and checking out line 217 (or 222, which comes up sometimes in error_log), but I don't know enough about perl to really do anything useful with what I've found on the maint.pl webpage in debugging mode.
Tom
On Mon, Apr 11, 2005 at 04:14:05PM -0400, Tom Georgoulias wrote:
Tom Georgoulias wrote:
I reverted back to 4.0 plus some patches and acknowledgements are working again. I'm going to have to stay there until I get a handle on why 4.0.2 didn't work.
Can someone confirm that acknowledgements are working for them in 4.0.2? It'd make me feel better if I knew it was something definitely on my end, or a problem that other shares. Misery loves company. :)
Ack's are not working in 4.0.2. Sometimes it's amazing how much can go wrong in a one-line fix ... when I did the "make cookies valid for 24 hours" for 4.0.2, I forgot to include the current time in that, so cookies are actually set to expire on Jan 2nd 1970 - a loong time ago... (about when I started in kindergarten, actually).
Patch attached. Sorry.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
tgeorgoulias@mcclatchy.com