Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post general support questions here that do not specifically fall into the Linux or Windows categories.
Moderators: Developers , Moderators
jt555
Cacti User
Posts: 56 Joined: Sat Nov 17, 2007 3:37 pm
Location: Atlanta, Ga
Post
by jt555 » Sun Apr 05, 2020 7:57 pm
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.
jt555
Cacti User
Posts: 56 Joined: Sat Nov 17, 2007 3:37 pm
Location: Atlanta, Ga
Post
by jt555 » Sun Apr 05, 2020 8:07 pm
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: 3441 Joined: Sun Aug 27, 2017 12:05 am
Post
by netniV » Sun Apr 05, 2020 9:26 pm
You should check if SELinux is blocking it.
Users browsing this forum: No registered users and 3 guests