CageFS and my.cnf
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Hostking
  2. Tuesday, 07 October 2014
  3.  Subscribe via email
After making a change to /etc/my.cnf on a cpanel server with CageFS would I need to rebuild cagefs so all accounts my.cnf files are updated. Reason I ask this is I am see things like this when running \"locate my.cnf\" on the server:

/var/cagefs/94/machfud/etc/my.cnf
/var/cagefs/94/siyacap1/etc/my.cnf
/var/cagefs/94/ulukhozi/etc/my.cnf
/var/cagefs/94/wwgczohg/etc/my.cnf
/var/cagefs/95/hqlxxtyg/etc/my.cnf
/var/cagefs/95/hwbjqyhr/etc/my.cnf

Seems to be that each account in cagefs has their own my.cnf file and the changes I made to /etc/my.cnf are not going to those my.cnf files? Are are the above just not used?

Just want some clarity on this please. Not a mysql guru :)
Rate this post:
  1. 07.10.2014 08:10:32
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
After changing any file in /etc directory (including /etc/my.cnf) you should run:
cagefsctl --update-etc

or 
cagefsct --update (takes longer)
  1. 12.10.2014 14:10:27
  2. # 2
Host Provider Accepted Answer
Posts: 48
Joined: 31.01.2012
0
Votes
Undo
That doesn't really answer the questions, though:

1.  Seems to be that each account in cagefs has their own my.cnf file and the changes I made to /etc/my.cnf are not going to those my.cnf files? Are are the above just not used?

2. Are changes to main server /etc/my.cnf not live until CageFS is rebuilt? 

Thanks for the clarification.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.