dear all

i try implementions mailgraphs in obsd 4.6 , we know basic chroot mode
and i have copy all file need to  /var/www

and i try in client browse to mailgraph.cgi  get errro like this :

# tail -f /var/www/logs/error_log

Can't load '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs/RRDs.so'
for module RRDs: Cannot load specified object at
/usr/libdata/perl5/i386-openbsd/5.10.0/DynaLoader.pm line 203.
 at /cgi-bin/mailgraph/mailgraph.cgi line 8
Compilation failed in require at /cgi-bin/mailgraph/mailgraph.cgi line 8.
BEGIN failed--compilation aborted at /cgi-bin/mailgraph/mailgraph.cgi line 8.
[Thu Nov 12 15:28:39 2009] [error] [client 192.168.48.17] Premature
end of script headers: /cgi-bin/mailgraph/mailgraph.cgi


and here some of stepp

# cd /var/www/
# ls /var/www/
bin/         conf/        etc/         htdocs/      include/     logs/
       pear/        usr/
cgi-bin/     dev/         hatchet/     icons/       lib/
mailgraph/   users/
# locate RRDs.so
/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs/RRDs.so
# cp /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs/RRDs.so
/var/www/usr/local/libdata/perl5/site_perl/i38>
# ls -la /var/www/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/RRDs/
total 52
drwxr-xr-x  2 root  daemon    512 Nov 12 15:21 .
drwxr-xr-x  3 root  daemon    512 Nov 12 14:30 ..
-r--r--r--  1 root  daemon      0 Nov 12 15:21 RRDs.bs
-r-xr-xr-x  1 root  wheel   21327 Nov 12 15:30 RRDs.so

do i miss step ?
i try folow from this tutorial :
http://www.bamweb.nl/computer/bsd/207-mailgraph-on-openbsd-chroot

-- 
sonjaya
http://www.duniabunda.info

Reply via email to