cancel
Showing results for 
Search instead for 
Did you mean: 

Bonjour à tous,J'utilise alfresco sur mon portable...

unknown-user
Champ on-the-rise
Champ on-the-rise
Bonjour à tous,

J'utilise alfresco sur mon portable et je souhaite faire fonctionner le serveur CIFS. J'ai suivi la procédure d'installation en effectuant la copie du fichier nécessaire dans le répertoire systeme32 de windows et après ……

D'avance merci de votre aide.

Karl
32 REPLIES 32

dam
Champ in-the-making
Champ in-the-making
toujours personne ?

michaelh
Champ on-the-rise
Champ on-the-rise
Pour deux adresses … le paramètre bindto est obligatoire dans la configuration.

dam
Champ in-the-making
Champ in-the-making
je l'ai placé après le parametre <broadcast>255.255.255.255</broadcast>. Y a t'il un endrois spécifique pour la placer ? car j'ai toujours la même erreur ("le chemin réseau n'a pas été trouvé") lorsque je met \nompc_a. Et la commande nbtstat -n m'affiche toujours les mêmes choses que signalé dans un post précédent.

Je ne vois pas pourquoi ca ne marche pas chez moi, pourtant j'ai suivi à lettre près la documentation.

edit : dans la documentation http://wiki.alfresco.com/wiki/File_Server_Configuration#SMB.2FCIFS_Server_Configuration, il est question d'une entrée dans la base de registre. J'ai bien la clef concerné avec les mêmes paramètres, faut il effectuer une modification quelconque au niveau de cette clef ?

lme
Champ in-the-making
Champ in-the-making
Si tu as modifié ta base de registre comme indiqué dans le lien, tu as désactivé la couche SMB native de Windows. Je n'ai jamais essayé de faire ça et je n'en connais pas les impactes sur alfresco.

Ce qui serait pas mal, ce serait d'activer le debug pour le protocole SMB et de redémarrer alfresco. Ca se passe dans le fichier log4j.properties, je te laisse trouver les 2 lignes à décommenter.

Laurent

dam
Champ in-the-making
Champ in-the-making
voila les logs avec le debuger cifs. J'ai vu que le serveur cifs démarrais c'est déjà un début mais après je comprend pas trop la suite des logs

