change log file path

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

change log file path

Post by ataha »

the old server cacti path is /usr/share/cacti/ but the new server path is /var/www/html/cacti so before installation the system ask to give permission to write on /usr/share/cacti/log/cacti.log , but this file not exist , how to change the file path in the new database
macan
Cacti Pro User
Posts: 912
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: change log file path

Post by macan »

update settings set value='/var/www/html/cacti/log/cacti.log' where name='path_cactilog';
Let the Cacti grow!
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: change log file path

Post by ataha »

Many thaaaaaaaanks broo , its worked and solved :wink: :lol: :D :)
ataha
Posts: 28
Joined: Mon Dec 04, 2023 8:48 am

Re: change log file path

Post by ataha »

Total[0.0193] ERROR: The spine path: /usr/local/spine/bin/spine is invalid. Poller can not continue!
macan
Cacti Pro User
Posts: 912
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: change log file path

Post by macan »

install spine or switch to cmd poller or set correct spine path (if spine is installed).
Configuration -> settings -> poller tab
Configuration -> settings -> paths tab
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest