Argus / bonding exits

carter at qosient.com carter at qosient.com
Wed Jun 9 18:22:17 EDT 2010


Hey Torbjorn,
If you turn off the PID file in the argus.conf file, does it get any further?
Carter 

Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Torbjorn.Wictorin at its.uu.se
Date: Wed, 9 Jun 2010 21:50:41 
To: Argus<argus-info at lists.andrew.cmu.edu>
Subject: [ARGUS] Argus / bonding exits

hello,

using latest argus-3.0.3.11 under debian/lenny on a intel xeon 64-bit 
machine, libpcap=0.9.8-5. Trying bonding interfaces eth1 & eth2.

Argus with only one of these two works. Argus with
-i bond:eth1,eth2
or
-i eth1 eth2
just starts and stops.

giving in syslog
ArgusOpenInterface: pcap_open_live SIOCGIFHWADDR: No such device

Tried recompiling after adding .debug. Now:

argus[4884.e0e631cdab7f0000]: 09 Jun 10 21:27:11.397694 ArgusNewSource() 
returning 0xcbca9010
argus[4884.e0e631cdab7f0000]: 09 Jun 10 21:27:11.397707 ArgusNewOutput() 
returning retn 0x75b540
argus[4884]: argus[4884.e0e631cdab7f0000]: 09 Jun 10 21:27:11.397809 
setArgusID(0xcbca9040, 0x82ee06f4) done
argus[4884]: argus[4884.e0e631cdab7f0000]: 09 Jun 10 21:27:11.397842 
setArgusID(0xcbca9040, 0x82ee06f4) done
argus[4884]: argus[4884.e0e631cdab7f0000]: 09 Jun 10 21:27:11.397854 
setArgusID(0xcbca9040, 0x82ee06f4) done
argus[4884]: argus[4884.e0e631cdab7f0000]: 09 Jun 10 21:27:11.456409 
setArgusInterfaceStatus(1)

and in syslog:

Jun  9 21:27:11 argus[4884]: argus[4884.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.397809 setArgusID(0xcbca9040, 0x82ee06f4) done
Jun  9 21:27:11 argus[4884]: argus[4884.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.397842 setArgusID(0xcbca9040, 0x82ee06f4) done
Jun  9 21:27:11 argus[4884]: argus[4884.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.397854 setArgusID(0xcbca9040, 0x82ee06f4) done
Jun  9 21:27:11 argus[4884]: argus[4884.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.456409 setArgusInterfaceStatus(1)
Jun  9 21:27:11 argus[4885]: 09 Jun 10 21:27:11.456625 started
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.456855 ArgusInitOutput() done
Jun  9 21:27:11 argus[4885]: argus[4885.50795d4200000000]: 09 
Jun 10 21:27:11.456875 ArgusOutputProcess(0x75b540) starting
Jun  9 21:27:11 argus[4885]: 09 Jun 10 21:27:11.456904 started
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.456919 ArgusCreatePIDFile(/log, argus) pidpath is /log
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.456929 getArgusDevice() returning bond:eth1,eth2
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun  9 21:27:11 argus[4884]: argus[4884.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.456409 setArgusInterfaceStatus(1)
Jun  9 21:27:11 argus[4885]: 09 Jun 10 21:27:11.456625 started
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.456855 ArgusInitOutput() done
Jun  9 21:27:11 argus[4885]: argus[4885.50795d4200000000]: 09 
Jun 10 21:27:11.456875 ArgusOutputProcess(0x75b540) starting
Jun  9 21:27:11 argus[4885]: 09 Jun 10 21:27:11.456904 started
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.456919 ArgusCreatePIDFile(/log, argus) pidpath is /log
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.456929 getArgusDevice() returning bond:eth1,eth2
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.456989 ArgusCreatePIDFile(0x75b6c0, 0x30a26dbf) returning 
/log/argus.bond:eth1,eth2 .0.pid
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.457014 ArgusCloneSource() returning 0xcb89e010
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.458986 ArgusInitModeler() done
Jun  9 21:27:11 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:11.459004 ArgusInitSource() returning
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459311 main() ArgusSourceProcess returned: shuting down
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459360 ArgusShutDown(Normal Shutdown)#012
1:27:12.459380 ArgusCloseSource(0xcbca9010) starting
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459414 ArgusCloseModeler(0x75c990) pushing close record 
0x75d5d0
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459435 ArgusCloseModeler(0x75c990)
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459447 ArgusCloseSource(0xcbca9010) deleting source
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459457 ArgusCloseEvents() done
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459467 ArgusCloseModeler(0x75b010)
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459478 ArgusCloseOutput() scheduling closure after 0 
records
Jun  9 21:27:12 argus[4885]: argus[4885.50795d4200000000]: 09 
Jun 10 21:27:12.459489 ArgusOutputProcess() shuting down 0
Jun  9 21:27:12 argus[4885]: argus[4885.50795d4200000000]: 09 
Jun 10 21:27:12.459521 ArgusOutputProcess() exiting
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459592 ArgusCloseOutput(0x75b540) done
Jun  9 21:27:12 argus[4885]: 09 Jun 10 21:27:12.459665 stopped
Jun  9 21:27:12 argus[4885]: argus[4885.e0e631cdab7f0000]: 09 
Jun 10 21:27:12.459679 ArgusShutDown()

Tried strace, does not say so much interesting, just noted:

4899  stat("/log/argus.bond:eth1,eth2 .0.pid", 0x7fff42adcd60) = -1 ENOENT (No such file or directory)
it seems to add a blank after "eth2"

and 
4899  futex(0x7fff42adcd50, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
4900  --- SIGRT_1 (Unknown signal 33) @ 0 (0) ---
4900  setuid(0)                         = 0
4900  futex(0x7fff42adcd50, FUTEX_WAKE_PRIVATE, 1) = 1
4899  <... futex resumed> )             = 0

Note the 'Unknown signal 33'


Any idéas?

Torbjörn Wictorin, Uppsala univ.




More information about the argus mailing list