Re: argus-server streaming return failed

Leon Lu <[email protected]> Tue, 27 Nov 2018 16:11:22 +0800
Newsgroups gmane.network.argus
Message-ID <CAGokiQO4F2GMTJqywDHw9Kd4bDeew1AePuTrmUqg0zBsa=cHWA@mail.gmail.com>
--000000000000788216057ba0fff7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Eric,
I tried the command (% sudo bin/argus -D4 -i eno3  -w argus-udp://a.b.c.d:1=
235)
, it works.
But it output close log when it running, then it still running.

argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652185 ArgusDeleteQueue
(0xc2af70) returning
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652190
ArgusModelerCleanUp (0x7fc307b3e010) returning
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652247
ArgusCloseModeler(0x7fc307b3e010) pushing close record 0x7fc300d633e0 as
rec 179
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652255
ArgusCloseModeler(0x7fc307b3e010) Total Sends 93883
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652261
ArgusCloseSource(0x7fc305b85010) done
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652267 ArgusDeleteList
(0xc1e3f0, 3) 0 items on list
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652273 ArgusDeleteList
(0xc1e3f0, 3) returning
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652281
ArgusModelerCleanUp (0x7fc307c91010) returning
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652287
ArgusCloseModeler(0x7fc307c91010) Total Sends 0
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652296
ArgusCloseSource(0x7fc3069a3010) done
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652302 ArgusCloseEvents()
done
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652307
ArgusModelerCleanUp (0x7fc307c91010) returning
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652312
ArgusCloseModeler(0x7fc307c91010) Total Sends 0
argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652318
ArgusCloseOutput(0xc1e0b0) scheduling closure after 179 records

so, the conclusion is,
if  the -D option is used. it works (seems close and auto restart).
if unused that it stop and output failed No such file or directory.

ms01005555 <[email protected]> =E6=96=BC 2018=E5=B9=B411=E6=9C=8822=E6=
=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8B=E5=8D=884:21=E5=AF=AB=E9=81=93=EF=BC=9A

> Thanks, I'll check it out.
>
> Eric Kinzie <[email protected]> =E6=96=BC 2018=E5=B9=B411=E6=9C=8821=E6=97=
=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=8810:13=E5=AF=AB=E9=81=93=EF=BC=9A
>
>> On Wed Nov 21 20:05:17 +0800 2018, ms01005555 wrote:
>> > Hi Eric,
>> >
>> > I'm using arugs-3.0.8.2 and argus-clients-3.0.8
>> >
>> > I installed by ./configure & make install,so it doesn't have
>> > /etc/argus.conf file.
>> > it just include  ./pkg/argus.conf  and ./support/Config/argus.conf in
>> argus
>> > directory.
>> >
>> > And, I also did that follow your command step, but it didn't run with
>> debug
>> > enabled(the .debug file have no error log).
>> >
>> > thanks,
>> > Leon
>>
>> > > To build with debugging:
>> > > % make clean
>> > > % touch .debug
>> > > % ./configure
>> > > % make
>> > >
>> > > And then run with debugging enbabled:
>> > > % sudo argus -D4 -i eno3  -w argus-udp://a.b.c.d:1235
>>
>> When the .debug file is present, the configure script will adjust
>> the compiler flags to enable debugging support in argus.  Debug
>> output will be sent to the terminal when the -D option is used.
>> If running argus from the build directory, it might be necessary
>> to adjust the sudo command to find the argus just compiled.  Maybe
>>
>> % sudo bin/argus -D4 -i eno3  -w argus-udp://a.b.c.d:1235
>>
>> You will see lots of output similar to
>>
>> argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.311763
>> ArgusNewModeler() returning 0x7f4694cf1010
>> argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312054
>> ArgusNewSource(0x7f4694cf1010) returning 0x7f465faa4010
>> argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312064 ArgusNewQueue (=
)
>> returning 0x1c1ab50
>> argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312070 ArgusNewList ()
>> returning 0x1c1abf0
>> argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312074 ArgusNewList ()
>> returning 0x1c1ac90
>> argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312078 ArgusNewOutput(=
)
>> returning retn 0x1c1a0d0
>> argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312125
>> setArgusMarReportInterval(60) returning
>>
>>

--000000000000788216057ba0fff7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">Hi Eric=
,<div>I tried the command (% sudo bin/<span class=3D"gmail-il">argus</span>=
=C2=A0-D4 -i eno3=C2=A0 -w=C2=A0<span class=3D"gmail-il">argus</span>-udp:/=
/a.b.c.d:1235) , it works.</div><div>But it output close log when it runnin=
g, then it still running.</div><div><br></div><div><div>argus[44924.0037900=
5c37f0000]: 27 Nov 18 15:30:36.652185 ArgusDeleteQueue (0xc2af70) returning=
</div><div>argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652190 ArgusMo=
delerCleanUp (0x7fc307b3e010) returning</div><div>argus[44924.00379005c37f0=
000]: 27 Nov 18 15:30:36.652247 ArgusCloseModeler(0x7fc307b3e010) pushing c=
lose record 0x7fc300d633e0 as rec 179</div><div>argus[44924.00379005c37f000=
0]: 27 Nov 18 15:30:36.652255 ArgusCloseModeler(0x7fc307b3e010) Total Sends=
 93883</div><div>argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652261 A=
