4.0d: passage en production

cancel
Showing results for 
Search instead for 
Did you mean: 
dranakan
Active Member

Re: 4.0d: passage en production

en principe ce problème "BindException: Address already in use" apparaît quand Alfresco est démarré plusieurs fois… ou qu'une autre application utilise ses ports…
Essayez d'éteindre Alfresco complétement (plus aucun process), vérifiez que les ports pour Alfresco ne soient pas utilisés…

Je n'ai jamais eu besoin de désactiver les RMI services ports.
jean
Member II

Re: 4.0d: passage en production

Alfresco n'était démarré qu'une seule fois set selon les commandes netstat lancées avant le démarrage Alfresco, rien ne semblait indiquer un port déjà utilisé…
Ceci dit, j'ai décommenté les lignes suivantes:
### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0
donc maintenant, les ports sont fixés explicitement, auparavant, ils l'étaient par défaut semble-t'il, sur ces mêmes valeurs.
Celà m'a permis d'avoir un message d'erreur un peu plus explicite:
11:09:00,546 ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Address already in use
11:09:00,554 ERROR [org.alfresco.fileserver] Error from JLAN
org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Address already in use
        at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
        at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:475)
        at java.lang.Thread.run(Thread.java:662)
11:09:00,555 ERROR [org.alfresco.fileserver] [FTP] FTP Socket error : java.net.BindException: Address already in use
11:09:00,554 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
11:09:00,569 ERROR [org.alfresco.fileserver] Error from JLAN
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
        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.jlan.ftp.FTPServer.run(FTPServer.java:554)
        at java.lang.Thread.run(Thread.java:662)

Caused by: java.net.BindException: Address already in use

je ne comprends pas cette ligne:
Error initializing TCP-IP SMB session handler, Address already in use
Suite à cette erreur TCP-IP SMB session, j'ai essayé de dé-commenter les lignes suivantes:
#cifs.netBIOSSMB.namePort=1137
#cifs.netBIOSSMB.datagramPort=1138
#cifs.netBIOSSMB.sessionPort=1139
De cette manière, les ports CIFS/SMB sont maintenant fixés explicitement, mais au redémarrage du serveur, même message d'erreur…
Et je ne peux toujours pas me logguer:
Je vais maintenant essayer de désactiver complètement CIFS… Pour voir si je peux au moins me logguer…  :?
jean
Member II

Re: 4.0d: passage en production

pas mieux…
voici mon paramétrage actuel:
root@SMALF001:/opt/alfresco-4.0.d# cat /opt/alfresco-4.0.d/tomcat/shared/classes/alfresco-global.properties
###############################
## Common Alfresco Properties #
###############################

dir.root=/opt/alfresco-4.0.d/alf_data

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http

### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=admin
db.name=alfresco
db.url=jdbc:postgresql://localhost:5432/${db.name}

### FTP Server Configuration ###
#ftp.enabled=true
#ftp.port=21
#ftp.ipv6.enabled=false

### CIFS Configuration
#cifs.enabled=true
#cifs.disableNativeCode=true
#cifs.serverName=${localname}A
#cifs.domain=hermes.lan
#cifs.pseudoFiles.enabled=true
#cifs.broadcast=255.255.255.255
##cifs.bindto=
#cifs.hostannounce=true
##cifs.WINS.autoDetectEnabled=true
##cifs.WINS.primary=192.168.0.250
##cifs.WINS.secondary=192.168.0.250
#cifs.tcpipSMB.port=445
##cifs.netBIOSSMB.namePort=1137
##cifs.netBIOSSMB.datagramPort=1138
##cifs.netBIOSSMB.sessionPort=1139

### RMI service ports ###
alfresco.rmi.services.port=50500
avm.rmi.service.port=0
avmsync.rmi.service.port=0
attribute.rmi.service.port=0
authentication.rmi.service.port=0
repo.rmi.service.port=0
action.rmi.service.port=0
deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=/opt/alfresco-4.0.d/openoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
ooo.port=8100
img.root=/opt/alfresco-4.0.d/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco-4.0.d/common/bin/pdf2swf
jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco-4.0.d/openoffice
jodconverter.portNumbers=8100

### Initial admin password ###
alfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634

### E-mail site invitation setting ###
notification.email.siteinvite=true

imap.server.enabled=true
imap.server.port=143
imap.server.host=172.21.59.115

mail.host=127.0.0.1
mail.port=25
mail.encoding=UTF-8
mail.from.default=alfresco@hermes.lan
mail.smtp.auth=false
mail.protocol=smtp

### File Protocol Root ###
protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname}


### License location ###
dir.license.external=/opt/alfresco-4.0.d

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443

### BPM Engine ###
system.workflow.engine.jbpm.enabled=false

###
authentication.chain=alfrescoNtlm:alfrescoNtlm,ldap-ad:ldap-ad

