cancel
Showing results for 
Search instead for 
Did you mean: 

Erreur au lancement : Cannot run program

waazdaka
Champ in-the-making
Champ in-the-making
Bonjour,

Alors voila j'ai buché dessus toute la journée mais je n'ai toujours pas trouvé de solution fonctionnelle.
Alfresco (Share et Explorer) fonctionne bien sur le serveur Ubuntu 10.04.
Seul problème: les programmes "annexes" ne se lancent pas. (OpenOffice, pdf2swf, ImageMagick).
Tous cela est fonctionnel en dehors d'alfresco.

voici les logs de lancement:

Catalina.out

Sep 16, 2010 3:44:09 PM 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: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
Sep 16, 2010 3:44:09 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 16, 2010 3:44:09 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 355 ms
Sep 16, 2010 3:44:09 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 16, 2010 3:44:09 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Sep 16, 2010 3:44:09 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Sep 16, 2010 3:44:09 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
Sep 16, 2010 3:44:09 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Sep 16, 2010 3:44:09 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor alfresco.xml
Sep 16, 2010 3:44:10 PM 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.
15:44:13,795  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
15:44:13,797  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
15:44:13,797  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
15:44:13,797  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
15:44:13,797  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/var/lib/tomcat6/shared/classes/alfresco-global.properties]
15:44:13,797  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco-global.properties]
15:44:13,828  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
OpenJDK 64-Bit Server VM warning: Attempt to allocate stack guard pages failed.
Sep 16, 2010 3:45:45 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
15:45:49,884  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 227 Web Scripts (+0 failed), 235 URLs
15:45:49,885  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
15:45:49,885  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
15:45:49,954  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 886.3341ms)
15:45:50,000  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:45:50,061  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:45:50,185  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:45:50,189  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:45:50,237  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:45:50,240  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
Sep 16, 2010 3:45:51 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive gestion.war
Sep 16, 2010 3:45:51 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 16, 2010 3:45:51 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 102182 ms

et alfresco.log

