cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with FTP port bind on Linux

ghernando
Champ in-the-making
Champ in-the-making
I just tried installinf Alfresco 2.9B on Ubuntu 7.10.

On startup, I see in the catalina.out file the following.
Why would I not have permission for FTP?

Thanks!

Mar 6, 2008 6:07:52 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3504 ms
Mar 6, 2008 6:07:52 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 6, 2008 6:07:52 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Mar 6, 2008 6:07:52 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Mar 6, 2008 6:07:53 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
06:08:40,711 UserSmiley Frustratedystem WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
06:08:50,917 UserSmiley Frustratedystem INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
06:08:52,915 UserSmiley Frustratedystem INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
06:08:54,914 UserSmiley Frustratedystem INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco/alf_data
06:08:54,914 UserSmiley Frustratedystem INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
06:08:56,210 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
06:09:00,911 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
06:09:00,911 UserSmiley Frustratedystem ERROR [alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
06:09:01,911  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)
06:09:01,911 UserSmiley Frustratedystem INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_03-b05; maximum heap size 506.313MB
06:09:01,911 UserSmiley Frustratedystem INFO  [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
Mar 6, 2008 6:09:12 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 6, 2008 6:09:12 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Mar 6, 2008 6:09:12 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 80665 ms
1 REPLY 1

janv
Employee
Employee
http://wiki.alfresco.com/wiki/Troubleshooting#BindException:_Permission_denied

The FTP port can be re-configured in file-servers-custom.xml, for example:

    <config evaluator="string-compare" condition="FTP Server">
        <serverEnable enabled="true"/>
        <port>1121</port>
    </config>

Regards,
Jan