mailgraph install on Freebsd 5.4 help

Philip Hallstrom freebsd at philip.pjkh.com
Fri Apr 14 18:20:10 UTC 2006


> I went and installed the mailgraph-1.12_1 from a newly cvsup'd ports
> collection ..it installed fine BUT im running into to things
> when i try to start mailgraph from the rc scripts this is what i get
>
> loqtis# cd /usr/local/etc/rc.d/
> loqtis# ./mailgraph.sh start
> net.inet.tcp.blackhole: 2 -> 2
> net.inet.udp.blackhole: 1 -> 1
> Starting mailgraph.
> /usr/local/sbin/mailgraph.pl: not found
>
> but i do a ls -al of the mailgraph.pl and IT IS there
>
> loqtis# ls -la /usr/local/sbin/mailgraph.pl
> -r-xr-xr-x  1 root  wheel  25164 Apr 14 11:49 /usr/local/sbin/mailgraph.pl
>
> Id really like to start this via the rc script ...but how ?
>
>
> So i try to run it by hand by doing;
> perl /usr/local/sbin/mailgraph.pl --logfile /var/log/maillog
> --daemon-rrd=/var/db/mailgraph --daemon-pid=/var/db/mailgraph/mailgraph.pid
> --daemon
>
> it does start but how do i access the info ?  i tried accessing it at

Where is perl installed?  Check the first line of 
/usr/local/sbin/mailgraph.pl and see if that agrees with where you really 
have perl installed.

Same for the cgi scripts...

-philip


More information about the freebsd-questions mailing list