[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing • View topic - Can't read Routers2.conf

Cheshire Cat Computing

Software support and information
It is currently Mon Sep 27, 2021 11:01 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Can't read Routers2.conf
PostPosted: Fri Mar 26, 2004 12:00 pm 
Offline
Silver User

Joined: Fri Mar 26, 2004 11:49 am
Posts: 10
I am have gone through and installed routers2.pl and when I call the routers2.pl file through the browser I get in the main page ERROR "Cannot read config file e:\mrtg\wwwroot\routers2.conf" I have looked and the file is there.

The only thing that may be a little different is that I am running RRDTool and MRTG on a different server than IIS and the e: is a mapped drive to the RRD/MRTG server.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Mar 26, 2004 1:11 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
This error message usually means what it says, and is down to file permissions.

Remember that unlike in UNIX, where a filesystem mount is globally visible, Windows does it on a per-user or even per-process basis.

Remember that you must give read access to this file -- and the intervening directories -- to the web server process. If the file resides on a remote server, are you sure that drive E: is mapped for the web server process?

You should really put the routers2.conf on the same server as the web service (there is no reason not to, and it improves speed!) You might also get problems with the .rrd files being remote (this will hit performance, and again you may not have access to the remote filesystem from the web server process)

Steve


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Mar 26, 2004 1:13 pm 
Offline
Silver User

Joined: Fri Mar 26, 2004 11:49 am
Posts: 10
I moved conf file to a local drive and changed the .pl file path and it finds it ok. Now if fails with can't find *.cfg files? I have the mapped drive mapped using an admin account and I have added everyone with full control and it still says it can't see the files.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Mar 26, 2004 1:20 pm 
Offline
Silver User

Joined: Fri Mar 26, 2004 11:49 am
Posts: 10


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Mar 26, 2004 8:16 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand


Top
 Profile Send private message  
 
PostPosted: Sat Jan 29, 2011 6:14 am 
Offline
User

Joined: Sat Jan 29, 2011 6:08 am
Posts: 1
I have same problem on Red hat 5.4 EL
Error

Cannot read config file /etc/conf/routers2.conf.
i change permission to 777 for folder and files web i comment this line in routers2.cgi
show me can not read MRTG configuration file
my rrd database file locate in /var/www/html/graph/rrd
but see error


Top
 Profile Send private message  
 
PostPosted: Mon Jan 31, 2011 12:30 pm 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
Are you running SELinux? If so, you need to make sure the web server process has red permission to the file in SELinux (and also to all the MRTG stuff and RRD files)

Also makes sure that the web server process has read/execute permission to the parent directories of the place holding the routers2.conf, the MRTG .cfg files, and the RRD files.

Use the verification page -- /cgi-bin/routers.cgi?page=verify -- to check your configuration as well, this can report a lot of issues more clearly.

Check the web server error log which might help.

_________________
Steve Shipway
UNIX Systems, ITSS, University of Auckland, NZ
Woe unto them that rise up early in the morning... -- Isaiah 5:11


Top
 Profile Send private message  
 
PostPosted: Sat Dec 24, 2011 8:32 am 
Offline
User

Joined: Sat Dec 24, 2011 8:28 am
Posts: 1


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group