root@SMALF001:/opt/alfresco-4.0.d#
On voit que beaucoup de choses sont désactivées, notamment CIFS et FTP, pourtant, dans le log, on voit toujours des erreurs liées à FTP et CIFS…
Je m'y retrouve de moins en moins…
et le fichier log après tentative de redémarrage
11:57:24,130 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
11:57:24,243 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
11:57:35,380 WARN  [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
11:57:41,475 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
11:57:41,480 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
11:57:54,138 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
11:58:00,382 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
11:58:00,900 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Search' subsystem, ID: [Search, managed, solr]
11:58:01,069 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Search' subsystem, ID: [Search, managed, solr] complete
11:58:01,583 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
11:58:01,884 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
11:58:01,885 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
11:58:02,398 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
11:58:02,414 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
11:58:02,583 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco-4.0.d/alf_data
11:58:02,600 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
11:58:04,065 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
11:58:04,089 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
11:58:04,233 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
11:58:04,254 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Started module 'ModuleDetails[{module.version=1.2, module.description=Alfresco Vti Extension, module.id=org.alfresco.module.vti, module.repo.version.max=999, module.title=Vti, module.repo.version.min=0, module.installState=INSTALLED, module.installDate=2012-02-09T09:37:47.395+01:00}]' including 0components.
11:58:04,275 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Installed module found in distribution: org.alfresco.module.vti
11:58:04,278 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
11:58:05,109 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm]
11:58:05,286 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm] complete
11:58:05,287 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, ldap-ad]
11:58:05,683 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, ldap-ad] complete
11:58:05,771 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
11:58:05,771 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
11:58:27,095 INFO  [org.alfresco.repo.imap.AlfrescoImapServer] IMAP service started on host:port 172.21.59.115:143
11:58:27,096 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
11:58:27,096 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
11:58:27,208 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
11:58:27,208 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
11:58:27,393 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
11:58:27,393 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
11:58:27,492 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
11:58:27,493 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
11:58:27,519 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
11:58:27,520 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Disabled - clear non-missing user usages …
11:58:27,541 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Found 0 users to clear
11:58:27,541 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] … cleared non-missing usages for 0 users
11:58:27,541 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
11:58:27,636 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Synchronizing users and groups with user registry 'ldap-ad'
11:58:27,679 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Retrieving groups changed since 22 mars 2012 11:00:57 from user registry 'ldap-ad'
11:58:27,774 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad Group Analysis: Commencing batch of 0 entries
11:58:27,778 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad Group Analysis: Completed batch of 0 entries
11:58:27,797 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Retrieving users changed since 22 mars 2012 09:58:03 from user registry 'ldap-ad'
11:58:27,818 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad User Creation and Association: Commencing batch of 0 entries
11:58:27,818 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad User Creation and Association: Completed batch of 0 entries
11:58:27,875 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Finished synchronizing users and groups with user registry 'ldap-ad'
11:58:27,876 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] 0 user(s) and 0 group(s) processed
11:58:27,904 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
11:58:28,095 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_22-b04; maximum heap size 910.250MB
11:58:28,121 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community). Current version: 4.0.0 (4003) schema 5'025. Originally installed version: 4.0.0 (4003) schema 5'025.
11:58:28,122 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
11:58:28,317 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
11:58:28,317 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Replication' subsystem, ID: [Replication, default]
11:58:28,382 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Replication' subsystem, ID: [Replication, default] complete
11:58:32,431 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 7070
11:58:32,432 INFO  [org.alfresco.module.vti.VtiServer] Vti server SessionIdManagerWorkerName: jetty1
11:58:41,663 WARN  [org.springframework.extensions.webscripts.DeclarativeRegistry] Unable to register script classpath:webscripts/org/springframework/extensions/cmis/content.get.desc.xml due to error: 02220000 Web Script document org/springframework/extensions/cmis/content.get.desc.xml is attempting to define the url '/cmis/content:GET' already defined by org/alfresco/cmis/client/content.get.desc.xml
11:58:41,663 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 464 Web Scripts (+1 failed), 731 URLs
11:58:41,664 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
11:58:41,664 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
11:58:41,668 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 9191.33ms)
11:58:41,686 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
11:58:41,688 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
11:59:00,862 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
11:59:10,092 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
11:59:10,204 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
11:59:20,221 WARN  [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
11:59:27,128 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
11:59:27,132 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
11:59:37,407 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
11:59:43,262 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
11:59:44,049 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Search' subsystem, ID: [Search, managed, solr]
11:59:44,206 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Search' subsystem, ID: [Search, managed, solr] complete
11:59:44,706 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
11:59:45,108 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
11:59:45,108 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
11:59:45,831 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
11:59:45,966 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco-4.0.d/alf_data
11:59:45,981 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
11:59:47,017 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
11:59:47,031 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
11:59:47,135 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
11:59:47,149 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Started module 'ModuleDetails[{module.version=1.2, module.description=Alfresco Vti Extension, module.id=org.alfresco.module.vti, module.repo.version.max=999, module.title=Vti, module.repo.version.min=0, module.installState=INSTALLED, module.installDate=2012-02-09T09:37:47.395+01:00}]' including 0components.
11:59:47,163 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Installed module found in distribution: org.alfresco.module.vti
11:59:47,165 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
11:59:47,890 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm]
11:59:48,049 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm] complete
11:59:48,049 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, ldap-ad]
11:59:48,286 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, ldap-ad] complete
11:59:48,378 ERROR [org.alfresco.fileserver] [SMB] Server error : org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Address already in use
11:59:48,385 ERROR [org.alfresco.fileserver] Error from JLAN
org.alfresco.jlan.server.config.InvalidConfigurationException: Error initializing TCP-IP SMB session handler, Address already in use
   at org.alfresco.jlan.smb.server.nio.NIOCifsConnectionsHandler.initializeHandler(NIOCifsConnectionsHandler.java:259)
   at org.alfresco.jlan.smb.server.SMBServer.run(SMBServer.java:475)
   at java.lang.Thread.run(Thread.java:662)
