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.