Pb CIFS

cancel
Showing results for 
Search instead for 
Did you mean: 
hlander10
Member II

Pb CIFS

Bonjour,

J'ai installé sous UBUNTU alfresco 3 le serveur ce nomme java en suivant la procédure de [RESOLU] Alfresco Community 3.2 et Ubuntu server 9.04 de calamarz.

J'ai donc le fichier : alfresco-global.properties

###############################

## Common Alfresco Properties #

###############################



#

# Sample custom content and index data location

#————-

dir.root=/var/lib/alfresco



#

# Sample database connection properties

#————-

db.name=alfresco

db.username=alfresco

db.password=alfresco

db.host=localhost

db.port=3306



#

# External locations

#————-

ooo.exe=/usr/bin/soffice

img.root=/usr

swf.exe=/usr/bin/alfresco-pdf2swf



#

# MySQL connection

#————-

db.driver=org.gjt.mm.mysql.Driver

db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}

hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect



#

# Index Recovery Mode

#————-

#index.recovery.mode=Auto



#

# Outbound Email Configuration

#————-

#mail.host=

#mail.port=25

#mail.username=anonymous

#mail.password=

#mail.encoding=UTF-8

#mail.from.default=alfresco@alfresco.org

#mail.smtp.auth=false



#

# Alfresco Email Service and Email Server

#————-



# Enable/Disable the inbound email service.  The service could be used by processes other than

# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.

#————-

#email.inbound.enabled=true



# Email Server properties

#————-

#email.server.enabled=true

#email.server.port=25

#email.server.domain=alfresco.com

#email.inbound.unknownUser=anonymous



# A comma separated list of email REGEX patterns of allowed senders.

# If there are any values in the list then all sender email addresses

# must match.  For example:

#   .*\@alfresco\.com, .*\@alfresco\.org

# Allow anyone:

#————-

#email.server.allowed.senders=.*



#

# The default authentication chain

# To configure external authentication subsystems see:

# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems

#————-

#authentication.chain=alfrescoNtlm1:alfrescoNtlm



#

# IMAP

#————-

#imap.server.enabled=true

#imap.server.port=143

#imap.server.host=localhost

#

# CIFS

#————-
cifs.enabled=true
cifs.Server.Name=javaa
cifs.domain=MONDOMAINE
cifs.hostanounce=true
cifs.broadcast=0.0.0.0
cifs.tcpipSMB.port=1445
cifs.ipv6.enabled=false
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139

#

# FTP

#————-
ftp.enabled=true
ftp.port=2021


Pour info mon fichier de log :
10:17:27,537 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
10:17:27,541 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
10:17:27,541 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/usr/share/tomcat6/shared/classes/alfresco-global.properties]
10:17:27,665 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:17:53,704 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
10:17:54,976 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
10:17:58,929 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]
10:17:58,956 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:17:59,737 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
10:17:59,738 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete
10:17:59,961 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco
10:18:00,117 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
10:18:00,543 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
10:18:00,549 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
10:18:00,573 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
10:18:00,595 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:00,980 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
10:18:01,000 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:01,378 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
10:18:02,214 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
10:18:02,215 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
10:18:02,230 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:02,304 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete
10:18:02,305 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
10:18:02,352 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:02,392 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
10:18:02,492 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_16-b01; maximum heap size 1016,125MB
10:18:02,493 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (@build-number@) schema 2019 - Installed version 3.2.0 (@build-number@) schema 2019
10:18:02,609 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
10:18:17,826 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [default]
10:18:17,850 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
10:18:17,955 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [default] complete
10:18:20,585 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@143454c: display name [Root WebApplicationContext]; startup date [Tue Sep 22 10:18:20 CEST 2009]; root of context hierarchy
10:18:20,944 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@143454c]: org.springframework.beans.factory.support.DefaultListableBeanFactory@51aec2
10:18:23,385 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
10:18:23,435 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 363.59174ms)
10:18:23,987 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 171 Web Scripts (+0 failed), 173 URLs
10:18:24,016 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 558.4718ms)
10:18:24,417 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

