Error Starting Argus Daemon
Welland, Neal
N.Welland at warwick.ac.uk
Mon Jan 28 06:45:56 EST 2013
Good morning,
Apologies for the delay. Had to get gdb installed!
I eventually got argus to recompile with debugging symbols. I had to tweak bin/mkdep - it explicitly sets the PATH, but did not include the location of gcc on our installation!
Anyway, here is the output from the gdb session:
bash-3.2$ sudo /opt/csw/bin/gdb bin/argus
Password:
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /var/tmp/argus-3.0.4/bin/argus...done.
(gdb) break ArgusShutDown
Breakpoint 1 at 0x805a927: file argus.c, line 810.
(gdb) run -X
Starting program: /var/tmp/argus-3.0.4/bin/argus -X
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
[New LWP 2 ]
[Switching to Thread 1 (LWP 1)]
Breakpoint 1, ArgusShutDown (sig=1) at argus.c:810
810 ArgusShutDownFlag++;
(gdb) where
#0 ArgusShutDown (sig=1) at argus.c:810
#1 0x08085256 in ArgusLog (priority=3, fmt=0x809f62c "ArgusInitOutput() pthread_create error %s\n") at argus_util.c:1952
#2 0x08075419 in ArgusInitOutput (output=0x84c9a68) at ArgusOutput.c:381
#3 0x0805a766 in main (argc=2, argv=0x8047d40) at argus.c:614
(gdb)
I hope this helps pin-point the problem.
Regards, Neal.
-----Original Message-----
From: Carter Bullard [mailto:carter at qosient.com]
Sent: 25 January 2013 15:57
To: Welland, Neal
Cc: argus-info at lists.andrew.cmu.edu
Subject: Re: [ARGUS] Error Starting Argus Daemon
* PGP - S/MIME Signed by an unverified key: 25/01/2013 at 15:57:22
Hey Neal,
That is much better, although still perplexing. The " ArgusShutDown(SIGHUP) ", is a problem, and figuring that out is the next step.
Are you happy to run gdb() on this to see what is up? If so, compiling argus with the required debugging symbols, demands another recompile. In the argus distribution root directory:
% make clobber
% touch .devel
% ./configure
% make
Then starting argus in gdb() and setting it up, involves:
% sudo gdb bin/argus
(gdb) break ArgusShutDown
(gdb) run -X
Starting program: /Volumes/Users/carter/argus/argus/bin/argus -X
Breakpoint 1, ArgusShutDown (.....
(gdb)
When it breaks, I need to know where argus is, when it generates, the error, ..., so:
(gdb) where
If I can get the printout, that will help a great deal.
Carter
* Carter Bullard <carter at qosient.com>
* Issuer: "VeriSign - Unverified
More information about the argus
mailing list