AnsweredAssumed Answered

Cannot start CIFS on FC8

Question asked by jsarg on Jun 24, 2008
Latest reply on Jun 25, 2008 by jsarg
Hello all,

I am currently trying to setup the CIFS on a FC8 linux box using Tomcat that already has a samba server running.  And just to be a pain i didn't use the 'simple' install as i already had MySQL up and running.
I have followed the steps as per http://wiki.alfresco.com/wiki/Changing_Bind_Addresses_and_Ports_for_Samba_and_FTP to use 2 ip addresses and it still wont work.

The log is indicating a java permission problem (java.net.BindException: Permission denied).
I can get rid of this error if  i turn the CIFS off in the file-servers.xml file, so i know this is the problem. But i am severely stuck!

Alfresco.log:

15:32:02,027 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
15:32:07,175 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
15:32:07,885 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
15:32:09,989 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco/extension
15:32:10,035 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
15:32:10,616 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
15:32:10,806 ERROR [org.alfresco.smb.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 org.alfresco.filesys.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:255)
at org.alfresco.filesys.smb.server.TcpipSMBSessionSocketHandler.createSessionHandlers(TcpipSMBSessionSocketHandler.java:165)
at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:505)
at java.lang.Thread.run(Thread.java:619)
15:32:10,985 WARN  [org.alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
15:32:10,991 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_06-b02; maximum heap size 494.938MB
15:32:10,991 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 494.938MB is less than recommended 512MB
15:32:10,992 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.9.0 (B 683) schema 116 - Installed version 2.9.0 (B 683) schema 116

Any help would be greatly appreciated!

Cheers

Jay

Outcomes