Announcement

Collapse
No announcement yet.

Is .cagefs/tmp/mysql.sock needed? Or no longer used?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is .cagefs/tmp/mysql.sock needed? Or no longer used?

    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

  • #2
    Hi,

    Try to reload CageFS by running:

    Code:
    cagefsct --force-update
    
    cagefsctl -M

    Comment


    • #3
      Thanks. I ran cagefsctl --force-update but it did not recreate a /.cagefs/tmp/ directory under the one accounts .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?

      Comment


      • #4
        Hi,

        Please, submit a ticket at https://cloudlinux.zendesk.com so our support team can take a closer look at the issue.

        Comment


        • #5
          I was wondering if /.cagefs/tmp/mysql.sock should be there under each accounts home directory or should not be there in a current default cagefs configuration under cloudlinux6

          Comment


          • #6
            Just to follow up, it appears if /home/cpanelaccountname/.cagefs/tmp/mysql.sock doesnt get created/moved for some reason using the cpanel rearrange tool, it gets recreated the first time the account accesses mysql

            Comment

            Working...
            X