AnsweredAssumed Answered

NFS Server and Client Config

Question asked by mattiashem on Jul 19, 2011
Latest reply on Jul 27, 2011 by craig.michael.nelson
Hi

So i having problem setting upp the NFS server in alfresco.
I have tired to follow the links in the wiki but with out any sucess.

So i have in my config alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/file-server.xml

<config evaluator="string-compare" condition="NFS Server">
          <serverEnable enabled="true"/>
                <rpcAuthenticator>
                        <userMappings>
                                <user name="admin" uid="0" gid="0"/>
                        </userMappings>
                </rpcAuthenticator>
</config>


alfresco-3.4.d/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/fileServers/default/file-servers.properties
### NFS Server Configuration ###
nfs.enabled=true
# Mount/NFS server ports, 0 will allocate next available port
nfs.mountServerPort=0
nfs.nfsServerPort=2049

# RPC registration port, 0 will allocate next available port
#  Some portmapper/rpcbind services require a privileged port to be used
nfs.rpcRegisterPort=0

# To disable NFS and mount server registering with a portmapper set nfs.portMapperPort to -1
nfs.portMapperPort=111
# Enable the builtin portmapper service
nfs.portMapperEnabled=true

# NFS session debug flags (also enable org.alfresco.fileserver=debug logging level)
# Comma delimeted list of levels :-
#        RXDATA, TXDATA, DUMPDATA, SEARCH, INFO, FILE, FILEIO, ERROR, TIMING, DIRECTORY, SESSION
nfs.sessionDebug=

nfs.mountServerDebug=true


But non of them is aktivating my nfs share.
When i trie to mount using the clinet i only get


root@ebox:/media# sudo mount -t nfs 10.0.2.2:/alfresco /media/alfresco/
mount.nfs: internal error


ore

root@ebox:/media# sudo mount -t nfs 10.0.2.2:/alfresco /media/alfresco/
mount.nfs: mount to NFS server 'rpcbind' failed: RPC Error: Program not registered
mount.nfs: internal error

Alfreco in installed on a ubuntu 10.04.


Ragards Mattias

Outcomes