Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Apr 23, 2017 4:34 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: RRA permissions with Structured RRA Path error
PostPosted: Tue Feb 21, 2017 10:38 am 
Offline

Joined: Thu Jan 06, 2011 9:30 am
Posts: 43
Location: Nashville, TN
I have found multiple topics on this but no one seems to know exactly how to resolve this.

Can somebody please help with resolving the issue with the Structured RRA path permissions problem which seems to appear after running updates.

After installing 1.0.1 everything appeared to be working as expected and in the RRA directory, cacti would be able to create a new device folder with the proper owner for me which was mcccacti.

I am now on 1.0.3 and have installed updates on Ubuntu 16.10 and I'm running into the same issues I have seen in many tickets.
When I add a new device and cacti creates the new directory in /rra/ the owner is www-data and cacti gives an error that it's unable to change the permissions of the folder.

How does this appear to pop up after an update when it was working fine before. How can I fix this????


Top
 Profile  
 
 Post subject: Re: RRA permissions with Structured RRA Path error
PostPosted: Wed Feb 22, 2017 2:05 pm 
Offline

Joined: Fri Feb 10, 2017 2:45 pm
Posts: 39
Are you sure that the owner of the folder is who you want it to be (mcccacti)?

If the latest install overwrites the existing folder structure, it may overwrite the owner's permissions as well. Try:
Code:
linux# chmod mcccacati.mcccacti <path to cacti>/cacti -R


This will change ownership on all directories and files under <path to cacti>/cacti to be 'mcccacti'. Anything created going forward will be owned by 'mcccacti' as well.

Hope that helped.


Top
 Profile  
 
 Post subject: Re: RRA permissions with Structured RRA Path error
PostPosted: Mon Mar 06, 2017 5:57 pm 
Offline

Joined: Thu Jan 06, 2011 9:30 am
Posts: 43
Location: Nashville, TN
yeah tried that but still giving me heartache.

I've just been going in and chown to mccadmin for each new device I add.

it creates the directory as www-data:www-data but then is unable to change the permissions to mccadmin:www-data.

If I do not change it to mccadmin:www-data it will not create any rrd files so not sure what I have done to myself...LOL

Sure I did something wacky somewhere.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group