[rrd-users] Re: MRTG & 14all.cgi script

Kizlyk, John John.Kizlyk at CapitalOneAuto.com
Tue Jun 1 21:06:51 MEST 2004


Also keep in mind that perl on Win32 expects paths like:

use lib qw(D:\\mrtg-2.10.13\\lib\\mrtg2);

-or-

use lib qw(D:/mrtg-2.10.13/lib/mrtg2);


 

John Kizlyk
Network Administrator
CCNA CCDA CCSA MCSE CCA
Capital One Auto Finance 
john.kizlyk at capitaloneauto.com


-----Original Message-----
From: Jon [mailto:jon at xanga.net] 
Sent: Tuesday, June 01, 2004 01:41 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: MRTG & 14all.cgi script

Hi,

I ran into that problem before on a Win2K3 server.  The only way I was able
to get 14all.cgi running is to place the mrtg config files in the same
directory as 14all.cgi and comment out $cfgfile and $cfgfiledir.  Then I
switched to routers2.cgi and everything worked much better that way.


Good luck,

Jon

-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Villafuerte Icaza
Rodolfo Eduardo
Sent: Tuesday, June 01, 2004 1:27 PM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] MRTG & 14all.cgi script

Hello,
I am trying to use 14all.cgi in a Win2K station with RRDTool and Apache.

Script 14all.cgi is in C:\MRTG\wwwroot\ and contains :

use lib qw(D:\mrtg-2.10.13\lib\mrtg2);

$cfgfile = 'mrtg.cfg';

$cfgfiledir = 'D:\mrtg-2.10.13\bin';


File  Mrtg.cfg contains :
Interval: 1
RunAsDaemon: yes
PathAdd: D:\mrtg-2.10.13\rrdtool
LogFormat: rrdtool
workdir: D:\DATAMRTG

### Interface ...

Perl is running with mrtg  mrtg.cfg and is daemonizing with 1 mn

When I run IE 6.0 with  <http://localhost/14all.cgi>
http://localhost/14all.cgi, I obtain : 
          The server encountered an internal error or misconfiguration and
was unable to complete your request.
         Apache/1.3.27

File Error log contains : 
(2)No such file or directory: couldn't spawn child process:
c:/mrtg/wwwroot/14all.cgi
Directory D:\DATAMRTG contains .rrd files

Where is the problem ? 
can Anybody help myself?  
  
Thank´s

Rodolfo Villafuerte

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list