[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syweb installation problem



First, this thread belongs to ports@.

Second, you might want to use the new port (symon v.2.63) which was
published today in ports@. It has been improved in several important
places.

> [error] PHP Warning:  dir(/var/www/symon/rrds): failed to open dir: No
> such file or directory in /htdocs/symon/index.php on line 171
> [error] PHP Fatal error:  Call to a member function on a non-object in
> /htdocs/symon/index.php on line 172
> 
[snip]

> I configured my rrd directory as:
> /var/www/symon/rrds/localhost -->ls
> cpu0.rrd     if_lo0.rrd   if_sl0.rrd   if_xl0.rrd   
> io_wd0.rrd   mem.rrd
> if_gre0.rrd  if_lo1.rrd   if_sl1.rrd   if_xl1.rrd   mbuf.rrd  
>    pf.rrd
> 
> I altered /var/www/htdocs/symon/datasources.inc to:
> $symon2web["tree"]='/var/www/symon/rrds';
> 
> I set the /etc/symux.conf location of rrds to:
> datadir "/var/www/symon/rrds/localhost"

Apache is running chrooted in /var/www, therefore all paths must refer
to it as the root dir. Modify /var/www/htdocs/symon/datasources.inc to 
$symon2web["tree"]='/symon/rrds';

and leave symux.conf the way it is.


Regards, Mitja