Error Starting Argus Daemon
Carter Bullard
carter at qosient.com
Fri Jan 25 08:49:06 EST 2013
Hey Neal,
Hmmmmm, well this is not correct behavior, and not at all reasonable.
But we need to get to a known state to proceed.
You do not need the -F, as argus will find /etc/argus.conf.
Instead can you run this ?
argus -X -D8
Hopefully this will behave in a basic defined fashion.
Carter
On Jan 25, 2013, at 6:04 AM, Neal Welland <n.welland at warwick.ac.uk> wrote:
> Good morning,
>
> We are using gcc (v4.6.3).
>
> I changed argus.conf to have ARGUS_DAEMON=no.
>
> I then re-ran argus with: /opt/csw/bin/sudo /usr/local/sbin/argus -D 8 -F /etc/argus.conf
>
> The command line output looks the same to me:
>
> argus[8482.01000000]: 25 Jan 13 10:56:21.040188 ArgusCalloc (1, 1772) returning 80c10a8
> argus[8482.01000000]: 25 Jan 13 10:56:21.040885 ArgusNewModeler() returning 80c10a8
> argus[8482.01000000]: 25 Jan 13 10:56:21.048545 ArgusCalloc (1, 4227852) returning 80c4068
> argus[8482.01000000]: 25 Jan 13 10:56:21.048624 ArgusNewSource(80c10a8) returning 80c4068
> argus[8482.01000000]: 25 Jan 13 10:56:21.048720 ArgusCalloc (1, 196) returning 84cc380
> argus[8482.01000000]: 25 Jan 13 10:56:21.048738 ArgusCalloc (1, 88) returning 84cc450
> argus[8482.01000000]: 25 Jan 13 10:56:21.048749 ArgusNewQueue () returning 84cc450
> argus[8482.01000000]: 25 Jan 13 10:56:21.048759 ArgusCalloc (1, 80) returning 84cc4b0
> argus[8482.01000000]: 25 Jan 13 10:56:21.048770 ArgusNewList () returning 84cc4b0
> argus[8482.01000000]: 25 Jan 13 10:56:21.048781 ArgusCalloc (1, 80) returning 84cc508
> argus[8482.01000000]: 25 Jan 13 10:56:21.048791 ArgusNewList () returning 84cc508
> argus[8482.01000000]: 25 Jan 13 10:56:21.048801 ArgusNewOutput() returning retn 84cc380
> argus[8482.01000000]: 25 Jan 13 10:56:21.050151 setArgusMarReportInterval(60) returning
> argus[8482.01000000]: 25 Jan 13 10:56:21.097886 setArgusID(80c4084, 0x89cd5bc0) done
> argus[8482.01000000]: 25 Jan 13 10:56:21.097959 setArgusPortNum(561) returning
> argus[8482.01000000]: 25 Jan 13 10:56:21.097981 clearArgusDevice(80c4068) returning
> argus[8482.01000000]: 25 Jan 13 10:56:21.097993 ArgusCalloc (1, 80) returning 84d1370
> argus[8482.01000000]: 25 Jan 13 10:56:21.098005 ArgusNewList () returning 84d1370
> argus[8482.01000000]: 25 Jan 13 10:56:21.098663 ArgusCalloc (1, 40) returning 84d2410
> argus[8482.01000000]: 25 Jan 13 10:56:21.098689 ArgusPushFrontList (84d1370, 84d2410, 1) returning fee22a00
> argus[8482.01000000]: 25 Jan 13 10:56:21.098706 setArgusDevice(nxge0) returning
> argus[8482.01000000]: 25 Jan 13 10:56:21.098731 ArgusDeleteList (0, 2) returning
> argus[8482.01000000]: 25 Jan 13 10:56:21.098742 ArgusCalloc (1, 80) returning 84d13c8
> argus[8482.01000000]: 25 Jan 13 10:56:21.098753 ArgusNewList () returning 84d13c8
> argus[8482.01000000]: 25 Jan 13 10:56:21.098762 ArgusCalloc (1, 12) returning 84d1d80
> argus[8482.01000000]: 25 Jan 13 10:56:21.098772 ArgusPushFrontList (84d13c8, 84d1d80, 1) returning fee22a00
> argus[8482.01000000]: 25 Jan 13 10:56:21.098797 setArgusMarReportInterval(60) returning
>
> And the error in /var/adm/messages was:
>
> Jan 25 10:56:21 cachi argus[8482]: [ID 104005 daemon.error] 25 Jan 13 10:56:21.115960 ArgusInitOutput() pthread_create error Not owner
>
> Regards, Neal.
>
> On 24/01/13 23:49, Carter Bullard wrote:
>> Hey Neal,
>> In your argus.conf, turn off ARGUS_DAEMON, and lets see what is going on. Need this as we may have to run argus using a debugger.
>>
>> Are you using gcc or a native Solaris compiler?
>>
>> Carter
>>
>> On Jan 24, 2013, at 8:47 AM, Neal Welland <n.welland at warwick.ac.uk> wrote:
>>
>>> Hey,
>>>
>>> I forgot to say, the same error message still appears in /var/adm/messages:
>>>
>>> Jan 24 16:44:54 cachi argus[22691]: [ID 767016 daemon.warning] 24 Jan 13 16:44:54.831045 started
>>> Jan 24 16:44:54 cachi argus[22691]: [ID 399005 daemon.error] 24 Jan 13 16:44:54.835806 ArgusInitOutput() pthread_create error Not owner
>>> Jan 24 16:44:54 cachi argus[22691]: [ID 711720 daemon.warning] 24 Jan 13 16:44:54.835946 stopped
>>>
>>> Regards, Neal.
>>>
>>> On 24/01/13 16:33, Carter Bullard wrote:
>>>> Hey Neal,
>>>> Where is the error ?
>>>> Carter
>>>>
>>>> Carter Bullard, QoSient, LLC
>>>> 150 E. 57th Street Suite 12D
>>>> New York, New York 10022
>>>> +1 212 588-9133 Phone
>>>> +1 212 588-9134 Fax
>>>>
>>>> On Jan 24, 2013, at 4:20 AM, Neal Welland <n.welland at warwick.ac.uk> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Here is the output from the argus daemon compiled with debug:
>>>>>
>>>>> $ /opt/csw/bin/sudo /usr/local/sbin/argus -D 8 -F /etc/argus.conf
>>>>> Password:
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.186486 ArgusCalloc (1, 1772) returning 80c10a8
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.186926 ArgusNewModeler() returning 80c10a8
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193539 ArgusCalloc (1, 4227852) returning 80c4068
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193580 ArgusNewSource(80c10a8) returning 80c4068
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193667 ArgusCalloc (1, 196) returning 84cc380
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193684 ArgusCalloc (1, 88) returning 84cc450
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193695 ArgusNewQueue () returning 84cc450
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193704 ArgusCalloc (1, 80) returning 84cc4b0
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193715 ArgusNewList () returning 84cc4b0
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193725 ArgusCalloc (1, 80) returning 84cc508
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193735 ArgusNewList () returning 84cc508
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193745 ArgusNewOutput() returning retn 84cc380
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.193767 setArgusMarReportInterval(60) returning
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.202579 setArgusID(80c4084, 0x89cd5bc0) done
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.202626 setArgusPortNum(561) returning
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.202646 clearArgusDevice(80c4068) returning
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.202657 ArgusCalloc (1, 80) returning 84d1370
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.202668 ArgusNewList () returning 84d1370
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.203142 ArgusCalloc (1, 40) returning 84d2410
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.203161 ArgusPushFrontList (84d1370, 84d2410, 1) returning fee22a00
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.203176 setArgusDevice(nxge0) returning
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.203200 ArgusDeleteList (0, 2) returning
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.203210 ArgusCalloc (1, 80) returning 84d13c8
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.203220 ArgusNewList () returning 84d13c8
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.203230 ArgusCalloc (1, 12) returning 84d1d80
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.203240 ArgusPushFrontList (84d13c8, 84d1d80, 1) returning fee22a00
>>>>> argus[3959.01000000]: 24 Jan 13 09:14:49.203265 setArgusMarReportInterval(60) returning
>>>>>
>>>>>
>>>>> Regards, Neal.
>>>>>
>>>>>
>>>>> On 23/01/13 19:16, Carter Bullard wrote:
>>>>>> Actually no, this is a new one.
>>>>>> If you can compile with debug support, and then run with the -D 8 option we should be able to find out something.
>>>>>>
>>>>>> In your argus root directory:
>>>>>> % touch .debug
>>>>>> % ./configure
>>>>>> % make clobber
>>>>>> % make
>>>>>>
>>>>>> And then run argus, with "-D 8" option, but not in daemon mode.
>>>>>> That should tell us what its doing.
>>>>>>
>>>>>> Carter
>>>>>>
>>>>>> Carter Bullard, QoSient, LLC
>>>>>> 150 E. 57th Street Suite 12D
>>>>>> New York, New York 10022
>>>>>> +1 212 588-9133 Phone
>>>>>> +1 212 588-9134 Fax
>
>
>
More information about the argus
mailing list