11:59:48,386 ERROR [org.alfresco.fileserver] [FTP] FTP Socket error : java.net.BindException: Address already in use
11:59:48,386 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
11:59:48,391 ERROR [org.alfresco.fileserver] Error from JLAN
java.net.BindException: Address already in use
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
   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.jlan.ftp.FTPServer.run(FTPServer.java:554)
   at java.lang.Thread.run(Thread.java:662)
11:59:48,392 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
12:00:09,931 INFO  [org.alfresco.repo.imap.AlfrescoImapServer] IMAP service started on host:port 172.21.59.115:143
12:00:09,931 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
12:00:09,932 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
12:00:09,993 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
12:00:09,993 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
12:00:10,086 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
12:00:10,086 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
12:00:10,175 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
12:00:10,175 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
12:00:10,200 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
12:00:10,200 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Disabled - clear non-missing user usages …
12:00:10,268 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Found 0 users to clear
12:00:10,268 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] … cleared non-missing usages for 0 users
12:00:10,268 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
12:00:10,331 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Synchronizing users and groups with user registry 'ldap-ad'
12:00:10,354 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Retrieving groups changed since 22 mars 2012 11:00:57 from user registry 'ldap-ad'
12:00:10,382 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad Group Analysis: Commencing batch of 0 entries
12:00:10,385 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad Group Analysis: Completed batch of 0 entries
12:00:10,395 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Retrieving users changed since 22 mars 2012 09:58:03 from user registry 'ldap-ad'
12:00:10,417 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad User Creation and Association: Commencing batch of 0 entries
12:00:10,417 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad User Creation and Association: Completed batch of 0 entries
12:00:10,453 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Finished synchronizing users and groups with user registry 'ldap-ad'
12:00:10,453 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] 0 user(s) and 0 group(s) processed
12:00:10,497 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
12:00:10,844 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_22-b04; maximum heap size 910.250MB
12:00:10,850 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community). Current version: 4.0.0 (4003) schema 5'025. Originally installed version: 4.0.0 (4003) schema 5'025.
12:00:10,851 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
12:00:11,013 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
12:00:11,014 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Replication' subsystem, ID: [Replication, default]
12:00:11,055 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Replication' subsystem, ID: [Replication, default] complete
12:00:14,549 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 02220000 Error start VtiServer, cause:
   at org.alfresco.module.vti.VtiServer.onBootstrap(VtiServer.java:144)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.net.BindException: Address already in use
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
   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.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
   at org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
   at org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
   at org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
   at org.mortbay.jetty.Server.doStart(Server.java:235)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
   at org.alfresco.module.vti.VtiServer.onBootstrap(VtiServer.java:136)
   … 34 more