11:57:07,906 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly
11:57:10,046 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …
11:57:10,078 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Aucun correctif requis.
11:57:10,140 DEBUG [org.alfresco.smb.protocol] Added desktop action CheckInOut
11:57:10,156 DEBUG [org.alfresco.smb.protocol] Added desktop action JavaScriptURL
11:57:10,187 INFO  [org.alfresco.smb.protocol] CIFS server started
11:57:10,187 INFO  [org.alfresco.smb.protocol] FTP server started
11:57:10,187 INFO  [org.alfresco.smb.protocol] SMB Server SYSTRANS-F32172_A starting
11:57:10,187 INFO  [org.alfresco.smb.protocol] GUID ff41f44a-d556-3ca3-8fb6-280f077e3a58
11:57:10,187 INFO  [org.alfresco.smb.protocol] Using authenticator org.alfresco.filesys.server.auth.AlfrescoAuthenticator
11:57:10,187 INFO  [org.alfresco.smb.protocol] Server timezone Europe/Paris, offset from UTC = -1hrs
11:57:10,187 INFO  [org.alfresco.smb.protocol] Shares:
11:57:10,187 INFO  [org.alfresco.smb.protocol]  [Alfresco,DISK,,[workspace://SpacesStore/31dd0b78-c27a-11db-9b89-9b0ef7ee0b2e]] [workspace://SpacesStore/31dd0b78-c27a-11db-9b89-9b0ef7ee0b2e]
11:57:10,187 INFO  [org.alfresco.smb.protocol] Add Share [IPC$,IPC$,,Admin,Hidden] : true
11:57:10,187 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_10-b03; maximum heap size 506,313MB
11:57:10,187 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 1.4.0 (build-105) schema 21 - Installed version 1.4.0 (build-105) schema 21
11:57:10,203 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS Available LANAs: 3 0
11:57:10,203 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS server SYSTRANS-F32172_A (using Winsock)
11:57:10,218 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS failed to create session handler for LANA 3
11:57:10,218 DEBUG [org.alfresco.smb.protocol]       16
11:57:10,218 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS created session handler on LANA 3
11:57:10,218 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS host announcer enabled on LANA 3
11:57:10,218 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS server SYSTRANS-F32172_A (using Winsock)
11:57:10,218 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS failed to create session handler for LANA 0
11:57:10,218 DEBUG [org.alfresco.smb.protocol]       16
11:57:10,218 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS created session handler on LANA 0
11:57:10,218 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS host announcer enabled on LANA 0
11:57:10,234 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS register listener for LANA 3
11:57:10,234 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS register listener for LANA 0
11:57:15,250 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS Failed To ReInitialize LANA
11:57:15,250 DEBUG [org.alfresco.smb.protocol]   16
11:57:15,250 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS Failed To ReInitialize LANA
11:57:15,250 DEBUG [org.alfresco.smb.protocol]   16
11:57:19,890 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly
11:57:20,500 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS Failed To ReInitialize LANA
11:57:20,515 DEBUG [org.alfresco.smb.protocol]   16
11:57:20,515 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS Failed To ReInitialize LANA
11:57:20,515 DEBUG [org.alfresco.smb.protocol]   16
11:57:21,171 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …
11:57:21,187 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Aucun correctif requis.
11:57:21,250 DEBUG [org.alfresco.smb.protocol] Added desktop action CheckInOut
11:57:21,250 DEBUG [org.alfresco.smb.protocol] Added desktop action JavaScriptURL
11:57:21,281 ERROR [org.alfresco.smb.protocol] Error accessing Win32 NetBIOS, check DLL is on the path
11:57:21,281 INFO  [org.alfresco.smb.protocol] FTP server started
11:57:21,281 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_10-b03; maximum heap size 506,313MB
11:57:21,281 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 1.4.0 (build-105) schema 21 - Installed version 1.4.0 (build-105) schema 21
11:57:21,281 ERROR [org.alfresco.ftp.protocol] FTP Socket error
java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at java.net.ServerSocket.<init>(ServerSocket.java:141)
   at org.alfresco.filesys.ftp.FTPNetworkServer.run(FTPNetworkServer.java:372)
   at java.lang.Thread.run(Thread.java:595)
11:57:25,515 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS Failed To ReInitialize LANA
11:57:25,515 DEBUG [org.alfresco.smb.protocol] Win32 NetBIOS Failed To ReInitialize LANA
11:57:25,515 DEBUG [org.alfresco.smb.protocol]   16
11:57:25,515 DEBUG [org.alfresco.smb.protocol]   16

lme
Champ in-the-making
Champ in-the-making
Comme ça, à première vu, je dirais que le nom de ta machine est trop long. Essaie de réduire le nom d'hôte et de virer le tiret dans le nom. Sinon, tu peux mettre en dur dans le fichier de configuration le nom utilisé par Alfresco, quelque chose du genre \alfresco_a. Le tout c'est que ce nom ne soit pas utilisé par une autre machine…

Laurent

dam
Champ in-the-making
Champ in-the-making
ahhhhh ca marche enfin Smiley Very Happy

merci LaurentM franchement c'est la dernière chose à laquelle j'aurai pensé.

michaelh
Champ on-the-rise
Champ on-the-rise
Trop fort le Lolo !

En effet un nom NETBIOS est limité à 16 caractères (en fait 15 plus un suffixe pour les services), et le reste est tronqué …

Cf http://support.microsoft.com/kb/163409/fr pour les plus curieux.

dam
Champ in-the-making
Champ in-the-making
une dernière question (enfin je pense Smiley Happy)

Maintenant que le cifs fonctionne à merveille, j'ai remarqué qu'il y avait 3 fichiers dans certains répertoires : un racourci pour l'interface web et deux fichier exécutable. J'ai lu (http://alfresco-fr.org/quelques_details_techniques) que les fichiers éxécutable permettent des actions directes comme la pose de verrou, des demande de validation, etc. Quelqu'un pourrai me dir en quoi conciste t'il réellement parceque j'ai l'impression que ca ne provoque rien.

michaelh
Champ on-the-rise
Champ on-the-rise
Ne jamais dire que c'est la dernière question Smiley Wink

Pour les faire fonctionner … il suffit de faire un glisser-déposer d'un fichier sur les exe ou un double-clic sur le fichier url.
- l'un des exe permet l'acces direct aux propriétés du document
- L'autre permet de placer un verrou (faire glisser la copie de travail pour lever le verrou)

Pour la définition de ces actions, voir le fichier, "file-servers.xml" rubrique "Desktop actions".
On peut définir une action coté serveur, mais aussi sur le poste client.