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

Jon jon at xanga.net
Tue Jun 1 20:41:16 MEST 2004


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



More information about the rrd-users mailing list