12:00:39,994 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
12:00:40,336 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
12:00:40,337 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
12:00:40,374 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
12:00:47,697 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
12:00:47,698 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
12:00:47,698 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
12:00:48,077 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 7687.7095ms)
12:00:48,085 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
12:00:48,093 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
12:00:53,731 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
12:00:53,857 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
12:00:53,858 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
12:00:53,865 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
12:00:56,993 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
12:00:56,993 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
12:00:56,993 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
12:00:57,474 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 3598.8306ms)
12:00:57,488 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
12:00:57,500 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
L'état des ports du serveur pendant le fonctionnement d'alfresco:
root@SMALF001:/opt/alfresco-4.0.d# netstat -latupn
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat        PID/Program name
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      1317/inetd
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      1317/inetd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      941/portmap
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1567/sshd
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      11600/postgres
tcp        0      0 172.21.59.115:5432      0.0.0.0:*               LISTEN      11600/postgres
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1704/master
tcp        0      0 0.0.0.0:52094           0.0.0.0:*               LISTEN      953/rpc.statd
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      1317/inetd
tcp        0      0 0.0.0.0:5666            0.0.0.0:*               LISTEN      1285/nrpe
tcp        0      0 127.0.0.1:8100          0.0.0.0:*               LISTEN      11706/soffice.bin
tcp        0      0 172.21.59.115:22        172.20.2.105:19390      ESTABLISHED 2001/1
tcp        0      0 127.0.0.1:5432          127.0.0.1:32889         ESTABLISHED 11642/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32917         ESTABLISHED 11780/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32923         ESTABLISHED 11786/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32920         ESTABLISHED 11783/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32922         ESTABLISHED 11785/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32893         ESTABLISHED 11646/postgres: alf
tcp        0      0 127.0.0.1:8100          127.0.0.1:34865         ESTABLISHED 11706/soffice.bin
tcp        0      0 127.0.0.1:5432          127.0.0.1:32894         ESTABLISHED 11647/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32919         ESTABLISHED 11782/postgres: alf
tcp        0     52 172.21.59.115:22        172.20.2.105:19379      ESTABLISHED 1789/0
tcp        0      0 127.0.0.1:5432          127.0.0.1:32896         ESTABLISHED 11649/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32895         ESTABLISHED 11648/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32888         ESTABLISHED 11641/postgres: alf
tcp        0      0 172.21.59.115:22        172.20.2.105:23416      ESTABLISHED 8478/2
tcp        0      0 127.0.0.1:5432          127.0.0.1:32890         ESTABLISHED 11643/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32918         ESTABLISHED 11781/postgres: alf
tcp        0      0 127.0.0.1:8100          127.0.0.1:34882         ESTABLISHED 11706/soffice.bin
tcp        0      0 127.0.0.1:5432          127.0.0.1:32891         ESTABLISHED 11644/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32892         ESTABLISHED 11645/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32921         ESTABLISHED 11784/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32924         ESTABLISHED 11787/postgres: alf
tcp        0      0 127.0.0.1:5432          127.0.0.1:32916         ESTABLISHED 11779/postgres: alf
tcp6       0      0 :::45418                :::*                    LISTEN      11620/java
tcp6       0      0 :::139                  :::*                    LISTEN      11620/java
tcp6       0      0 :::50508                :::*                    LISTEN      11620/java
tcp6       0      0 :::8080                 :::*                    LISTEN      11620/java
tcp6       0      0 :::21                   :::*                    LISTEN      11620/java
tcp6       0      0 :::22                   :::*                    LISTEN      1567/sshd
tcp6       0      0 :::38776                :::*                    LISTEN      11620/java
tcp6       0      0 :::8443                 :::*                    LISTEN      11620/java
tcp6       0      0 :::445                  :::*                    LISTEN      11620/java
tcp6       0      0 :::7070                 :::*                    LISTEN      11620/java
tcp6       0      0 :::49956                :::*                    LISTEN      11620/java
tcp6       0      0 :::50500                :::*                    LISTEN      11620/java
tcp6       0      0 127.0.0.1:8005          :::*                    LISTEN      11620/java
tcp6       0      0 :::47175                :::*                    LISTEN      11620/java
tcp6       0      0 :::8009                 :::*                    LISTEN      11620/java
tcp6       0      0 127.0.0.1:32894         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32919         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32923         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32893         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:57889         127.0.0.1:8443          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32922         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32924         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 172.21.59.115:39471     172.20.1.11:389         ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:8443          127.0.0.1:42257         ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32890         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32892         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6      24      0 127.0.0.1:55202         127.0.0.1:8443          CLOSE_WAIT  11620/java
tcp6       0      0 127.0.0.1:32920         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6    1475      0 127.0.0.1:42257         127.0.0.1:8443          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32917         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:8443          127.0.0.1:57889         ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32921         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:34882         127.0.0.1:8100          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:8443          127.0.0.1:55202         FIN_WAIT2   -
tcp6       0      0 127.0.0.1:32888         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:8443          127.0.0.1:37774         ESTABLISHED 11620/java
tcp6       0      0 172.21.59.115:39105     172.21.59.115:49956     TIME_WAIT   -
tcp6       0      0 127.0.0.1:32918         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32891         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 172.21.59.115:39470     172.20.1.11:389         ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32896         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32895         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:37774         127.0.0.1:8443          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:34865         127.0.0.1:8100          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32916         127.0.0.1:5432          ESTABLISHED 11620/java
tcp6       0      0 127.0.0.1:32889         127.0.0.1:5432          ESTABLISHED 11620/java
udp        0      0 0.0.0.0:48321           0.0.0.0:*                           953/rpc.statd
udp        0      0 0.0.0.0:705             0.0.0.0:*                           953/rpc.statd
udp        0      0 0.0.0.0:41820           0.0.0.0:*                           1341/avahi-daemon:
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1341/avahi-daemon:
udp        0      0 0.0.0.0:111             0.0.0.0:*                           941/portmap
udp        0      0 172.21.59.115:123       0.0.0.0:*                           1284/ntpd
udp        0      0 127.0.0.1:123           0.0.0.0:*                           1284/ntpd
udp        0      0 0.0.0.0:123             0.0.0.0:*                           1284/ntpd
udp        0      0 127.0.0.1:47742         127.0.0.1:47742         ESTABLISHED 11600/postgres
udp6       0      0 :::50353                :::*                                1341/avahi-daemon:
udp6       0      0 :::5353                 :::*                                1341/avahi-daemon:
udp6       0      0 fe80::230:5ff:fea8::123 :::*                                1284/ntpd
udp6       0      0 ::1:123                 :::*                                1284/ntpd
udp6       0      0 :::123                  :::*                                1284/ntpd
udp6       0      0 :::137                  :::*                                11620/java
root@SMALF001:/opt/alfresco-4.0.d#
Je comprends d'autant moins où est le problème que depuis ces erreurs et l'impossibilité de me connecter, je n'ai fait que de lancer le script clean_tomcat.sh…
Je n'ai rien modifié d'autre.

Quelqu'un pourrait-il jeter un coup d'oeil, histoire de voir si mon fichier global properties contient une grossière erreur, qui m'aurait échappé ?
Actuellement, FTP et CIFS désactivés mais les erreurs les mentionnant continuent…  :shock:

