AnsweredAssumed Answered

Starting SMB on linux

Question asked by nparry on Aug 2, 2007
Latest reply on Aug 6, 2007 by chrysler
When I start up Alfresco in JBoss, I get the following error:


13:43:58,921 INFO  [protocol] SMB Server FEZ_A starting
13:43:58,931 INFO  [protocol] GUID 3ec0d553-97aa-36bf-ad57-1fcfbc2f0300
13:43:58,933 INFO  [protocol] Using authenticator org.alfresco.filesys.server.auth.EnterpriseCifsAuthenticator
13:43:58,933 INFO  [protocol] Server timezone America/New_York, offset from UTC = 5hrs
13:43:58,933 INFO  [protocol] Shares:
13:43:58,932 INFO  [server] Starting server FTP …
13:43:58,934 INFO  [protocol]  [Alfresco,DISK,,[Alfresco,workspace://SpacesStore/233a0729-3b75-11dc-bdac-03b8cc0523c0]] [Alfresco,workspace://SpacesStore/233a0729-3b75-11dc-bdac-03b8cc0523c0]
13:43:58,934 INFO  [protocol]  [AVM,DISK,,[AVM,VirtualView]] [AVM,VirtualView]
13:43:58,934 INFO  [protocol] Add Share [IPC$,IPC$,,Admin,Hidden] : true
13:43:58,935 INFO  [SchedulerStarterBean] Scheduler started
13:43:58,935 INFO  [QuartzScheduler] Scheduler DefaultScheduler_$_NON_CLUSTERED started.
13:43:58,960 ERROR [protocol] Server error :
java.net.BindException: Permission denied
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at java.net.ServerSocket.<init>(ServerSocket.java:141)
        at org.alfresco.filesys.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:257)
        at org.alfresco.filesys.smb.server.NetBIOSSessionSocketHandler.createSessionHandlers(NetBIOSSessionSocketHandler.java:165)
        at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:495)
        at java.lang.Thread.run(Thread.java:619)
13:43:58,961 INFO  [protocol] SMB Server shutting down …

I assume this is because I'm running JBoss as a non-root user, and Alfresco is trying to use a privileged port to start the SMB server.  How do I set this up so that my non-root user can run the SMB server and I can map the repository via CIFS on the Windows client side?

Thanks,
Nick P

Outcomes