rgusCloseSource(0x7fc305b85010) done</div><div>argus[44924.00379005c37f0000=
]: 27 Nov 18 15:30:36.652267 ArgusDeleteList (0xc1e3f0, 3) 0 items on list<=
/div><div>argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652273 ArgusDel=
eteList (0xc1e3f0, 3) returning</div><div>argus[44924.00379005c37f0000]: 27=
 Nov 18 15:30:36.652281 ArgusModelerCleanUp (0x7fc307c91010) returning</div=
><div>argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652287 ArgusCloseMo=
deler(0x7fc307c91010) Total Sends 0</div><div>argus[44924.00379005c37f0000]=
: 27 Nov 18 15:30:36.652296 ArgusCloseSource(0x7fc3069a3010) done</div><div=
>argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652302 ArgusCloseEvents(=
) done</div><div>argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.652307 A=
rgusModelerCleanUp (0x7fc307c91010) returning</div><div>argus[44924.0037900=
5c37f0000]: 27 Nov 18 15:30:36.652312 ArgusCloseModeler(0x7fc307c91010) Tot=
al Sends 0</div><div>argus[44924.00379005c37f0000]: 27 Nov 18 15:30:36.6523=
18 ArgusCloseOutput(0xc1e0b0) scheduling closure after 179 records</div></d=
iv><div><br></div><div>so, the conclusion is,</div><div>if=C2=A0 the -D opt=
ion is used. it works (seems close and auto restart).</div><div>if unused t=
hat it stop and output failed No such file or directory.</div></div></div><=
/div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">ms01005555 &lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&gt; =E6=96=
=BC 2018=E5=B9=B411=E6=9C=8822=E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8B=E5=8D=
=884:21=E5=AF=AB=E9=81=93=EF=BC=9A<br></div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<div dir=3D"ltr">Thanks, I&#39;ll check it out.=C2=A0<br></div><br><div cla=
ss=3D"gmail_quote"><div dir=3D"ltr">Eric Kinzie &lt;<a href=3D"mailto:eric@=
qosient.com" target=3D"_blank">[email protected]</a>&gt; =E6=96=BC 2018=E5=
=B9=B411=E6=9C=8821=E6=97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=8810:13=E5=
=AF=AB=E9=81=93=EF=BC=9A<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed N=
ov 21 20:05:17 +0800 2018, ms01005555 wrote:<br>
&gt; Hi Eric,<br>
&gt; <br>
&gt; I&#39;m using arugs-3.0.8.2 and argus-clients-3.0.8<br>
&gt; <br>
&gt; I installed by ./configure &amp; make install,so it doesn&#39;t have<b=
r>
&gt; /etc/argus.conf file.<br>
&gt; it just include=C2=A0 ./pkg/argus.conf=C2=A0 and ./support/Config/argu=
s.conf in argus<br>
&gt; directory.<br>
&gt; <br>
&gt; And, I also did that follow your command step, but it didn&#39;t run w=
ith debug<br>
&gt; enabled(the .debug file have no error log).<br>
&gt; <br>
&gt; thanks,<br>
&gt; Leon<br>
<br>
&gt; &gt; To build with debugging:<br>
&gt; &gt; % make clean<br>
&gt; &gt; % touch .debug<br>
&gt; &gt; % ./configure<br>
&gt; &gt; % make<br>
&gt; &gt;<br>
&gt; &gt; And then run with debugging enbabled:<br>
&gt; &gt; % sudo argus -D4 -i eno3=C2=A0 -w argus-udp://a.b.c.d:1235<br>
<br>
When the .debug file is present, the configure script will adjust<br>
the compiler flags to enable debugging support in argus.=C2=A0 Debug<br>
output will be sent to the terminal when the -D option is used.<br>
If running argus from the build directory, it might be necessary<br>
to adjust the sudo command to find the argus just compiled.=C2=A0 Maybe<br>
<br>
% sudo bin/argus -D4 -i eno3=C2=A0 -w argus-udp://a.b.c.d:1235<br>
<br>
You will see lots of output similar to<br>
<br>
argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.311763 ArgusNewModeler() =
returning 0x7f4694cf1010<br>
argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312054 ArgusNewSource(0x7=
f4694cf1010) returning 0x7f465faa4010<br>
argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312064 ArgusNewQueue () r=
eturning 0x1c1ab50<br>
argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312070 ArgusNewList () re=
turning 0x1c1abf0<br>
argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312074 ArgusNewList () re=
turning 0x1c1ac90<br>
argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312078 ArgusNewOutput() r=
eturning retn 0x1c1a0d0<br>
argus[89719.4027d794467f0000]: 19 Nov 18 21:54:12.312125 setArgusMarReportI=
nterval(60) returning<br>
<br>
</blockquote></div>
</blockquote></div>

--000000000000788216057ba0fff7--