Alfresco CIFS 服务器错误

Alfresco CIFS Server ERROR

当我重新启动 Alfresco 时,它开始...我得到了页面...但是在日志中我收到了错误:

 2015-11-10 09:58:55,282  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'imap' subsystem, ID: [imap, default]
 2015-11-10 09:58:55,291  ERROR [org.alfresco.fileserver] [CIFS Server] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permissão negada
 2015-11-10 09:58:55,301  ERROR [org.alfresco.fileserver] [CIFS Server] Error from JLAN
 org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permissão negada
    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:745)
2015-11-10 09:58:55,360  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'imap' subsystem, ID: [imap, default] complete

错误是什么?我该如何解决?

该错误消息的关键部分是:

Error initializing TCP-IP SMB session handler, Permissão negada

那是在告诉您,当 Alfresco 尝试绑定(通过 JLAN)到提供 CIFS/SMB 所需的端口时,它的权限被拒绝

正如你 found out over on your related question on ServerFault, on Linux by default a normal user can't bind to ports below 1024. CIFS/SMB make heavy use of ports down in the one hundred range, which regular users aren't allowed to listen on. Details of how to check that and how to fix it are a bit out of scope for Whosebug, luckily they're covered in the answer on ServerFault :)

那段代码的另一个常见错误是 "Address already in use",您会看到是否有其他东西已经在侦听所需的端口,例如另一个 Alfresco 服务器,或者机器自己的 CIFS/SMB堆栈.