Merci d'avance pour votre aide

Jean
dranakan
Active Member

Re: 4.0d: passage en production

Le port 7070 est-il utilisé quand Alfresco est éteint ?
Sinon, pour désactiver un service, mettez plutôt "cifs.enabled=false" au lieu de commenter #cifs.enabled=true
jean
Member II

Re: 4.0d: passage en production

Bonjour,

Merci pour votre réponse, après un reboot du serveur, suivi du redémarrage de Alfresco, j'ai toujours la même erreur…
J'ai horreur de ça mais je m'apprêtais à redescendre un backup, histoire de résoudre le problème… sans le comprendre … Smiley Surprisedops:

Avant d'en arriver là, je vais encore tenter ce que vous proposez, voici donc mon fichier nouvelle version:
root@SMALF001:/opt/alfresco-4.0.d# cat /opt/alfresco-4.0.d/tomcat/shared/classes/alfresco-global.properties
###############################
## Common Alfresco Properties #
###############################

dir.root=/opt/alfresco-4.0.d/alf_data

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8080
alfresco.protocol=http

share.context=share
share.host=127.0.0.1
share.port=8080
share.protocol=http

### database connection properties ###
db.driver=org.postgresql.Driver
db.username=alfresco
db.password=admin
db.name=alfresco
db.url=jdbc:postgresql://localhost:5432/${db.name}

### FTP Server Configuration ###
ftp.enabled=false
ftp.port=21
ftp.ipv6.enabled=false

### CIFS Configuration
cifs.enabled=false
cifs.disableNativeCode=true
cifs.serverName=${localname}A
cifs.domain=hermes.lan
cifs.pseudoFiles.enabled=true
cifs.broadcast=255.255.255.255
#cifs.bindto=
#cifs.hostannounce=true
#cifs.WINS.autoDetectEnabled=true
#cifs.WINS.primary=192.168.0.250
#cifs.WINS.secondary=192.168.0.250
cifs.tcpipSMB.port=445
#cifs.netBIOSSMB.namePort=1137
#cifs.netBIOSSMB.datagramPort=1138
#cifs.netBIOSSMB.sessionPort=1139

### RMI service ports ###
#alfresco.rmi.services.port=50500
#avm.rmi.service.port=0
#avmsync.rmi.service.port=0
#attribute.rmi.service.port=0
#authentication.rmi.service.port=0
#repo.rmi.service.port=0
#action.rmi.service.port=0
#deployment.rmi.service.port=0

### External executable locations ###
ooo.exe=/opt/alfresco-4.0.d/openoffice/program/soffice.bin
ooo.enabled=true
ooo.port=8100
ooo.port=8100
img.root=/opt/alfresco-4.0.d/common
img.dyn=${img.root}/lib
img.exe=${img.root}/bin/convert
swf.exe=/opt/alfresco-4.0.d/common/bin/pdf2swf
jodconverter.enabled=false
jodconverter.officeHome=/opt/alfresco-4.0.d/openoffice
jodconverter.portNumbers=8100

### Initial admin password ###
alfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634

### E-mail site invitation setting ###
notification.email.siteinvite=true

imap.server.enabled=true
imap.server.port=143
imap.server.host=172.21.59.115

mail.host=127.0.0.1
mail.port=25
mail.encoding=UTF-8
mail.from.default=alfresco@hermes.lan
mail.smtp.auth=false
mail.protocol=smtp

### File Protocol Root ###
protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname}

### License location ###
dir.license.external=/opt/alfresco-4.0.d

### Solr indexing ###
index.subsystem.name=solr
dir.keystore=${dir.root}/keystore
solr.port.ssl=8443

### BPM Engine ###
system.workflow.engine.jbpm.enabled=false

###
authentication.chain=alfrescoNtlm:alfrescoNtlm,ldap-ad:ldap-ad
root@SMALF001:/opt/alfresco-4.0.d#
Si vous y trouvez encore quelque bizarrerie, votre avis est le bienvenu …
Voici l'état du port 7070 PENDANT l'utilisation d'Alfresco:
root@SMALF001:/opt/alfresco-4.0.d# netstat -latupn | grep 7070
tcp6       0      0 :::7070                 :::*                    LISTEN      2094/java
root@SMALF001:/opt/alfresco-4.0.d# lsof -i | grep 7070
java      2094     root  356u  IPv6  11302      0t0  TCP *:7070 (LISTEN)
root@SMALF001:/opt/alfresco-4.0.d#
Et Alfresco STOPPE:
root@SMALF001:/opt/alfresco-4.0.d# netstat -latupn | grep 7070
root@SMALF001:/opt/alfresco-4.0.d# lsof -i | grep 7070
Ceci dit, le nez plongé dans les fichiers de logs, je n'avais même pas remarqué que la page de login a retrouvé son logo Alfresco d'origine, alors que avant le passage du script "clean_tomcat.sh" , j'y avais mis le logo de mon employeur…
Il est donc à craindre que ce satané script aie fait plus que ce qu'on attends de lui… Je ne vois pourtant pas quoi, son code est pourtant clair !!! ???

#!/bin/sh
# ———————————
# Script to clean Tomcat temp files
# ———————————
echo "Cleaning temporary Alfresco files from Tomcat…"
rm -rf /opt/alfresco-4.0.d/tomcat/temp/Alfresco
rm -rf /opt/alfresco-4.0.d/tomcat/work/Catalina/localhost/alfresco
rm -rf /opt/alfresco-4.0.d/tomcat/work/Catalina/localhost/share
rm -rf /opt/alfresco-4.0.d/tomcat/work/Catalina/localhost/awe
rm -rf /opt/alfresco-4.0.d/tomcat/work/Catalina/localhost/wcmqs

Pour info, vue générale des ports ouverts sur la machine, alfresco stoppé:
root@SMALF001:/opt/alfresco-4.0.d# netstat -latupn
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat        PID/Program name
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      1258/inetd
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      1258/inetd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      949/portmap
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1726/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1644/master
tcp        0      0 0.0.0.0:36991           0.0.0.0:*               LISTEN      961/rpc.statd
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      1258/inetd
tcp        0      0 0.0.0.0:5666            0.0.0.0:*               LISTEN      1230/nrpe
tcp        0     52 172.21.59.115:22        172.20.2.105:26563      ESTABLISHED 1792/0
tcp        0      0 172.21.59.115:22        172.20.2.105:26579      ESTABLISHED 1835/1
tcp        0      0 172.21.59.115:22        172.20.2.105:26587      ESTABLISHED 1877/2
tcp        0      0 172.21.59.115:22        172.20.2.105:26558      ESTABLISHED 1783/sshd: root@not
tcp6       0      0 :::22                   :::*                    LISTEN      1726/sshd
udp        0      0 0.0.0.0:45878           0.0.0.0:*                           1314/avahi-daemon:
udp        0      0 0.0.0.0:34497           0.0.0.0:*                           961/rpc.statd
udp        0      0 0.0.0.0:713             0.0.0.0:*                           961/rpc.statd
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1314/avahi-daemon:
udp        0      0 0.0.0.0:111             0.0.0.0:*                           949/portmap
udp        0      0 172.21.59.115:123       0.0.0.0:*                           1331/ntpd
udp        0      0 127.0.0.1:123           0.0.0.0:*                           1331/ntpd
udp        0      0 0.0.0.0:123             0.0.0.0:*                           1331/ntpd
udp6       0      0 :::5353                 :::*                                1314/avahi-daemon:
udp6       0      0 fe80::230:5ff:fea8::123 :::*                                1331/ntpd
udp6       0      0 ::1:123                 :::*                                1331/ntpd
udp6       0      0 :::123                  :::*                                1331/ntpd
udp6       0      0 :::57108                :::*                                1314/avahi-daemon:
root@SMALF001:/opt/alfresco-4.0.d#
je commence à douter… Quelque chose m'échappe-t'il ?
jean
Member II

Re: 4.0d: passage en production

voici donc le log de mon démarrage:
root@SMALF001:/opt/alfresco-4.0.d# ./alfresco.sh status
tomcat not running
postgresql not running
root@SMALF001:/opt/alfresco-4.0.d# ./alfresco.sh start
/opt/alfresco-4.0.d/postgresql/scripts/ctl.sh : postgresql  started at port 5432
Using CATALINA_BASE:   /opt/alfresco-4.0.d/tomcat
Using CATALINA_HOME:   /opt/alfresco-4.0.d/tomcat
Using CATALINA_TMPDIR: /opt/alfresco-4.0.d/tomcat/temp
Using JRE_HOME:        /opt/alfresco-4.0.d/java
Using CLASSPATH:       /opt/alfresco-4.0.d/tomcat/bin/bootstrap.jar
/opt/alfresco-4.0.d/tomcat/scripts/ctl.sh : tomcat started
root@SMALF001:/opt/alfresco-4.0.d#
Après la modification proposée, CIFS étant désactivé, on peut maintenant voir que c'est bien le port 50501 qui semble poser problème:
15:56:13,177 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
15:56:13,298 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
15:56:25,686 WARN  [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
15:56:31,463 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
15:56:31,467 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
15:56:42,801 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
15:56:49,453 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
15:56:49,961 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Search' subsystem, ID: [Search, managed, solr]
15:56:50,151 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Search' subsystem, ID: [Search, managed, solr] complete
15:56:50,692 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
15:56:51,001 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
15:56:51,001 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
15:56:51,531 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
15:56:51,541 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
15:56:51,694 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco-4.0.d/alf_data
15:56:51,711 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
15:56:53,181 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
15:56:53,197 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
15:56:53,306 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
15:56:53,323 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Started module 'ModuleDetails[{module.version=1.2, module.description=Alfresco Vti Extension, module.id=org.alfresco.module.vti, module.repo.version.max=999, module.title=Vti, module.repo.version.min=0, module.installState=INSTALLED, module.installDate=2012-02-09T09:37:47.395+01:00}]' including 0components.
15:56:53,339 DEBUG [org.alfresco.repo.module.ModuleComponentHelper] Installed module found in distribution: org.alfresco.module.vti
15:56:53,341 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
15:56:54,038 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
15:56:54,038 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
15:57:15,928 INFO  [org.alfresco.repo.imap.AlfrescoImapServer] IMAP service started on host:port 172.21.59.115:143
15:57:15,929 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
15:57:15,929 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, outbound]
15:57:15,997 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, outbound] complete
15:57:15,997 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'email' subsystem, ID: [email, inbound]
15:57:16,128 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'email' subsystem, ID: [email, inbound] complete
15:57:16,128 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'googledocs' subsystem, ID: [googledocs, default]
15:57:16,225 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
15:57:16,225 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
15:57:16,251 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
15:57:16,254 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Disabled - clear non-missing user usages …
15:57:16,293 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] Found 0 users to clear
15:57:16,293 INFO  [org.alfresco.repo.usage.UserUsageTrackingComponent] … cleared non-missing usages for 0 users
15:57:16,293 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
15:57:16,427 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm]
15:57:16,739 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
15:57:16,817 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm] complete
15:57:16,818 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, ldap-ad]
15:57:16,966 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, ldap-ad] complete
15:57:16,967 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Synchronizing users and groups with user registry 'ldap-ad'
15:57:16,998 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Retrieving groups changed since 22 mars 2012 12:05:26 from user registry 'ldap-ad'
15:57:17,174 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Cisel_Complet' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,178 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Cisel_Complet' with distinguished name: CN=GACHOUD Emilie,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,179 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Cisel_Complet' with distinguished name: CN=Christian Menoud (ADMIN),OU=PowerUsersEmployees,OU=Users,OU=Systems,OU=Cisel,DC=hermes,DC=lan
15:57:17,181 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Cisel_Complet' with distinguished name: CN=RUFFIEUX Lucas,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,240 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Rapport_SAP' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,254 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Membres_DEP_Finances_Etat_Major' with distinguished name: CN=Christian Menoud (ADMIN),OU=PowerUsersEmployees,OU=Users,OU=Systems,OU=Cisel,DC=hermes,DC=lan
15:57:17,263 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Membres_GRP_Etat_Major' with distinguished name: CN=Christian Menoud (ADMIN),OU=PowerUsersEmployees,OU=Users,OU=Systems,OU=Cisel,DC=hermes,DC=lan
15:57:17,327 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Members_DEP_ICT_Services' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,352 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Membres_GRP_DataCenter' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,374 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Membres_EQP_DC_Servers' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,410 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Apprentis' with distinguished name: CN=RUFFIEUX Lucas,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,422 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Membres_ASSOCPERS' with distinguished name: CN=RUFFIEUX Lucas,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,465 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Alertes_InsightManager_Spontis2' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,470 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Vmware_RE' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,494 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Support_Mens' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,508 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Alertes_Backup_Caisses_GE' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,514 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Alertes_Antivirus_GE' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,520 WARN  [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] Failed to resolve member of group 'DL-Alertes_InsightManager_GE' with distinguished name: CN=KUMARAVEL Janna,OU=Externals,OU=Users,OU=Enterprise,OU=Cisel,DC=hermes,DC=lan
15:57:17,547 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad Group Analysis: Commencing batch of 44 entries
15:57:19,168 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad Group Analysis: Processed 44 entries out of 44. 100 % complete. Rate: 27 per second. 0 failures detected.
15:57:19,169 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad Group Analysis: Completed batch of 44 entries
15:57:19,784 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Retrieving users changed since 22 mars 2012 14:12:12 from user registry 'ldap-ad'
15:57:19,803 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad User Creation and Association: Commencing batch of 0 entries
15:57:19,804 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] ldap-ad User Creation and Association: Completed batch of 0 entries
15:57:19,890 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] Finished synchronizing users and groups with user registry 'ldap-ad'
15:57:19,890 INFO  [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] 0 user(s) and 44 group(s) processed
15:57:19,941 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
15:57:20,181 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_22-b04; maximum heap size 910.250MB
15:57:20,183 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community). Current version: 4.0.0 (4003) schema 5'025. Originally installed version: 4.0.0 (4003) schema 5'025.
15:57:20,185 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
15:57:20,530 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
15:57:20,531 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Replication' subsystem, ID: [Replication, default]
15:57:20,628 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Replication' subsystem, ID: [Replication, default] complete
15:57:24,826 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 7070
15:57:24,828 INFO  [org.alfresco.module.vti.VtiServer] Vti server SessionIdManagerWorkerName: jetty1
15:57:34,181 WARN  [org.springframework.extensions.webscripts.DeclarativeRegistry] Unable to register script classpath:webscripts/org/springframework/extensions/cmis/content.get.desc.xml due to error: 02220000 Web Script document org/springframework/extensions/cmis/content.get.desc.xml is attempting to define the url '/cmis/content:GET' already defined by org/alfresco/cmis/client/content.get.desc.xml
15:57:34,182 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 464 Web Scripts (+1 failed), 731 URLs
15:57:34,182 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 2 Package Description Documents (+0 failed)
15:57:34,182 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 1 Schema Description Documents (+0 failed)
15:57:34,186 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Repository Web Script Container (in 9304.383ms)
15:57:34,204 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:57:34,207 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:58:02,937 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
15:58:03,051 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
15:58:16,458 WARN  [org.alfresco.util.AbstractTriggerBean] Job ehCacheTracerJob is not active/enabled
15:58:17,821 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
15:58:17,822 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
15:58:17,840 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'avmRemoteService' defined in class path resource [alfresco/remote-services-context.xml]: Invocation of init method failed; nested exception is java.rmi.server.ExportException: Port already in use: 50501; nested exception is:
        java.net.BindException: Address already in use
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.core.StandardService.start(StandardService.java:519)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.rmi.server.ExportException: Port already in use: 50501; nested exception is:
        java.net.BindException: Address already in use
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:310)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:218)
        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:190)
        at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
        at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:256)
        at org.springframework.remoting.rmi.RmiServiceExporter.prepare(RmiServiceExporter.java:281)
        at org.springframework.remoting.rmi.RmiServiceExporter.afterPropertiesSet(RmiServiceExporter.java:229)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
        … 37 more
Caused by: java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
        at java.net.ServerSocket.bind(ServerSocket.java:319)
        at java.net.ServerSocket.<init>(ServerSocket.java:185)
        at org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory.createServerSocket(HostConfigurableSocketFactory.java:111)
        at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:649)
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:299)
        … 47 more
15:58:42,794 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:58:42,919 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:58:42,920 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:58:42,927 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:58:46,473 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
15:58:46,474 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
15:58:46,474 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
15:58:46,858 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 3920.9353ms)
15:58:46,866 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:58:46,873 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:58:52,665 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:58:52,794 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:58:52,794 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:58:52,801 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
15:58:56,123 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 312 Web Scripts (+0 failed), 322 URLs
15:58:56,124 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 8 Package Description Documents (+0 failed)
15:58:56,124 INFO  [org.springframework.extensions.webscripts.DeclarativeRegistry] Registered 0 Schema Description Documents (+0 failed)
15:58:56,467 INFO  [org.springframework.extensions.webscripts.AbstractRuntimeContainer] Initialised Spring Surf Container Web Script Container (in 3656.1045ms)
15:58:56,475 INFO  [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor freemarker for extension ftl
15:58:56,482 INFO  [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor javascript for extension js
une tentative de login y ajoutant le message suivant:
16:04:12,381 INFO  [org.alfresco.web.site.EditionInterceptor] Unable to retrieve License information from Alfresco: 404
dranakan
Active Member

Re: 4.0d: passage en production

Vous pouvez essayer d'installer un autre Alfresco, donc sans modif, pour voir si cela démarre.
jean
Member II

Re: 4.0d: passage en production

Vous pouvez essayer d'installer un autre Alfresco, donc sans modif, pour voir si cela démarre.
Bonjour,
J'ai finalement redescendu mon précédent backup, puis redémarré sans problème…
C'est frustrant et pas très sécurisant car ça n'explique pas ce qui s'est passé, mais maintenant je dois avancer, donc …

Une autre curiosité juste à relever en passant:
Je réinstalle mon logo d'entreprise via le browser (IE)
–> login admin
–> barre de menus + –> Outils admin –> +
J'arrive dans la page "Thèmes"
Je clique sur le bouton "Importer dans l'entrepôt" —> choisir fichier–> Ajout de fichiers
Ensuite clic sur le bouton Appliquer
logout/login
Dans Internet Explorer, mon logo apparaît en haut à gauche du tableau de bord de l'utilisateur (en lieu et place du logo standard alfresco, par contre, la page de login affiche toujours le logo Alfresco d'origine.
Dans Firefox, mon logo apparaît sur la page de login, mais dans la page du tableau de bord de l'utilisateur, c'est toujours le logo Alfresco d'origine qui s'affiche …

Bon, il ne s'agit ici que d'une affaire de "cosmétique", à voir plus tard, mais quand même, c'est un peu bizarre. comportement exactement inverse entre les 2 browsers…
Y aurait-il des paramétrages propres à faire pour chaque navigateur ?

Sinon, côté système, est-il "normal" que Alfresco "bouffe" autant de mémoire ?

Alfresco stoppé:
root@SMALF001:/opt# free -g -m
             total       used       free     shared    buffers     cached
Mem:          5229       3938       1290          0        196       3522
-/+ buffers/cache:        220       5009
Swap:         7627          0       7627
root@SMALF001:/opt#
Alfresco démarré:
root@SMALF001:/opt/alfresco-4.0.d# free -g -m
             total       used       free     shared    buffers     cached
Mem:          5229       5011        217          0        198       3599
-/+ buffers/cache:       1213       4016
Swap:         7627          0       7627
root@SMALF001:/opt/alfresco-4.0.d#

Merci encore et bonne journée

Jean
rguinot
Customer

Re: 4.0d: passage en production

Port already in use: 50501; nested exception is:
        java.net.BindException: Address already in use

Instance mal arrêtée/ en double probablement….
jean
Member II

Re: 4.0d: passage en production

Port already in use: 50501; nested exception is:
        java.net.BindException: Address already in use

Instance mal arrêtée/ en double probablement….
Bonjour,
Non, malheureusement celà ne semble pas si simple… Dans le doute, j'ai même tenté un reboot du serveur, pour être absolument sûr que le problème ne venait pas de là…
Et effectivement, le message d'erreur était bien le même…
Ceci dit, comme mentionné plus haut, un restore d'ancien backup a résolu le problème…