[NOT FOUND] Cacti Log File

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

Moderators: Developers, Moderators

Post Reply
Ololz
Posts: 6
Joined: Wed Jul 06, 2016 2:09 pm

[NOT FOUND] Cacti Log File

Post by Ololz »

Hello, i have a problem with http://ip/cacti/install/index.php

Note that I 've reinstalled the system many times.

In this page, i have this error :

[NOT FOUND] Cacti Log File Path: The path to your Cacti log file.
/usr/share/cacti/log/cacti.log
[ERROR: FILE NOT FOUND]


I searched the file to other place , without success.

I followed this tutorial step by step :

http://www.tecmint.com/install-cacti-ne ... ora-17-12/

For informations : CentOS 6.8 and cacti version 0.8.8h from repo el6

Have you an idea for this ?

Thanks !

Regards,

Ololz
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: [NOT FOUND] Cacti Log File

Post by cigamit »

Create the file, and give it permissions so your web server can access it.
Ololz
Posts: 6
Joined: Wed Jul 06, 2016 2:09 pm

Re: [NOT FOUND] Cacti Log File

Post by Ololz »

It's as simple as that ?

I think it is a symbolic link ? Have you an example to give proper permissions ?

Thanks for your fast reply !

Regards,

Ololz
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: [NOT FOUND] Cacti Log File

Post by cigamit »

touch /usr/share/cacti/log/cacti.log
chown apache:apache /usr/share/cacti/log/cacti.log
chmod 755 /usr/share/cacti/log/cacti.log
Ololz
Posts: 6
Joined: Wed Jul 06, 2016 2:09 pm

Re: [NOT FOUND] Cacti Log File

Post by Ololz »

Hello,

Thank you for your help.
Now I can monitor my localhost. However all my hosts are unknown status but the snmp works . Is this still a problem of access to a file?

I use the poller cmd.php.

Regards,

Ololz
super-hornet
Cacti User
Posts: 175
Joined: Sun May 27, 2007 5:42 pm

Re: [NOT FOUND] Cacti Log File

Post by super-hornet »

Suspect either your cacti unable to ping your targeted host (drop the packet) or your cacti cannot ping out (either cacti's system firewall or your targeted host firewall blocking it)
Ololz
Posts: 6
Joined: Wed Jul 06, 2016 2:09 pm

Re: [NOT FOUND] Cacti Log File

Post by Ololz »

Hello,

touch /usr/share/cacti/log/cacti.log
chown apache:apache /usr/share/cacti/log/cacti.log
chmod 755 /usr/share/cacti/log/cacti.log

Work fine !


Thanks !
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests