Upgrade to 1.2.10, Log Path is not writable

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

Moderators: Developers, Moderators

Post Reply
User avatar
jt555
Cacti User
Posts: 56
Joined: Sat Nov 17, 2007 3:37 pm
Location: Atlanta, Ga

Upgrade to 1.2.10, Log Path is not writable

Post by jt555 »

Upgrading from 1.2.6 to 1.2.10.

On the file permissions checks it shows that the log dir (/usr/share/cacti/log/) is Not Writable.

I can also see this in the cacti.log -that is in the directory that Cacti says is not writable:

Code: Select all

... - INSTALL-ERRORS: info: addError(Permission, /usr/share/cacti/log, Path is not writable)
I know that the permissions on the dir symlink and target dir (/var/log/cacti) are set to 777.

I removed that one log from Log Rotation in case there was a conflict but still have the same issue.

what is the permissions check actually testing?

I'm running CentOS 7.
User avatar
jt555
Cacti User
Posts: 56
Joined: Sat Nov 17, 2007 3:37 pm
Location: Atlanta, Ga

Re: Upgrade to 1.2.10, Log Path is not writable

Post by jt555 »

Forgot to mention that even though that section says "Required Writable after Install Complete", the Next button is greyed out.

I am not sure if this is related to the Write Permissions or not.

Log section:

Code: Select all

2020/04/05 21:03:52 - AUTH LOGIN: User 'admin' Authenticated
2020/04/05 21:03:55 - INSTALL-LANGUAGE: info: getLanguage(): en-US
2020/04/05 21:03:55 - INSTALL-THEME: info: getTheme(): modern
2020/04/05 21:03:55 - INSTALL-THEME: info: Checking theme: modern
2020/04/05 21:03:56 - INSTALL-ERRORS: info: addError(Paths, path_cactilog, Resource is not writable)
2020/04/05 21:03:56 - INSTALL-ERRORS: info: addError(Permission, /usr/share/cacti/log, Path is not writable)
2020/04/05 21:03:57 - INSTALL-TEMPLATES: info: setTemplates(): Updating templates
2020/04/05 21:03:57 - INSTALL-AUTOMATION: info: getProfile() returns with 1
2020/04/05 21:03:57 - INSTALL-AUTOMATION: info: setProfile(1) returns with 1
2020/04/05 21:03:57 - INSTALL-AUTOMATION: info: getAutomationMode() returns '0'
2020/04/05 21:03:57 - INSTALL-AUTOMATION: info: setAutomationMode(0) returns with
2020/04/05 21:03:57 - INSTALL-AUTOMATION: info: setAutomationOverride() returns with
2020/04/05 21:03:57 - INSTALL-AUTOMATION: info: getAutomationRange() returns '192.168.0.1/24'
2020/04/05 21:03:57 - INSTALL-AUTOMATION: info: setAutomationRange(192.168.0.1/24) returns with 192.168.0.1/24
2020/04/05 21:03:57 - INSTALL-RRDVERSION: info: getRRDVersion(): 1.4.0
2020/04/05 21:03:57 - INSTALL-RRDVERSION: info: sanitizeRRDVersion() - returning 1.4.0
2020/04/05 21:04:35 - INSTALL-LANGUAGE: info: getLanguage(): en-US
2020/04/05 21:04:35 - INSTALL-THEME: info: getTheme(): modern
2020/04/05 21:04:35 - INSTALL-THEME: info: Checking theme: modern
2020/04/05 21:04:35 - INSTALL-ERRORS: info: addError(Paths, path_cactilog, Resource is not writable)
2020/04/05 21:04:35 - INSTALL-ERRORS: info: addError(Permission, /usr/share/cacti/log, Path is not writable)
2020/04/05 21:04:36 - INSTALL-TEMPLATES: info: setTemplates(): Updating templates
2020/04/05 21:04:36 - INSTALL-AUTOMATION: info: getProfile() returns with 1
2020/04/05 21:04:36 - INSTALL-AUTOMATION: info: setProfile(1) returns with 1
2020/04/05 21:04:36 - INSTALL-AUTOMATION: info: getAutomationMode() returns '0'
2020/04/05 21:04:36 - INSTALL-AUTOMATION: info: setAutomationMode(0) returns with
2020/04/05 21:04:36 - INSTALL-AUTOMATION: info: setAutomationOverride() returns with
2020/04/05 21:04:36 - INSTALL-AUTOMATION: info: getAutomationRange() returns '192.168.0.1/24'
2020/04/05 21:04:36 - INSTALL-AUTOMATION: info: setAutomationRange(192.168.0.1/24) returns with 192.168.0.1/24
2020/04/05 21:04:37 - INSTALL-RRDVERSION: info: getRRDVersion(): 1.4.0
2020/04/05 21:04:37 - INSTALL-RRDVERSION: info: sanitizeRRDVersion() - returning 1.4.0
netniV
Cacti Guru User
Posts: 3440
Joined: Sun Aug 27, 2017 12:05 am

Re: Upgrade to 1.2.10, Log Path is not writable

Post by netniV »

You should check if SELinux is blocking it.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests