[hobbit] Hobbit 4.02 and Patches..

lars ebeling dhd733 at yahoo.se
Wed Apr 20 09:24:59 CEST 2005



Henrik Stoerner <henrik at hswn.dk> wrote: 

I've seen your report about this, but haven't had much time to follow
up on it. 

When exactly does the system "hang" as you describe - when you click
the "Apply" button on the disable form ? Or before the form ever
appears ?


When I click on Apply or OK on password form


Does it hang also if you use the disable function from the "info"
column page ? 


Only from info column page


If you do a "ps" listing of the processes spawned by Apache, is there
a "hobbit-enadis" CGI running when this happens ? If there is, could
you add "--debug" to the hobbit-enadis.cgi command in
~/cgi-secure/hobbit-enadis.sh and let me know what that reports when
you hit the "Apply" button ? 


Nothing, only hangs!


Also, you can try killing the hobbit-enadis process when it hangs with
a "kill -6 PID" - that should make it core-dump, although I'm not
quite sure where this core file ends up since it runs as a CGI
script. You may have to add a "cd /tmp" in the hobbit-enadis.sh CGI
wrapper to get it to core-dump in /tmp. If you find such a dump, it
would be interesting if you could get the stacktrace:

Core was generated by éhobbit-enadis'.                                         
Program terminated with signal 6, Aborted.                                     
                                                                               
warning: The shared libraries were not privately mapped; setting a             
breakpoint in a shared library will not work until you rerun the program.      
                                                                               
Reading symbols from /usr/local/lib/libpcre.sl.0...done.                       
Reading symbols from /usr/local/lib/libgcc_s.sl...done.                        
Reading symbols from /usr/lib/libnsl.1...done.                                 
Reading symbols from /usr/lib/libxti.2...done.                                 
Reading symbols from /usr/lib/libc.2...done.                                   
Reading symbols from /usr/lib/libdld.2...done.                                 
#0  0xc02003e0 in _read_sys () from /usr/lib/libc.2                            
(gdb) bt                                                                       
#0  0xc02003e0 in _read_sys () from /usr/lib/libc.2                            
#1  0xc020afdc in read () from /usr/lib/libc.2                                 
#2  0xc01edf64 in _filbuf () from /usr/lib/libc.2                              
#3  0xc01eda7c in __fgets_unlocked () from /usr/lib/libc.2                     
#4  0xc01edc74 in fgets () from /usr/lib/libc.2                                
#5  0x00003364 in parse_post () at hobbit-enadis.c:155                         
#6  0x00003a04 in main (argc=2, argv=0x7f7e0578) at hobbit-enadis.c:231        
(gdb)                                                                          


Regards

Lars




Hobbithobbyist

"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050420/c6191720/attachment.html>


More information about the Xymon mailing list