File-server не под рутом
Добрый день. Запускаю альфреско не под рутом, порты назначил не дефолтные.
В логах выдаёт.
система Ubuntu Server 14.04 LTS, Alfresco Community 4.2.F (r63893-b12) schema 6033, Alvex Community v2014.05 (dev)
В логах выдаёт.
2014-06-25 17:06:12,071 ERROR [org.alfresco.fileserver] [FTP Server] [FTP] FTP Socket error : java.net.BindException: Отказано в доступе 2014-06-25 17:06:12,081 ERROR [org.alfresco.fileserver] [CIFS Server] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Отказано в доступе 2014-06-25 17:06:12,093 ERROR [org.alfresco.fileserver] [FTP Server] Error from JLAN java.net.BindException: Отказано в доступе at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) at java.net.ServerSocket.bind(ServerSocket.java:376) at java.net.ServerSocket.<init>(ServerSocket.java:237) at java.net.ServerSocket.<init>(ServerSocket.java:181) at org.alfresco.jlan.ftp.FTPServer.run(FTPServer.java:554) at java.lang.Thread.run(Thread.java:724) 2014-06-25 17:06:12,093 ERROR [org.alfresco.fileserver] [CIFS Server] Error from JLAN org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Отказано в доступе at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259) at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:479) at java.lang.Thread.run(Thread.java:724)Вот конфиг file-sever.properties
# Alfresco filesystem context filesystem.name=Alfresco filesystem.acl.global.defaultAccessLevel= # AVM filesystem context filesystem.avm.name=AVM # Are the virtual views enabled filesystem.avm.enabled=true # virtual view stores filter can be any of the following: normal, site, staging, author, preview filesystem.avm.stores=site,staging,author ### Root directory to open onto ### filesystem.storeName=${spaces.store} filesystem.rootPath=${protocols.rootPath} # ALF-3856 # File name patterns that trigger rename shuffle detection # pattern is used by rename - tested against full path after it has been lower cased. filesystem.renameShufflePattern=(.*[a-f0-9]{8}+$)|(.*\\.tmp$)|(.*\\.wbk$)|(.*\\.bak$)|(.*\\~$) # MNT-211 # File name patterns for rename shuffle detection CSV files. filesystem.renameCSVShufflePattern=.*[a-f0-9]{8}+$ # Should we ever set the read only flag on folders? This may cause problematic # behaviour in Windows clients. See ALF-6727. filesystem.setReadOnlyFlagOnFolders=false ### CIFS Server Configuration ### cifs.enabled=true cifs.serverName=${localname}A cifs.domain= cifs.broadcast=255.255.255.255 # An empty value indicates bind to all available network adapters cifs.bindto= cifs.ipv6.enabled=false cifs.hostannounce=true # Enable the use of asynchronous sockets/NIO code cifs.disableNIO=false # Disable the use of JNI code. Only currently affects Windows cifs.disableNativeCode=false # Session timeout, in seconds. Defaults to 15 minutes, to match the default Windows client setting. # If no I/O is received within that time the session is closed by the server cifs.sessionTimeout=900 # Maximum virtual circuits per session # Should only be changed when using Terminal Server clients cifs.maximumVirtualCircuitsPerSession=16 # Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports cifs.tcpipSMB.port=8445 cifs.netBIOSSMB.sessionPort=8139 cifs.netBIOSSMB.namePort=8137 cifs.netBIOSSMB.datagramPort=8138 # Optional WINS server primary and secondary IP addresses. Ignored if autoDetectEnabled=true cifs.WINS.autoDetectEnabled=true cifs.WINS.primary=1.2.3.4 cifs.WINS.secondary=5.6.7.8 # CIFS session debug flags (also enable org.alfresco.fileserver=debug logging level) # Comma delimeted list of levels :- # NETBIOS, STATE, RXDATA, TXDATA, DUMPDATA, NEGOTIATE, TREE, SEARCH, INFO, FILE, FILEIO, TRANSACT # ECHO, ERROR, IPC, LOCK, PKTTYPE, DCERPC, STATECACHE, TIMING, NOTIFY, STREAMS, SOCKET, PKTPOOL # PKTSTATS, THREADPOOL, BENCHMARK cifs.sessionDebug= # Big Switch, are the Desktop Actions and URL shortcuts shown for CIFS ? cifs.pseudoFiles.enabled=true # CIFS URL for alfresco explorer cifs.pseudoFiles.explorerURL.enabled=true cifs.pseudoFiles.explorerURL.fileName=__Alfresco.url # Cifs URL for alfresco share cifs.pseudoFiles.shareURL.enabled=false cifs.pseudoFiles.shareURL.fileName=__Share.url ### FTP Server Configuration ### ftp.enabled=true ftp.port=2121 # An empty value indicates bind to all available network adapters ftp.bindto= # FTP data port range, a value of 0:0 disables the data port range and will use the next available port # Valid range is 1024-65535 ftp.dataPortFrom=0 ftp.dataPortTo=0 # FTPS support (enabled when the keystore and truststore are set) ftp.keyStore= ftp.keyStoreType=JKS ftp.keyStorePassphrase= ftp.trustStore= ftp.trustStoreType=JKS ftp.trustStorePassphrase= ftp.requireSecureSession=true ftp.sslEngineDebug=false # FTP session debug flags (also enable org.alfresco.fileserver=debug logging level) # Comma delimeted list of levels :- # STATE, RXDATA, TXDATA, DUMPDATA, SEARCH, INFO, FILE, FILEIO, ERROR, PKTTYPE, TIMING, DATAPORT, DIRECTORY, SSL ftp.sessionDebug= ### NFS Server Configuration ### nfs.enabled=false # NodeMonitor to update cache of NFS server on nodes renaming and deleting not through NFS protocol nfs.nodeMonitor.enabled=${nfs.enabled} # 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=false # 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=false # # Filesystem cluster configuration # # Hazelcast cluster debug flags # Comma delimeted list of levels # "StateCache", "Expire", "NearCache", "Oplock", "ByteLock", "FileAccess", "Membership", # "Cleanup", "PerNode", "ClusterEntry", "ClusterMessage", "RemoteTask", "RemoteTiming", # "Rename", "FileDataUpdate", "FileStatus" filesystem.cluster.debugFlags= # # Is content open in the file systems locked by the repository? # filesystem.lockKeeperEnabled=true #Number of seconds to hold an ephemeral lock - 2 hours filesystem.lockKeeperTimeout=7200 #Run refresh job every hour filesystem.lockKeeperRefreshCronExpression=0 * */1 * * ?В чём может быть дело?
система Ubuntu Server 14.04 LTS, Alfresco Community 4.2.F (r63893-b12) schema 6033, Alvex Community v2014.05 (dev)
Комментарии
26/06/2014 - 13:25