Announcement

Collapse
No announcement yet.

CageFS and /home over NFS

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

  • CageFS and /home over NFS

    Hello,

    Im using centos 6 + latest stable cpanel + cloudlinux + cagefs.
    /home is mounted and used over NFS.
    After installing cagefs - apache outputs error 500 and error log shows:

    "SoftException in Application.cpp:467: CageFS jail error Unable to determine realpath of /home/username (No such file or directory)"

    ... but /home/username exists and holds the user data.

    Please advise - is cagefs compatible with nfs?

    Thanks upfront.

  • #2
    Try running:
    lvectl start
    cagefsctl --remount-all

    if that helps -- we will guide you how to fix the issue for good.

    Comment


    • #3
      Yeah, that seems to work. Web sites are loading fine now ... until rebooting the server - that brings the old error. Whats wrong?

      Comment


      • #4
        Basically, you have to make sure that lvectl start command is executed after NFS mounts are done.
        Typically this command is executed when /etc/init.d/lvectl is executed on start up.
        It makes "CageFS" to remember mount points for namespaces, so that it wouldnt pickup /backup, etc.. that often mounted later on.

        Imho, the best way to handle such case, is to modify a script that mounts NFS partition, and add to the end of it /usr/sbin/lvectl start

        Comment


        • #5
          Thanks

          Comment

          Working...
          X