Working on the v1.2.15 install I clicked next on the MYSQL update page. Now all of a sudden I have the message that the System log file: cacti.log is not available for writing. The file has -rw-rw-rw- permissions on. Any idea as to why I have this message? The log file is being written to successfully for the Spine process messages.
As per the Warning on the MYSQL page, I cleared all cache in my browser and started a new completed browser session.
v1.2.15 Cacti.log not writable after install
Moderators: Developers, Moderators
Re: v1.2.15 Cacti.log not writable after install
Check path, log could be in another path like /var/log/cacti/, /usr/share/cacti/log, /usr/local/share/cacti/log. It depends on OS and version.DMBanke wrote: ↑Thu Nov 05, 2020 1:25 pm Working on the v1.2.15 install I clicked next on the MYSQL update page. Now all of a sudden I have the message that the System log file: cacti.log is not available for writing. The file has -rw-rw-rw- permissions on. Any idea as to why I have this message? The log file is being written to successfully for the Spine process messages.
As per the Warning on the MYSQL page, I cleared all cache in my browser and started a new completed browser session.
Check log directory permission too.
ls -ald /var/log/cacti (or your real log path)
drwx --- --- no_www_user:no_www_group log - it causes that www server cannot write to log directory
On freeBSD I have
drwx rwx rx cacti:www log
Let the Cacti grow!
Re: v1.2.15 Cacti.log not writable after install
The error message points to the /var/www/html/cacti/log/cacti.log.
cacti.log has permssions of -rw-rw-rw-
log directory has drwxrwxrwx
Just changed the cacti.log to -rwxrw-rw- and got past the error message. Why it needs Executable is beyond me.
cacti.log has permssions of -rw-rw-rw-
log directory has drwxrwxrwx
Just changed the cacti.log to -rwxrw-rw- and got past the error message. Why it needs Executable is beyond me.
Re: v1.2.15 Cacti.log not writable after install
Also had to add executable to the resources, scripts and cache directories to get through the install pre-check.
v1.2.15 is now up and running!
v1.2.15 is now up and running!
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: v1.2.15 Cacti.log not writable after install
We added that 'feature' as basic insta-shock therapy for people who mess up permissions when they upgrade, and it's working
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: v1.2.15 Cacti.log not writable after install
nvm resolved the issue myself
Who is online
Users browsing this forum: No registered users and 0 guests