Lorsque en local http://java:8080/alfresco, j'essai d'acceder au CIFS par l'icone a coté des espaces, il ne se passe rien.

Si a partir de mon portable sous windows, je fais executer et \\javaa\alfresco j'ai le message suivant : Le chemin réseau n'a pas été trouvé.

Bref je suis encore très loin d'avoir activé avec succès le FTP et le CIFS
4 Replies
hlander10
Member II

Re: Pb CIFS

Le manque de réponse, me surprend.

Personne n'utilise Alfresco sous Ubuntu, ou personne n'utilise CIFS.

A croire que je suis le seul à rencontrer des problèmes de type CIFS ou FTP.
maxmax
Member II

Re: Pb CIFS

A priori pas d'erreur de config, cependant, je te conseilles quand même de mettre un broadcast moins large genre 192.168.0.0 où autre suivant tes adresses.
Ensuite quelques pistes

1/ active les logs cifs :
Edites tomcat/webapps/alfresco/WEB-INF/classes/log4j.properties.

et ajoute/active les lignes suivantes :

log4j.logger.org.alfresco.smb.protocol=debug
log4j.logger.org.alfresco.smb.protocol.auth=debug
log4j.logger.org.alfresco.acegi=debug

tu verras les traces du démarrage cifs et eventuellement des demandes de connexions cifs

2/ samba ne doit pas être démarré (pour faire simple)

3/ as tu bien les règles de routage de ports ? cela concerne la partie IPTABLES dans le post de http://forums.alfresco.com/fr/viewtopic.php?f=6&t=3243&p=14587&hilit=Alfresco+Community+3.2+et+Ubunt...
Sinon, je te conseilles de lancer alfresco en root avec les ports par défaut dans la config (137,138,139) pour faire tes tests, si ça marche ici, c'est que tu as un problème de tables.
hlander10
Member II

Re: Pb CIFS

Déjà merci pour té réponse je me sens moins seul.

Ensuite, je n'ai pas de samba d'installé sur mon serveur, mais Alfresco install un samba

Ensuite je lance bien alfresco en root

et je vais faire les modif indiqué.

Je vous tiens au jus du résultat.

Merci
hlander10
Member II

Re: Pb CIFS

Bonjour,

J'ai activé les log CIFS, et oh surprise il n'y a rien du tout dans le fichier de log

14:51:04,638 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
14:51:04,641 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
14:51:04,642 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/usr/share/tomcat6/shared/classes/alfresco-global.properties]
14:51:04,763 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:51:31,077 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
14:51:32,344 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
14:51:36,068 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]
14:51:36,097 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:51:36,893 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
14:51:36,895 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete
14:51:37,111 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco
14:51:37,200 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
14:51:37,658 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
14:51:37,664 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
14:51:37,685 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
14:51:37,707 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:51:38,104 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
14:51:38,124 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:51:38,475 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
14:51:39,319 INFO  [org.alfresco.ftp.server] Starting server FTP …
14:51:39,320 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
14:51:39,321 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
14:51:39,336 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:51:39,408 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete
14:51:39,409 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
14:51:39,426 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:51:39,455 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
14:51:39,515 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_16-b01; maximum heap size 1016,125MB
14:51:39,517 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (@build-number@) schema 2019 - Installed version 3.2.0 (@build-number@) schema 2019
14:51:54,773 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [default]
14:51:54,797 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:51:54,889 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [default] complete
14:51:57,554 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@1e96017: display name [Root WebApplicationContext]; startup date [Fri Sep 25 14:51:57 CEST 2009]; root of context hierarchy
14:51:57,929 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@1e96017]: org.springframework.beans.factory.support.DefaultListableBeanFactory@6178ce
14:52:00,381 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
14:52:00,671 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
14:52:00,718 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 409.11896ms)
14:52:01,230 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 171 Web Scripts (+0 failed), 173 URLs
14:52:01,264 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 527.9866ms)
14:52:01,653 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

Donc !!!!!