[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/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 - installation problem

Cheshire Cat Computing

Software support and information
It is currently Sun Dec 21, 2025 9:31 pm

All times are UTC + 12 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: installation problem
PostPosted: Fri Apr 21, 2006 12:43 am 
Offline
User

Joined: Fri Apr 21, 2006 12:28 am
Posts: 2
Greetings.

I'm trying to install routers2.cgi script and getting an Internal Server Error with 'Premature end of script headers' in apache logs, while trying to start http://bla.local/cgi-bin/mrtg/routers2.cgi?page=verify
What could it be?
Path to perl is ok.

Some configuration info:
mrtg-2.10.13p0
rrdtool-1.0.49
Apache/1.3.29 (running in chroot /var/www)
routers2-v2.16

> grep -v "#" /var/www/etc/mrtg/routers2.conf | grep -v "^$"
[web]
backurl = /
png=1
[routers.cgi]
dbpath = /htdocs/mrtg
graphpath = /htdocs/mrtg/graphs
graphurl = /graphs
confpath = /etc/mrtg/cfg
cfgfiles = *.cfg
iconurl = /rrdicons/
defaulttarget = interface
graphstyle = big
usebigk = yes
sorder = t n n2 l l2 x x2
compact = no
showfindbox = yes
[targetnames]
routerdefault = filename
ifdefault = ai
[targettitles]
[targeticons]
[graphprune]
[menu]
[trend.cgi]

> ls -la /var/www/etc/mrtg/cfg/
total 28
drwxr-xr-x 2 root daemon 512 Apr 20 14:31 .
drwxr-xr-x 3 root daemon 512 Apr 20 14:34 ..
-rwxr-xr-x 1 root daemon 7452 Apr 20 14:31 mrtg.cfg
-rwxr-xr-x 1 root daemon 716 Apr 19 15:21 mrtg.ok

> grep -v "#" /var/www/etc/mrtg/cfg/mrtg.cfg | grep -v "^$"
LogFormat: rrdtool
EnableIPv6: no
WorkDir: /htdocs/mrtg
Options[_]: growright, bits
IconDir: iconz
Target[localhost_192.168.0.1]: /192.168.0.1:it5@localhost:::::1
SetEnv[localhost_192.168.0.1]: MRTG_INT_IP="192.168.0.1"
MRTG_INT_DESCR="rl1" Directory[localhost_192.168.0.1]: localhost
MaxBytes[localhost_192.168.0.1]: 12500000
Title[localhost_192.168.0.1]: rl1 -- bla.local
PageTop[localhost_192.168.0.1]: <H1>rl1 -- bla.local </H1>
<TABLE>
<TR><TD>System:</TD> <TD>bla.local in
main</TD></TR> <TR><TD>Maintainer:</TD>
<TD>user@bla.local</TD></TR> <TR><TD>Description:</TD><TD>rl1
</TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
<TR><TD>ifName:</TD> <TD></TD></TR>
<TR><TD>Max Speed:</TD> <TD>100.0 Mbits/s</TD></TR>
<TR><TD>Ip:</TD> <TD>192.168.0.1 (bla.local)</TD></TR>
</TABLE>

Thanks in advance.


Top
 Profile Send private message  
 
 Post subject:
PostPosted: Fri Apr 21, 2006 6:47 am 
Offline
Site Admin

Joined: Tue Jul 29, 2003 11:42 am
Posts: 3039
Location: Auckland, New Zealand
This error usually indicates a script failure.

I notice you have your script under /cgi-bin/mrtg/routers.cgi rather than the traditional /cgi-bin/routers.cgi, I trust you have added all the extra stuff to your apache config for this to work?

Also, look in your error log. This 'premature end' message will usually coincide with some more helpful error messages.

Try running it from the command line, and see what it says.

Check permissions. If you're chrooted, this may break such things as the perl path, or even library paths and other things. All paths specified in the config and so on will need to be relative to the chroot.

_________________
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  
 
 Post subject:
PostPosted: Fri Apr 21, 2006 7:54 pm 
Offline
User

Joined: Fri Apr 21, 2006 12:28 am
Posts: 2


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

All times are UTC + 12 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 7 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:  
cron
Powered by phpBB® Forum Software © phpBB Group