cacti can not write cacti.log

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
suse
Posts: 23
Joined: Sun Nov 13, 2005 1:05 am

cacti can not write cacti.log

Post by suse »

Warning: touch() [function.touch]: Unable to create file /var/www/loalhost/htdocs/cacti/log/cacti.log because No such file or directory in /var/www/localhost/htdocs/cacti/utilities.php on line 119

Warning: file(/var/www/loalhost/htdocs/cacti/log/cacti.log) [function.file]: failed to open stream: No such file or directory in /var/www/localhost/htdocs/cacti/utilities.php on line 120

Warning: array_reverse() [function.array-reverse]: The argument should be an array in /var/www/localhost/htdocs/cacti/utilities.php on line 123

when I click "View Cacti Log File"
it shows me that.

I chmod 777 for log dir,
webserver user is www
cactiuser is cactiuser
ls -dl log
drwxrwxrwx 2 www www 512 Feb 19 18:17 log


tried chown cactiuser:cactiuser log

still can not work.


OS:FreeBSD 6.0
cacti:0.8.6h
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi
/var/www/loalhost/htdocs/cacti/log/cacti.log
and
/var/www/localhost/htdocs/cacti/utilities.php
Is it a typo ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest