Is .cagefs/tmp/mysql.sock needed? Or no longer used?
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. horizon
  2. 31.01.2021
  3.  Subscribe via email
Existing accounts have:
/home/cpanelaccountname/.cagefs/tmp/mysql.sock" -> "/var/lib/mysql/mysql.sock

When restoring from backup or using the cpanel rearrange tool, the
/home/cpanelaccountname/.cagefs/tmp directory or that mysql.sock symlink is not recreated for the restored account.

Should this appear under accounts restored from backup or is this no longer used?
/home/cpanelaccountname/.cagefs/tmp/mysql.sock" -> "/var/lib/mysql/mysql.sock
Rate this post:
  1. 31.01.2021 18:01:52
  2. # 1
Posts: 285
Joined: 31.01.2017
0
Votes
Undo
Hi,

Try to reload CageFS by running:


cagefsct --force-update
cagefsctl -M
  1. 31.01.2021 20:01:24
  2. # 2
horizon Accepted Answer
Posts: 10
Joined: 17.01.2020
0
Votes
Undo
Thanks. I ran cagefsctl --force-update but it did not recreate a /.cagefs/tmp/ directory under the one account's .cagefs directory (the one account which I used the cPanel rearrange tool to move as a test before proceeding further.)

On a current CloudLinux6 cPanel server, would you expect to see a /.cagefs/tmp/mysql.sock symlink under each account?

/home/cpanelaccountname/.cagefs/tmp/mysql.sock -> /var/lib/mysql/mysql.sock

Or is this no longer needed/used by cagefs?
  1. 31.01.2021 21:01:02
  2. # 3
Posts: 285
Joined: 31.01.2017
0
Votes
Undo
Hi,

Please, submit a ticket at https://cloudlinux.zendesk.com so our support team can take a closer look at the issue.
  1. 31.01.2021 22:01:36
  2. # 4
horizon Accepted Answer
Posts: 10
Joined: 17.01.2020
0
Votes
Undo
I was wondering if /.cagefs/tmp/mysql.sock should be there under each account's home directory or should not be there in a current default cagefs configuration under cloudlinux6
  1. 18.02.2021 23:02:25
  2. # 5
horizon Accepted Answer
Posts: 10
Joined: 17.01.2020
0
Votes
Undo
Just to follow up, it appears if /home/cpanelaccountname/.cagefs/tmp/mysql.sock doesn't get created/moved for some reason using the cpanel rearrange tool, it gets recreated the first time the account accesses mysql
  • 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.

EU e-Privacy Directive

This website uses cookies to ensure you get the best experience using our website and services. If you prefer we don’t use cookies, please disable them in your browser.

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.