AnsweredAssumed Answered

Problème CIFS

Question asked by jerem285 on Sep 9, 2008
Latest reply on Sep 11, 2008 by michaelh
Bonjour à tous,
Dans le but de faire par la suite une synchro avec le porte document windows, je doit donc configurer un accès CIFS.
J'ai donc modifié le fichiers file-server-custom.xml comme suit :
<alfresco-config area="file-servers">



   <!– To override the default Alfresco filesystem use replace="true", to –>

   <!– add additional filesystems remove the replace="true" attribute     –>

   <config evaluator="string-compare" condition="CIFS Server">
<serverEnable enabled="true"/>
<host name="${localname}_A"/>
<comment>Alfresco CIFS Server</comment>
<broadcast>255.255.255.255</broadcast>
<tcpipSMB platforms="linux,solaris,macosx"/>
<netBIOSSMB platforms="linux,solaris,macosx"/>
<tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
<netBIOSSMB sessionPort="1139" namePort="1337" datagramPort="1138" platforms="linux,solaris,macosx"/>
<hostAnnounce interval="5"/>
<sessionDebug flags="Negotiate,Sockets"/>
</config>
<config evaluator="string-compare" condition="Filesystems">

      <filesystems>



         <filesystem name="Alfresco">

            <store>workspace://SpacesStore</store>

            <rootPath>/app:company_home</rootPath>



            <!– Add a URL file to each folder that links back to the web client –>

            <urlFile>

               <filename>__Alfresco.url</filename>

               <webpath>http://${localname}:8080/alfresco/</webpath>

            </urlFile>



            <!– Mark locked files as offline –>

            <offlineFiles/>



            <!– Desktop actions –>



            <desktopActions>

               <global>

                  <path>alfresco/desktop/Alfresco.exe</path>

                  <webpath>http://${localname}:8080/alfresco/</webpath>

               </global>

               <action>

                  <class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class>

                  <name>CheckInOut</name>

                  <filename>__CheckInOut.exe</filename>

               </action>

               <action>

                  <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class>

                  <name>JavaScriptURL</name>

                  <filename>__ShowDetails.exe</filename>

                  <script>alfresco/desktop/showDetails.js</script>

                  <attributes>anyFiles</attributes>

                  <preprocess>copyToTarget</preprocess>

               </action>



            </desktopActions>



<!–

            <accessControl default="Write">

               <user name="admin" access="Write"/>

               <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/>

            </accessControl>

–>

         </filesystem>

       

       <!– AVM virtualization view of all stores/versions for WCM –>

         <avmfilesystem name="AVM">

            <virtualView/>

         </avmfilesystem>

       

      </filesystems>

   </config>



</alfresco-config>


J'utilise la version labs 3 de Alfresco sur un système Ubuntu serveur.

Je vous poste mes log catalina.out qui indiquent plusieurs erreurs

9 sept. 2008 09:11:01 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
9 sept. 2008 09:11:01 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1700 ms
9 sept. 2008 09:11:01 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
9 sept. 2008 09:11:01 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
9 sept. 2008 09:11:01 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
9 sept. 2008 09:11:02 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive share.war de l'application web
09:11:07,681  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
9 sept. 2008 09:11:07 org.apache.catalina.startup.HostConfig deployWAR
INFO: Déploiement de l'archive alfresco.war de l'application web
09:11:31,774  INFO  [config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
09:11:33,231  WARN  [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
09:11:38,820  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
09:11:39,614  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
09:11:41,533  ERROR [util.exec.RuntimeExecBootstrapBean] Bootstrap command failed:
Execution result:
   os:         Linux
   command:    "soffice" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file://oouser" -nologo -headless -nofirststartwizard -nocrashrep -norestore
   succeeded:  false
   exit code:  2
   out:       
   err:        Cannot run program ""soffice"": java.io.IOException: error=2, No such file or directory
09:11:43,507 User:System INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco/alf_data
09:11:43,548 User:System INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
09:11:43,786 User:System INFO  [admin.patch.PatchExecuter] No patches were required.
09:11:43,789 User:System INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
09:11:43,920 User:System ERROR [alfresco.smb.protocol] File server configuration error, Desktop action class not found, org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction
org.alfresco.error.AlfrescoRuntimeException: Desktop action class not found, org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction
   at org.alfresco.filesys.ServerConfigurationBean.processDesktopActions(ServerConfigurationBean.java:2846)
   at org.alfresco.filesys.ServerConfigurationBean.processFilesystemsConfig(ServerConfigurationBean.java:2203)
   at org.alfresco.filesys.ServerConfigurationBean.init(ServerConfigurationBean.java:524)
   at org.alfresco.filesys.ServerConfigurationBean.onApplicationEvent(ServerConfigurationBean.java:3098)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:241)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:349)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:448)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
   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:295)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
09:11:43,922 User:System ERROR [alfresco.smb.protocol] CIFS and FTP servers not started due to filesystem initialization error
09:11:44,025 User:System WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
09:11:44,029 User:System INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_03-b05; maximum heap size 506.313MB
09:11:44,030 User:System INFO  [service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (a 1032) schema 128 - Installed version 3.0.0 (a 1032) schema 128
9 sept. 2008 09:11:55 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
9 sept. 2008 09:11:55 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
9 sept. 2008 09:11:55 org.apache.catalina.startup.Catalina start
INFO: Server startup in 54123 ms
On voit bien l'erreur 09:11:43,922 User:System ERROR [alfresco.smb.protocol] CIFS and FTP servers not started due to filesystem initialization error.
Je ne sais pas quoi faire.
Je me pose la question si il faut installer samba ou quelque chose de plus sur mon serveur linux vu que cifs est un protocole microsoft?

Merci d'avance

Outcomes