[mrtg] Re: Rateup segmentation fault redux

Ed Kasky ed at esson.net
Mon May 22 00:02:10 MEST 2006


Well at least rateup runs without the segfault now....

# /usr/local/mrtg-2/bin/rateup /var/www/html/wrenkasky/mrtg ns5gt.wrenkasky.com
21-05-2006 14:47:50, Rateup WARNING: /usr/local/mrtg-2/bin/rateup 
could not read the primary log file for ns5gt.wrenkasky.com
21-05-2006 14:47:50, Rateup WARNING: /usr/local/mrtg-2/bin/rateup The 
backup log file for ns5gt.wrenkasky.com was invalid as well

When I run mrtg  3 times, the last run still produces the following:

# /usr/local/mrtg-2/bin/mrtg /tmp/mrtg.cfg
Sunday, 21 May 2006 at 14:54: ERROR: Skipping webupdates because 
rateup did not return anything sensible
Sunday, 21 May 2006 at 14:54: WARNING: rateup died from Signal 11
  with Exit Value 0 when doing router 'ns5gt.wrenkasky.com_1'
  Signal was 11, Returncode was 0
Sunday, 21 May 2006 at 14:54: ERROR: Skipping webupdates because 
rateup did not return anything sensible
Sunday, 21 May 2006 at 14:54: WARNING: rateup died from Signal 11
  with Exit Value 0 when doing router 'ns5gt.wrenkasky.com_2'
  Signal was 11, Returncode was 0

Both binaries are 2.14.3

Ed

At 01:52 PM Sunday, 5/21/2006, you wrote -=>
>Hi Ed,
>
>yep ... you did it corectly ...
>
>so you may go to the real life test ... maybe the current version
>of mrtg has your problem fixed
>
>cheers
>tobi
>
>Today Ed Kasky wrote:
>
> > At 07:02 AM Sunday, 5/21/2006, you wrote -=>
> > >Today Ed Kasky wrote:
> > >
> > > > Tobi
> > > >
> > > > At the risk of appearing a novice at compiling,  what exactly are
> > > the commands
> > > > to complete the steps below?  I had some help getting this far.
> > > >
> > > > I have the src unpacked in /usr/src/mrtg-2.14.3.  Any specific commands
> > > > you
> > > > could pass my way would be a great help...
> > >
> > >well just proceed as usual ... configure make ...
> > >
> > >and then look at the last gcc line see if it contains a -g ... if
> > >it does not, cut and paste the line and add -g
> > >
> > >cheers
> > >tobi>
> >
> > This is in the Makefile:
> >
> > CC = gcc
> > CFLAGS = -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-declarations
> > -Wnested-externs -Winline -W -DHAVE_CONFIG_H
> >
> > Is this correct?
> >
> > Then once the binary was built, I ran:
> >
> > # gdb /usr/src/mrtg-2.14.3/bin/rateup
> >
> > (gdb) set args /var/www/html/wrenkasky/mrtg ns5gt.wrenkasky.com
> > (gdb) run
> > Starting program: /usr/src/mrtg-2.14.3/bin/rateup 
> /var/www/html/wrenkasky/mrtg
> > ns5gt.wrenkasky.com
> > 21-05-2006 08:07:06, Rateup WARNING: 
> /usr/src/mrtg-2.14.3/bin/rateup could not
> > read the primary log file for ns5gt.wrenkasky.com
> > 21-05-2006 08:07:06, Rateup WARNING: /usr/src/mrtg-2.14.3/bin/rateup The
> > backup log file for ns5gt.wrenkasky.com was invalid as well
> >
> > Program exited normally.
> >
> > Which is totally different from the core dump errors I was 
> getting before with
> > the rpm version.
> >
> > Did I do this correctly?

. . . . . . . . . . . . . . . . . .
Randomly Generated Quote (98 of 1052):
"If I were two-faced, would I be wearing this one?"
    --Abraham Lincoln

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list