I have installed the Alfresco-community-tomcat 2.1.0 version, all up and running, everything is working allright,webclient, also webdav, but no connection via a network mapping, can anyone help:
Server: Ubuntu 6.06.2 Mysql: 5.0.22
custom-repository.properties: ############################### ## Common Alfresco Properties # ###############################
# # Sample custom content and index data location # dir.root=/var/lib/alfresco/alf_data dir.indexes=/var/lib/alfresco/alf_data
# # Property to control whether schema updates are performed automatically. # Updates must be enabled during upgrades as, apart from the static upgrade scripts, # there are also auto-generated update scripts that will need to be executed. After # upgrading to a new version, this can be disabled. # db.schema.update=true
# # MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server) # db.driver=org.gjt.mm.mysql.Driver db.url=jdbc:mysql://localhost/alfresco
# # Oracle connection (requires ojdbc14_g.jar or equivalent jar in shared libraries location) # #db.driver=oracle.jdbc.OracleDriver #db.url=jdbcracle:thin:@localhost:1521:alfresco
# # Sybase connection (requires jconn2d.jar or equivalent jar in shared libraries location) # #db.driver=com.sybase.jdbc2.jdbc.SybDriver #db.url=jdbc:sybase:Tds:localhost:2638/alfresco
<!– To override the default Alfresco filesystem use replace="true", to –> <!– add additional filesystems remove the replace="true" attribute –> <config evaluator="string-compare" condition="Filesystems"> <filesystems>
<!– Add a URL file to each folder that links back to the web client –> <urlFile> <filename>__Alfresco.url</filename> <webpath>http://${localname}:8080/alfresco/</webpath> </urlFile>
<!– Mark locked files as offline –> <offlineFiles/>
<!– Set to the broadcast mask for the subnet –> <broadcast>255.255.255.255</broadcast>
<!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –> <tcpipSMB platforms="linux,solaris,macosx"/> <netBIOSSMB platforms="linux,solaris,macosx"/>
<!– Can be mapped to non-privileged ports, then use firewall rules to forward requests from the standard ports –> <!– <tcpipSMB port="1445" platforms="linux,solaris,macosx"/> <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/> –> <hostAnnounce interval="5"/>
<!– Use Win32 NetBIOS interface on Windows –> <Win32NetBIOS/> <Win32Announce interval="5"/>
<!– Add a URL file to each folder that links back to the web client –> <urlFile> <filename>__AlfrescoClient.url</filename> <webpath>http://${localname}:8080/alfresco/</webpath> </urlFile>
<!– Mark locked files as offline –> <offlineFiles/>
<!– Desktop actions –> <!– Uses a client-side application to trigger a server-side action –> <!– Echo - displays a message echoed from the server –> <!– URL - launches a URL via the Windows shell –> <!– CmdLine - launches the Notepad application –> <!– CheckInOut - checks files in/out, drag and drop files onto the application –> <!– JavaScript - run a server-side script –> <!– JavaScriptURL - server-side script that generates a URL to the folder using a ticket –> <!– to avoid having to logon –>
Apr 29, 2008 11:25:49 AM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Apr 29, 2008 11:25:49 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 6282 ms Apr 29, 2008 11:25:49 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Apr 29, 2008 11:25:49 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.23 Apr 29, 2008 11:25:50 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Apr 29, 2008 11:25:52 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive alfresco.war 11:26:59,314 WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one 11:27:14,338 INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect. 11:27:17,054 INFO [domain.schema.SchemaBootstrap] No changes were made to the schema. 11:27:22,369 INFO [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco/alf_data 11:27:22,806 INFO [admin.patch.PatchExecuter] Checking for patches to apply … 11:27:23,145 INFO [repo.module.ModuleServiceImpl] Found 0 module(s). 11:27:29,350 ERROR [alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP 11:27:29,350 ERROR [alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting) 11:27:29,528 ERROR [smb.protocol.netbios] NetBIOSNameServer setup error: java.net.BindException: Permission denied at java.net.PlainDatagramSocketImpl.bind0(Native Method) at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82) at java.net.DatagramSocket.bind(DatagramSocket.java:368) at java.net.DatagramSocket.<init>(DatagramSocket.java:210) at java.net.DatagramSocket.<init>(DatagramSocket.java:261) at java.net.DatagramSocket.<init>(DatagramSocket.java:234) at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1085) at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1611) at java.lang.Thread.run(Thread.java:619) 11:27:29,604 ERROR [alfresco.ftp.protocol] FTP Socket 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.ftp.FTPNetworkServer.run(FTPNetworkServer.java:407) at java.lang.Thread.run(Thread.java:619) 11:27:29,666 INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0-b105; maximum heap size 506.313MB 11:27:29,667 INFO [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (484) schema 64 - Installed version 2.1.0 (484) schema 64 11:27:29,772 ERROR [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 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) Apr 29, 2008 11:27:41 AM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Apr 29, 2008 11:27:41 AM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Apr 29, 2008 11:27:41 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 112507 ms
Thank you for helping me out, it has become a painfull proces,
Are you running it as root? If you are running it as root, are the nmbd and smbd services stopped?
If you are not running it as root, you need to forward the SMB traffic to non-privileged ports via iptables. Check the Wiki for instructions. I can see from your file-servers.xml file that you have not forwarded SMB traffic to non-privileged ports.
Thanks , but did not bring me any further, i consulted the wiki and did some configuration, but still no network connection, and still the permission denied in the catalina.out logfile, can you please help me with this ?