[mrtg] mrtg Digest, Vol 15, Issue 2

Garon Ashby gashby at kckcc.edu
Thu Mar 6 22:15:30 CET 2008


The runasDaemon isn't in my config files. I'm running it as a cron job.
 







Garon Ashby
Network Specialist 
Kansas City Kansas Community College
913 288-7431
gashby at kckcc.edu 

>>> <mrtg-request at lists.oetiker.ch> 3/6/2008 2:13 PM >>>
Send mrtg mailing list submissions to
mrtg at lists.oetiker.ch 

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg 
or, via email, send a message with subject or body 'help' to
mrtg-request at lists.oetiker.ch 

You can reach the person managing the list at
mrtg-owner at lists.oetiker.ch 

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mrtg digest..."


Today's Topics:

   1. Perl Error. with RunAsDaemon: yes (Sciarrino, Scott)
   2. I was able to fix my last problem by changing thesetwo
      settings to the following: --ifref=descr --ifdesc=descr (Garon Ashby)
   3. Re: Perl Error. with RunAsDaemon: yes (Henrik Jacobsson)
   4. Re: Perl Error. with RunAsDaemon: yes (Joel Roberts)


----------------------------------------------------------------------

Message: 1
Date: Wed, 5 Mar 2008 15:57:34 -0500
From: "Sciarrino, Scott" <ssciarrino at projecthope.org>
Subject: [mrtg] Perl Error. with RunAsDaemon: yes
To: "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
Message-ID:
<4EC0D5DD881DFD4988CBCC76450EA7B40F9AD30885 at hq-mail.projecthope.org>
Content-Type: text/plain; charset="us-ascii"

When I put "RunAsDaemon: yes" in my config file I start getting this error.  I'm running perl 5.10.

Does anyone have a fix for this yet?  Thanks

Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 15) line 1
*** Restarting after 10 seconds in an attempt to recover from the error above
Can't exec "mrtg": No such file or directory at mrtg line 368.
Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 16) line 1
*** Restarting after 10 seconds in an attempt to recover from the error above
Can't exec "mrtg": No such file or directory at mrtg line 368.
Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 17) line 1
*** Restarting after 10 seconds in an attempt to recover from the error above
Can't exec "mrtg": No such file or directory at mrtg line 368.
Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 24) line 1

Scott Sciarrino | Senior Network Security Engineer | Millwood, VA | Project HOPE |Phone: 540.837.9565 |Mobile: 571.594.0260 |Fax 540.837.9577 | ssciarrino at projecthope.org 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080305/b41b9602/attachment-0001.html 

------------------------------

Message: 2
Date: Wed, 05 Mar 2008 16:09:57 -0600
From: "Garon Ashby" <gashby at kckcc.edu>
Subject: [mrtg] I was able to fix my last problem by changing these
twosettings to the following: --ifref=descr --ifdesc=descr
To: <mrtg at lists.oetiker.ch>
Message-ID: <47CEC5ED.4FE6.0098.1 at kckcc.edu>
Content-Type: text/plain; charset="us-ascii"

I was able to fix my last problem by changing these two settings to the following: --ifref=descr --ifdesc=descr 

The only problem I have left is occasional Perl exception errors.

Does anyone have any idea's around this? 









Garon Ashby
Network Specialist 
Kansas City Kansas Community College
913 288-7431
gashby at kckcc.edu 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080305/1cde049f/attachment-0001.html 

------------------------------

Message: 3
Date: Wed, 05 Mar 2008 23:15:16 +0100
From: Henrik Jacobsson <henke.jacobsson at gmail.com>
Subject: Re: [mrtg] Perl Error. with RunAsDaemon: yes
To: "Sciarrino, Scott" <ssciarrino at projecthope.org>
Cc: "mrtg at lists.oetiker.ch" <mrtg at lists.oetiker.ch>
Message-ID: <47CF1B74.8030205 at gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

Make sure you dont run it as a cron job.
I did and had RunAsDaemon, which resulted to create a new daemon 
everytime the cron ran.

//henke
Sciarrino, Scott skrev:
>
> When I put ?RunAsDaemon: yes? in my config file I start getting this 
> error. I?m running perl 5.10.
>
> Does anyone have a fix for this yet? Thanks
>
> Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 
> 15) line 1
>
> *** Restarting after 10 seconds in an attempt to recover from the 
> error above
>
> Can't exec "mrtg": No such file or directory at mrtg line 368.
>
> Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 
> 16) line 1
>
> *** Restarting after 10 seconds in an attempt to recover from the 
> error above
>
> Can't exec "mrtg": No such file or directory at mrtg line 368.
>
> Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 
> 17) line 1
>
> *** Restarting after 10 seconds in an attempt to recover from the 
> error above
>
> Can't exec "mrtg": No such file or directory at mrtg line 368.
>
> Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 
> 24) line 1
>
> Scott Sciarrino | Senior Network Security Engineer | Millwood, VA | 
> Project HOPE |Phone: 540.837.9565 |Mobile: 571.594.0260 |Fax 
> 540.837.9577 | ssciarrino at projecthope.org 
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch 
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg 
>   



------------------------------

Message: 4
Date: Thu, 6 Mar 2008 13:15:22 -0700
From: "Joel Roberts" <Joel.Roberts at pinkardcc.com>
Subject: Re: [mrtg] Perl Error. with RunAsDaemon: yes
To: "Sciarrino, Scott" <ssciarrino at projecthope.org>,
<mrtg at lists.oetiker.ch>
Message-ID:
<2CE4DD25946EB940B8EE93877AF62531FE3815 at lwmailserver1.pinkard.com>
Content-Type: text/plain; charset="us-ascii"

I get these same errors running on Windows, so definitely no cron job
there, just the single command prompt running in Windows. The graphs are
populating though and data is being collected.



________________________________

From: mrtg-bounces at lists.oetiker.ch 
[mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Sciarrino, Scott
Sent: Wednesday, March 05, 2008 1:58 PM
To: mrtg at lists.oetiker.ch 
Subject: [mrtg] Perl Error. with RunAsDaemon: yes



When I put "RunAsDaemon: yes" in my config file I start getting this
error.  I'm running perl 5.10.



Does anyone have a fix for this yet?  Thanks



Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 15)
line 1

*** Restarting after 10 seconds in an attempt to recover from the error
above

Can't exec "mrtg": No such file or directory at mrtg line 368.

Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 16)
line 1

*** Restarting after 10 seconds in an attempt to recover from the error
above

Can't exec "mrtg": No such file or directory at mrtg line 368.

Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 17)
line 1

*** Restarting after 10 seconds in an attempt to recover from the error
above

Can't exec "mrtg": No such file or directory at mrtg line 368.

Your vendor has not defined Socket macro MSG_DONTWAIT, used at (eval 24)
line 1



Scott Sciarrino | Senior Network Security Engineer | Millwood, VA |
Project HOPE |Phone: 540.837.9565 |Mobile: 571.594.0260 |Fax
540.837.9577 | ssciarrino at projecthope.org 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080306/c858b2e8/attachment.html 

------------------------------

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch 
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg 


End of mrtg Digest, Vol 15, Issue 2
***********************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080306/4ef997cb/attachment-0001.html 


More information about the mrtg mailing list