ISPConfig 3.1.13 | NFS storage

Discussion in 'Installation/Configuration' started by bdani, Oct 19, 2018.

  1. bdani

    bdani New Member

    [SOLVED]
    Hi,
    I have problem with my system.
    I moved my machine stores (vmail, www, backup) to a NFS storage:
    Serverside NFS (1.3.4-2) config:
    Code:
    /DATA/wmsrv 10.10.1.10(rw,insecure,sync,no_subtree_check,no_root_squash)
    Clientside fstab (1.2.8-6) config:
    Code:
    10.10.1.1:/DATA/wmsrv /DATA nfs4 _netdev,auto,proto=tcp 0 0
    /DATA/www /var/www none bind 0 0
    I have no permission problems, all privileges are working correctly. (Sure in server side, only ID-s the owner/group but i thunk this not problem)
    dovecot working perfectly, but the php sites are give 500 web error:
    (104)Connection reset by peer: [client 10.10.1.77:60270] mod_fcgid: error reading data from FastCGI server
    [client 10.10.1.77:60270] End of script output before headers: index.php
    In ISPConfig --> server config --> web section:
    Network Filesystem: checked
    Make web folders immutable (extended attributes): unchecked

    What am I missing?

    Regards

    Solved:
    Not mount all of www folder, only clients folder and now fcgid error gone:

    /DATA/www/clients /var/www/clients none bind 0 0
     
    Last edited: Oct 19, 2018
  2. bdani

    bdani New Member

    extra info:

    Before I mount the NFS storage:
    1. Disable protection
    Code:
    chattr -i /var/www/
    2. Move all of content to NFS server
     

Share This Page