15:44:24,867 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
15:44:24,868 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
15:44:28,972 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
15:44:30,160 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
15:44:30,428 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
15:44:30,437 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:30,446 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
15:44:32,323 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
15:44:32,332 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:32,365 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] Failed to start a runtime executable content transformer:
Execution result:
   os:         Linux
   command:    [/usr/local/bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/usr/local/bin/pdf2swf": java.io.IOException: error=12, Cannot allocate memory
15:44:32,401 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 08160000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [/usr/bin/convert, /tmp/tomcat6-tmp/Alfresco/ImageMagickContentTransformerWorker_init_source_467378057042713776.gif[0], /tmp/tomcat6-tmp/Alfresco/ImageMagickContentTransformerWorker_init_target_5921844881676053731.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/usr/bin/convert": java.io.IOException: error=12, Cannot allocate memory
15:44:32,404 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
15:44:32,404 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
15:44:32,412 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:33,106 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    [/usr/bin/soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///srv/alfresco/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
   succeeded:  false
   exit code:  2
   out:       
   err:        Cannot run program "/usr/bin/soffice": java.io.IOException: error=12, Cannot allocate memory
15:44:33,146 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
15:44:33,154 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
15:44:37,247 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /srv/alfresco/alf_data
15:44:37,784 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
15:44:38,040 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
15:44:38,068 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
15:44:38,094 WARN  [org.alfresco.repo.module.ModuleServiceImpl] A previously-installed module 'org.alfresco.module.vti' (version 1.2) is not present in your distribution.
15:44:38,095 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
15:44:38,106 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:38,262 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
15:44:38,272 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:38,352 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
15:44:43,364 ERROR [org.alfresco.fileserver] Failed to get local domain/workgroup name, using default of WORKGROUP
15:44:43,364 ERROR [org.alfresco.fileserver] (This may be due to firewall settings or incorrect <broadcast> setting)
15:44:43,401 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
15:44:43,401 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
15:44:43,401 ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
15:44:43,414 ERROR [org.alfresco.fileserver] org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
15:44:43,414 ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
15:44:43,414 ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:472)
15:44:43,414 ERROR [org.alfresco.fileserver]    at java.lang.Thread.run(Thread.java:636)
15:44:43,407 ERROR [org.alfresco.fileserver] [FTP] FTP Socket error : java.net.BindException: Permission denied
15:44:43,423 ERROR [org.alfresco.fileserver] java.net.BindException: Permission denied
15:44:43,423 ERROR [org.alfresco.fileserver]    at java.net.PlainSocketImpl.socketBind(Native Method)
15:44:43,423 ERROR [org.alfresco.fileserver]    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
15:44:43,423 ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.bind(ServerSocket.java:336)
15:44:43,423 ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.<init>(ServerSocket.java:202)
15:44:43,423 ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.<init>(ServerSocket.java:158)
15:44:43,423 ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.ftp.FTPServer.run(FTPServer.java:555)
15:44:43,423 ERROR [org.alfresco.fileserver]    at java.lang.Thread.run(Thread.java:636)
15:44:43,422 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:43,462 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
15:44:43,462 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
15:44:43,469 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:43,494 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
15:44:43,494 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
15:44:43,502 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:43,530 WARN  [org.springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'blockedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.lang.String)]
15:44:43,530 WARN  [org.springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'allowedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.lang.String)]
15:44:44,235 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
15:44:44,235 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
15:44:44,251 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:44,424 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
15:44:44,424 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Enabled - calculate missing user usages …
15:44:44,430 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Found 0 users to recalculate
15:44:44,430 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] … calculated missing usages for 0 users
15:44:44,430 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
15:44:44,438 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:44:44,729 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
15:44:44,773 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_18-b18; maximum heap size 494.938MB
15:44:44,773 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 494.938MB is less than recommended 512MB
15:44:44,773 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.3.0 (g 2860) schema 4100 - Originally installed version 3.3.0 (g 2860) schema 4100
15:45:44,708 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 340 Web Scripts (+0 failed), 576 URLs
15:45:44,708 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
15:45:44,708 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
15:45:44,709 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 7348.761ms)
15:45:44,710 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:45:44,711 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js

J'ai déjà modifié /etc/init.d/tomcat6 pour mettre -Xmx1024M  et  -XX:MaxPermSize=512m

La limite n'est probablement pas physique (Processeur Intel Core i5 750 4x 2.66+ GHz avec Architecture 64b et 8Go DDR3 de ram)

Mais je ne trouve pas ce qu'il faut configurer pour que ces programmes se lancent "dans" alfresco (ils tournent très bien en même temps que le serveur).
Merci d'avance à tous ceux qui pourront réfléchir à cela.

WaazdaKa.
22 REPLIES 22

jeanjot
Confirmed Champ
Confirmed Champ
Bonjour

Vous avez visiblement des problèmes d'allocation mémoire sur votre ubuntu (voir les "cannot allocate memory"):
 09:04:02,602 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] Failed to start a runtime executable content transformer:
Execution result:
   os:         Linux
   command:    [/usr/local/bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:      
   err:        Cannot run program "/usr/local/bin/pdf2swf": java.io.IOException: error=12, Cannot allocate memory
09:04:02,640 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 08170000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [/usr/bin/convert, /tmp/tomcat6-tmp/Alfresco/ImageMagickContentTransformerWorker_init_source_4735390157752809991.gif[0], /tmp/tomcat6-tmp/Alfresco/ImageMagickContentTransformerWorker_init_target_4638738115867841059.png]
   succeeded:  false
   exit code:  1
   out:      
   err:        Cannot run program "/usr/bin/convert": java.io.IOException: error=12, Cannot allocate memory
09:04:02,644 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
09:04:02,644 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
09:04:02,652 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
09:04:03,491 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    [/usr/bin/soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///srv/alfresco/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
   succeeded:  false
   exit code:  2
   out:      
   err:        Cannot run program "/usr/bin/soffice": java.io.IOException: error=12, Cannot allocate memory

Combien de mémoire avez-vous sur votre machine.
Quelle procédure d'installation avez-vous effectuée ?
faites aussi un :
whereis pdf2swf

jeanjot
Confirmed Champ
Confirmed Champ
Re

Sur votre erreur d'allocation, vous trouver de l'information dans cette page du wiki :
http://wiki.alfresco.com/wiki/Installing_Alfresco_components#Common_Notes:

waazdaka
Champ in-the-making
Champ in-the-making
Les whereis donnent les bons résultats.
# whereis convert
convert: /usr/bin/convert /usr/share/man/man1/convert.1.gz
# whereis soffice
soffice: /usr/bin/soffice
# whereis pdf2swf
pdf2swf: /usr/local/bin/pdf2swf
L'erreur serait un fichier introuvable et non pas un problème d'allocation mémoire  sinon non?

Je suis connecté en tant que root lorsque je lance alfresco si c'est la question.

J'ai 8Go de RAM donc je ne pense pas que le problème puisse venir de là.

Et enfin j'ai installé Alfresco à partir d'un tomcat et mysql déjà existants, j'ai donc rajouté les liens vers les .war (alfresco, share et ROOT) dans le webapps du tomcat et modifié les fichiers de conf.

jeanjot
Confirmed Champ
Confirmed Champ
Bonsoir

Vous avez changé le jdk comme demandé par Rodel ?
Si oui quelle version utilisez vous ?

waazdaka
Champ in-the-making
Champ in-the-making
j'utilise le jdk du package sun-java6-jdk

Par contre je crois avoir une piste. j'ai lu dans un autre post que l'utilisateur du processus "java" devait etre root… or le mien est tomcat6.
J'ai donc fait
chgrp -R tomcat6 /etc/tomcat6
chmod -R g+w /etc/tomcat6
mais ca n'a rien changé…
Si jamais ca n'est pas le cas comment donner à tomcat6 l'autorisation de lancer des programmes?

jayjayecl
Confirmed Champ
Confirmed Champ
pourriez-vous donner la nouvelle trace de logs de démarrage avec le sun jdk 6 ?
Merci

waazdaka
Champ in-the-making
Champ in-the-making
Bien sur.

catalina.out:
Sep 17, 2010 3:45:37 PM 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: /usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.20/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Sep 17, 2010 3:45:37 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2010 3:45:37 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 350 ms
Sep 17, 2010 3:45:37 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2010 3:45:37 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Sep 17, 2010 3:45:37 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Sep 17, 2010 3:45:38 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
Sep 17, 2010 3:45:38 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Sep 17, 2010 3:45:38 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor alfresco.xml
Sep 17, 2010 3:45:38 PM 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.
15:45:42,832  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
15:45:42,834  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
15:45:42,834  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco/module/test/alfresco-global.properties]
15:45:42,834  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from file [/var/lib/tomcat6/webapps/alfresco/WEB-INF/classes/alfresco/module/tests/alfresco-global.properties]
15:45:42,834  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/var/lib/tomcat6/shared/classes/alfresco-global.properties]
15:45:42,866  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
Sep 17, 2010 3:47:23 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive share.war
15:47:27,710  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 227 Web Scripts (+0 failed), 235 URLs
15:47:27,711  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
15:47:27,711  INFO  [extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
15:47:27,775  INFO  [extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 895.2243ms)
15:47:27,816  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:47:27,873  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:47:28,015  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:47:28,018  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:47:28,067  INFO  [extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:47:28,070  INFO  [extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
Sep 17, 2010 3:47:29 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive gestion.war
Sep 17, 2010 3:47:29 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2010 3:47:29 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 111517 ms

alfresco.log:
15:45:54,140 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
15:45:54,141 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
15:46:00,145 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
15:46:01,619 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
15:46:01,913 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
15:46:01,923 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:01,931 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
15:46:03,022 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
15:46:03,032 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:03,060 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformerWorker] Failed to start a runtime executable content transformer:
Execution result:
   os:         Linux
   command:    [/usr/local/bin/pdf2swf, -V]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/usr/local/bin/pdf2swf": java.io.IOException: error=12, Cannot allocate memory
15:46:03,130 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 08170000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [/usr//bin/convert, /tmp/tomcat6-tmp/Alfresco/ImageMagickContentTransformerWorker_init_source_6917297000410303584.gif[0], /tmp/tomcat6-tmp/Alfresco/ImageMagickContentTransformerWorker_init_target_8266143622670678335.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/usr//bin/convert": java.io.IOException: error=12, Cannot allocate memory
15:46:03,133 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
15:46:03,133 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
15:46:03,140 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:03,909 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    [/usr/bin/soffice, -accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager, -env:UserInstallation=file:///srv/alfresco/alf_data/oouser, -nologo, -headless, -nofirststartwizard, -nocrashrep, -norestore]
   succeeded:  false
   exit code:  2
   out:       
   err:        Cannot run program "/usr/bin/soffice": java.io.IOException: error=12, Cannot allocate memory
15:46:03,955 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
15:46:03,962 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
15:46:08,885 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /srv/alfresco/alf_data
15:46:09,231 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
15:46:09,494 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
15:46:09,525 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
15:46:09,558 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
15:46:10,848 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
15:46:10,858 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:11,036 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
15:46:11,049 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:11,135 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
15:46:16,147 ERROR [org.alfresco.fileserver] Failed to get local domain/workgroup name, using default of WORKGROUP
15:46:16,147 ERROR [org.alfresco.fileserver] (This may be due to firewall settings or incorrect <broadcast> setting)
15:46:16,180 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
15:46:16,180 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
15:46:16,180 ERROR [org.alfresco.fileserver] [FTP] FTP Socket error : java.net.BindException: Permission denied
15:46:16,193 ERROR [org.alfresco.fileserver] java.net.BindException: Permission denied
15:46:16,193 ERROR [org.alfresco.fileserver]    at java.net.PlainSocketImpl.socketBind(Native Method)
15:46:16,193 ERROR [org.alfresco.fileserver]    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
15:46:16,193 ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.bind(ServerSocket.java:319)
15:46:16,193 ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.<init>(ServerSocket.java:185)
15:46:16,193 ERROR [org.alfresco.fileserver]    at java.net.ServerSocket.<init>(ServerSocket.java:141)
15:46:16,193 ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.ftp.FTPServer.run(FTPServer.java:555)
15:46:16,193 ERROR [org.alfresco.fileserver]    at java.lang.Thread.run(Thread.java:619)
15:46:16,201 ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
15:46:16,201 ERROR [org.alfresco.fileserver] org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Permission denied
15:46:16,201 ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
15:46:16,201 ERROR [org.alfresco.fileserver]    at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:472)
15:46:16,201 ERROR [org.alfresco.fileserver]    at java.lang.Thread.run(Thread.java:619)
15:46:16,206 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:16,242 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
15:46:16,242 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
15:46:16,249 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:16,281 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
15:46:16,281 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
15:46:16,289 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:16,315 WARN  [org.springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'blockedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setBlockedSenders(java.lang.String)]
15:46:16,315 WARN  [org.springframework.beans.GenericTypeAwarePropertyDescriptor] Invalid JavaBean property 'allowedSenders' being accessed! Ambiguous write methods found next to actually used [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.util.List)]: [public void org.alfresco.email.server.EmailServer.setAllowedSenders(java.lang.String)]
15:46:16,335 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
15:46:16,335 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
15:46:16,351 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:17,163 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
15:46:17,163 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Enabled - calculate missing user usages …
15:46:17,170 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Found 0 users to recalculate
15:46:17,170 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] … calculated missing usages for 0 users
15:46:17,170 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
15:46:17,178 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
15:46:17,480 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
15:46:17,553 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_20-b02; maximum heap size 494.938MB
15:46:17,553 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 494.938MB is less than recommended 512MB
15:46:17,553 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.3.0 (g 2860) schema 4100 - Originally installed version 3.3.0 (g 2860) schema 4100
15:47:14,804 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 7070
15:47:21,946 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 341 Web Scripts (+0 failed), 577 URLs
15:47:21,946 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
15:47:21,946 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
15:47:21,948 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 6990.8906ms)
15:47:21,948 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:47:21,949 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js

sylv1
Champ in-the-making
Champ in-the-making
Bonjour,

Est-ce que la SWAP est elle aussi conséquente ? (voir http://wiki.alfresco.com/wiki/Installing_Alfresco_components)

Bonne soirée  :wink: .

jeanjot
Confirmed Champ
Confirmed Champ
Bonsoir

pour ma part je n'ai que 2Go de mémoire dans une virtualbox et cela ne pose aucun problème sur une ubuntu 09.10.

Or waazdaka à 8gO de mémoire …

Par conséquent je pense que le problème est ailleurs.

Peut-être pourriez-vous refaire une installation à partir d'un package alfresco complet intégrant tomcat.
Ce n'est qu'une idée …

plevasseur
Champ in-the-making
Champ in-the-making
Bonjour,

Pouvez-vous taper la commande free, dans un terminal, en vous connectant root, pour voir (ci-dessous un exemple).


root@alfresco:~# free
             total       used       free     shared    buffers     cached
Mem:       3824928    1474900    2350028          0     148196     806864
-/+ buffers/cache:     519840    3305088
Swap:      1912460          0    1912460

- 1) Exécuter la commande free avant de lancer Alfresco. (Image mémoire avant exécution)
- 2) Lancer Alfresco.
- 3) Relancer la commande free. (Image mémoire après exécution)


Cordialement. Pierre.