AnsweredAssumed Answered

JLAN ermission denied,why?

Question asked by nyszhangyong on Jul 11, 2012
Latest reply on Jul 11, 2012 by afaust
Hello,everyone,

please help me analyze the following error, and then find a solution, thank you.

Downloaded alfresco source code from svn, version 4.1.d, after compilation and deployment, the following error, my OS is ubuntu 12.04 lts.



Jul 11, 2012 11:27:40 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /myhome/programFile/development/jdk/jdk1.6/jre/lib/amd64/server:/myhome/programFile/development/jdk/jdk1.6/jre/lib/amd64:/myhome/programFile/development/jdk/jdk1.6/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jul 11, 2012 11:27:41 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 11, 2012 11:27:41 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jul 11, 2012 11:27:41 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1665 ms
Jul 11, 2012 11:27:41 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 11, 2012 11:27:41 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.28
Jul 11, 2012 11:27:41 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /myhome/programFile/development/apache-tomcat-7.0.28/webapps/share.war
Jul 11, 2012 11:27:43 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
2012-07-11 11:27:53,645  INFO  [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2012-07-11 11:27:53,885  INFO  [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2012-07-11 11:27:53,886  INFO  [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2012-07-11 11:27:53,898  INFO  [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2012-07-11 11:27:57,683  INFO  [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 313 Web Scripts (+0 failed), 324 URLs
2012-07-11 11:27:57,688  INFO  [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 failed)
2012-07-11 11:27:57,688  INFO  [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2012-07-11 11:27:58,063  INFO  [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Spring Surf Container Web Script Container (in 4123.671ms)
2012-07-11 11:27:58,070  INFO  [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2012-07-11 11:27:58,075  INFO  [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
Jul 11, 2012 11:27:58 AM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
Jul 11, 2012 11:27:58 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
Jul 11, 2012 11:27:59 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /myhome/programFile/development/apache-tomcat-7.0.28/webapps/alfresco.war
Jul 11, 2012 11:28:03 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Jul 11, 2012 11:28:03 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
Jul 11, 2012 11:28:06 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
2012-07-11 11:28:26,252  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2012-07-11 11:28:26,342  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
Jul 11, 2012 11:28:37 AM org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine default created
Jul 11, 2012 11:28:38 AM com.hazelcast.config.InMemoryXmlConfig
INFO: Configuring Hazelcast from 'in-memory xml'.
2012-07-11 11:28:39,340  WARN  [alfresco.util.AbstractTriggerBean] [localhost-startStop-1] Job ehCacheTracerJob is not active/enabled
2012-07-11 11:28:42,826  INFO  [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor Repository Template Processor for extension ftl
2012-07-11 11:28:42,829  INFO  [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor Repository Script Processor for extension js
2012-07-11 11:28:51,509  INFO  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
Jul 11, 2012 11:28:54 AM org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine activitiBootstrapEngine created
2012-07-11 11:28:54,837  INFO  [domain.schema.SchemaBootstrap] [localhost-startStop-1] No changes were made to the schema.
Jul 11, 2012 11:28:54 AM org.activiti.engine.impl.jobexecutor.JobAcquisitionThread run
INFO: JobAcquisitionThread starting to acquire jobs
2012-07-11 11:28:57,447  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Search' subsystem, ID: [Search, managed, lucene]
2012-07-11 11:28:57,895  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Search' subsystem, ID: [Search, managed, lucene] complete
2012-07-11 11:28:59,022  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2012-07-11 11:28:59,155  ERROR [content.transform.RuntimeExecutableContentTransformerWorker] [localhost-startStop-1] Failed to start a runtime executable content transformer:
Execution result:
   os:         Linux
   command:    [./bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directory
2012-07-11 11:28:59,275  ERROR [transform.magick.AbstractImageMagickContentTransformerWorker] [localhost-startStop-1] ImageMagickContentTransformerWorker not available: 06110000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [./ImageMagick/bin/convert, /tmp/Alfresco/ImageMagickContentTransformerWorker_init_source_2412426761114984831.gif[0], /tmp/Alfresco/ImageMagickContentTransformerWorker_init_target_7584392738614435012.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory
2012-07-11 11:28:59,285  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
2012-07-11 11:28:59,285  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
2012-07-11 11:28:59,997  WARN  [alfresco.util.OpenOfficeConnectionTester] [localhost-startStop-1] An initial OpenOffice connection could not be established.
2012-07-11 11:29:00,018  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
2012-07-11 11:29:05,153  INFO  [repo.admin.ConfigurationChecker] [localhost-startStop-1] The Alfresco root data directory ('dir.root') is: /myhome/programFile/development/apache-tomcat-7.0.28/alf_data
2012-07-11 11:29:05,872  INFO  [admin.patch.PatchExecuter] [localhost-startStop-1] Checking for patches to apply …
2012-07-11 11:29:07,532  INFO  [admin.patch.PatchExecuter] [localhost-startStop-1] No patches were required.
2012-07-11 11:29:07,569  INFO  [repo.module.ModuleServiceImpl] [localhost-startStop-1] Found 0 module(s).
2012-07-11 11:29:07,583  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'fileServers' subsystem, ID: [fileServers, default]
2012-07-11 11:29:08,338  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2012-07-11 11:29:08,550  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2012-07-11 11:29:13,588  WARN  [org.alfresco.fileserver] [localhost-startStop-1] CIFS, Unable to get local domain/workgroup name, using default of WORKGROUP. This may be due to firewall settings or incorrect <broadcast> setting)
2012-07-11 11:29:13,649  ERROR [org.alfresco.fileserver] [CIFS Server] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
2012-07-11 11:29:13,670  ERROR [org.alfresco.fileserver] [CIFS Server] Error from JLAN
org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
   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:662)
2012-07-11 11:29:13,676  INFO  [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
2012-07-11 11:29:13,676  ERROR [org.alfresco.fileserver] [FTP Server] [FTP] FTP Socket error : java.net.BindException: Permission denied
2012-07-11 11:29:13,678  ERROR [org.alfresco.fileserver] [FTP Server] Error from JLAN
java.net.BindException: Permission denied
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
   at java.net.ServerSocket.bind(ServerSocket.java:328)
   at java.net.ServerSocket.<init>(ServerSocket.java:194)
   at java.net.ServerSocket.<init>(ServerSocket.java:150)
   at org.alfresco.jlan.ftp.FTPServer.run(FTPServer.java:554)
   at java.lang.Thread.run(Thread.java:662)

Outcomes