cancel
Showing results for 
Search instead for 
Did you mean: 

Bonjour au forum,Je vous écris car j'ai un problème...

alf_linux
Champ in-the-making
Champ in-the-making
Bonjour au forum,

Je vous écris car j'ai un problème pour faire fonctionner la fonctionnalité CIFS.

Je viens de faire une recherche sur ce forum sur les CIFS, il y a beaucoup de solutions et j'en ai essayé plusieurs mais sans succès malheureusement.

Je vous expose donc mon problème :

J'ai installé Alfresco via cet installateur "Alfresco-Community-2.1R1-Linux-x86-Install" sur une Kubuntu Feisty Fawn 7.04.

D'autre part, j'ai samba d'installé et j'ai suivi ce post http://forum.alfresco-fr.org/viewtopic.php?pid=2564.

J'ai donc configuré smb.conf avec l'adresse IP 192.168.1.177 en prenant soin d'activer cette option "bind interfaces only = true", puis du côté de "file-servers.xml" j'ai mis <broadcast>192.168.1.255</broadcast> et <bindto>192.168.1.176</bindto> dans la section approprié comme indiqué dans le post cité ci-dessus.

J'ai pris soin de faire un alias via : ifconfig eth0:1 192.168.1.176 et je précise que les 2 adresses sont pinguables et que tout fonctionne sur Alfresco via l'interface Web avec "http://localhost:8080/alfresco".

J'essaye de me connecter en suivant la ligne de ce post http://wiki.alfresco.com/wiki/CIFS_linux mais modifiée pour prendre en compte mon adresse IP. Voilà les lignes de commande que j'ai utilisé :

"root@pcp-eric:~# smbclient -U admin \\192.168.1.176_A\Alfresco admin Domain=[WORKGROUP] OS=[Java] Server=[Alfresco CIFS Server]"

Et voici le résultat : "Connection to 192.168.1.176_A failed"

"root@pcp-eric:~# smbclient -U admin \\192.168.1.176\Alfresco admin Domain=[WORKGROUP] OS=[Java] Server=[Alfresco CIFS Server]"

Et voici le résultat de la seconde commande : "Error connecting to 192.168.1.176 (Connexion refusée) Connection to 192.168.1.176 failed"

Qu'ai-je mal paramétré ? Quelqu'un a une idée SVP ? Merci d'avance pour l'attention que vous porterez à ce message.

PS : Voilà des fichiers supplémentaires pour mieux situer le problème.

Résultat de "netstat -pln" :

eric@pcp-eric:/etc/samba$ netstat -pln(Tous les processus ne peuvent être identifiés, les infos sur les processusnon possédés ne seront pas affichées, vous devez être root pour les voir toutes.)Connexions Internet actives (seulement serveurs)Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat       PID/Program nametcp        0      0 127.0.0.1:2208          0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:8100          0.0.0.0:*               LISTEN     10132/soffice.bintcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN     -tcp        0      0 192.168.1.177:139       0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:43759           0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:784             0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:53146           0.0.0.0:*               LISTEN     -tcp        0      0 192.168.1.177:445       0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:2207          0.0.0.0:*               LISTEN     -tcp6       0      0 :::50500                :::*                    LISTEN     10119/javatcp6       0      0 ::ffff:127.0.0.1:8005   :::*                    LISTEN     10119/javatcp6       0      0 :::8080                 :::*                    LISTEN     10119/javatcp6       0      0 :::58264                :::*                    LISTEN     10119/javaudp        0      0 0.0.0.0:32768           0.0.0.0:*                          -udp        0      0 0.0.0.0:2049            0.0.0.0:*                          -udp        0      0 0.0.0.0:32770           0.0.0.0:*                          -udp        0      0 0.0.0.0:32772           0.0.0.0:*                          -udp        0      0 192.168.1.177:137       0.0.0.0:*                          -udp        0      0 0.0.0.0:137             0.0.0.0:*                          -udp        0      0 192.168.1.177:138       0.0.0.0:*                          -udp        0      0 0.0.0.0:138             0.0.0.0:*                          -udp        0      0 0.0.0.0:781             0.0.0.0:*                          -udp        0      0 0.0.0.0:68              0.0.0.0:*                          -udp        0      0 0.0.0.0:68              0.0.0.0:*                          -udp        0      0 0.0.0.0:5353            0.0.0.0:*                          -udp        0      0 0.0.0.0:876             0.0.0.0:*                          -udp        0      0 0.0.0.0:111             0.0.0.0:*                          -Sockets du domaine UNIX actives (seulement serveurs)Proto RefCpt Indicatrs   Type       Etat          I-Node PID/Program name    Cheminunix  2      [ ACC ]     STREAM     LISTENING     19641    6306/artsd          /home/eric/.kde/socket-pcp-eric/pcp-eric-18a2-46bacb1aunix  2      [ ACC ]     STREAM     LISTENING     19077    6262/kdeinit Runnin /home/eric/.kde/socket-pcp-eric/kdeinit-:0unix  2      [ ACC ]     STREAM     LISTENING     29110    10132/soffice.bin   /tmp/OSL_PIPE_1000_SingleOfficeIPC_f2f4973f3cc2371d5da84cfa6295baaunix  2      [ ACC ]     STREAM     LISTENING     15695    -                   @/var/run/hald/dbus-4Md6ROKbtHunix  2      [ ACC ]     STREAM     LISTENING     19075    6262/kdeinit Runnin /home/eric/.kde/socket-pcp-eric/kdeinit__0unix  2      [ ACC ]     STREAM     LISTENING     15405    -                   /var/run/acpid.socketunix  2      [ ACC ]     STREAM     LISTENING     15665    -                   /var/run/dbus/system_bus_socketunix  2      [ ACC ]     STREAM     LISTENING     17459    -                   /var/run/mysqld/mysqld.sockunix  2      [ ACC ]     STREAM     LISTENING     18267    -                   /var/run/sdpunix  2      [ ACC ]     STREAM     LISTENING     20576    6556/gconfd-2       /tmp/orbit-eric/linc-199c-0-362e87d6fc6cunix  2      [ ACC ]     STREAM     LISTENING     19116    6268/klauncher [kde /home/eric/.kde/socket-pcp-eric/klauncherAs5ioa.slave-socketunix  2      [ ACC ]     STREAM     LISTENING     20586    6520/firefox-bin    /tmp/orbit-eric/linc-1978-0-24aa3d4d89f56unix  2      [ ACC ]     STREAM     LISTENING     17012    -                   /var/run/avahi-daemon/socketunix  2      [ ACC ]     STREAM     LISTENING     17286    -                   /var/run/cups/cups.sockunix  2      [ ACC ]     STREAM     LISTENING     15692    -                   @/var/run/hald/dbus-fJbN0hjmQWunix  2      [ ACC ]     STREAM     LISTENING     18601    -                   /var/run/xdmctl/dmctl/socketunix  2      [ ACC ]     STREAM     LISTENING     18613    -                   /var/run/xdmctl/dmctl-:0/socketunix  2      [ ACC ]     STREAM     LISTENING     18967    6224/dbus-daemon    @/tmp/dbus-11G0hMH7rcunix  2      [ ACC ]     STREAM     LISTENING     18609    -                   /tmp/.X11-unix/X0unix  2      [ ACC ]     STREAM     LISTENING     18956    -                   /tmp/ssh-eFDInk6181/agent.6181unix  2      [ ACC ]     STREAM     LISTENING     19088    6265/dcopserver [kd /tmp/.ICE-unix/dcop6265-1186646802unix  2      [ ACC ]     STREAM     LISTENING     19251    6277/ksmserver [kde /tmp/.ICE-unix/6277‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
Contenu de "file-servers-custom.xml" :

<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="Filesystems" replace="true">      <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>‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
Contenu de "file-servers.xml" :

<alfresco-config area="file-servers">   <config evaluator="string-compare" condition="CIFS Server">     <serverEnable enabled="true"/>      <host name="${localname}_A" domain="WORKGROUP"/>      <comment>Alfresco CIFS Server</comment>      <!– Set to the broadcast mask for the subnet –>      <broadcast>192.168.1.255</broadcast>      <bindto>192.168.1.176</bindto>      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>      <tcpipSMB platforms="linux,solaris,macosx"/>      <netBIOSSMB platforms="linux,solaris,macosx"/>            <!– Can be mapped to non-privileged ports, then use firewall rules to forward          requests from the standard ports –>      <!–              <tcpipSMB port="1445" platforms="linux,solaris,macosx"/>      <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>           –>             <hostAnnounce interval="5"/>      <!– Use Win32 NetBIOS interface on Windows –>      <Win32NetBIOS/>      <Win32Announce interval="5"/><!–      <WINS>         <primary>1.2.3.4</primary>         <secondary>5.6.7.8</secondary>      </WINS>–>      <sessionDebug flags="Negotiate,Socket"/>   </config>   <config evaluator="string-compare" condition="FTP Server">     <serverEnable enabled="true"/><!–      <debug flags="File,Search,Error,Directory,Info,DataPort"/> –>   </config>      <config evaluator="string-compare" condition="NFS Server">     <serverEnable enabled="false"/>   </config>      <config evaluator="string-compare" condition="Filesystems">     <filesystems>               <!– Alfresco repository access shared filesystem –>         <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>__AlfrescoClient.url</filename>               <webpath>http://${localname}:8080/alfresco/</webpath>            </urlFile>         <!– Mark locked files as offline –>           <offlineFiles/>         <!– Desktop actions –>         <!– Uses a client-side application to trigger a server-side action                         –>         <!–   Echo - displays a message echoed from the server                                     –>         <!–   URL  - launches a URL via the Windows shell                                          –>         <!–   CmdLine - launches the Notepad application                                           –>         <!–   CheckInOut - checks files in/out, drag and drop files onto the application           –>         <!–   JavaScript - run a server-side script                                                –>         <!–   JavaScriptURL - server-side script that generates a URL to the folder using a ticket –>         <!–                   to avoid having to logon                                             –><!–         <desktopActions>            <global>                    <path>alfresco/desktop/Alfresco.exe</path>               <webpath>http://${localname}:8080/alfresco/</webpath>            </global>            <action>               <class>org.alfresco.filesys.smb.server.repo.desk.EchoDesktopAction</class>               <name>Echo</name>                 <filename>__AlfrescoEcho.exe</filename>            </action>            <action>               <class>org.alfresco.filesys.smb.server.repo.desk.URLDesktopAction</class>               <name>URL</name>                 <filename>__AlfrescoURL.exe</filename>            </action>            <action>               <class>org.alfresco.filesys.smb.server.repo.desk.CmdLineDesktopAction</class>               <name>CmdLine</name>                 <filename>__AlfrescoCmd.exe</filename>            </action>            <action>               <class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class>               <name>CheckInOut</name>                 <filename>__AlfrescoCheckInOut.exe</filename>            </action>            <action>               <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class>               <name>JavaScript</name>               <filename>__AlfrescoScript.exe</filename>               <script>alfresco/desktop/dumpRequest.js</script>               <attributes>anyFiles, multiplePaths , allowNoParams</attributes>               <preprocess>confirm, copyToTarget</preprocess>            </action>            <action>               <class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class>               <name>JavaScriptURL</name>               <filename>__AlfrescoDetails.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>   <config evaluator="string-compare" condition="Filesystem Security">      <authenticator type="enterprise">      </authenticator><!–      <globalAccessControl default="None">         <user name="admin" access="Write"/>         <address ip="90.1.0.90" access="Write"/>      </globalAccessControl>      <users>         <localuser name="user">            <password>user</password>            <comment>Normal user account</comment>         </localuser>            <localuser name="administrator">            <password>admin</password>            <administrator/>            <comment>Administrator account</comment>         </localuser>      </users>–>   </config></alfresco-config>‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
13 REPLIES 13

michaelh
Champ on-the-rise
Champ on-the-rise
Sans trop regarder l'ensemble de la conf (bravo pour la grande liste d'informations cela dit, ça change agréablement de "ça ne marche pas !"), je vois un problème dans la façon dont tu veux accéder au serveur CIFS.

192.168.1.176_A ne peut pas fonctionner. Il faut utiliser le nom d'hôte sous la forme "\nomdeserveur_a"

Est-ce que tu peux réessayer avec ce format en vérifiant bien au préalable que "ping nomdeserveur" fonctionne pour valider la résolution de nom.

Une information intéressante serait le contenu de "alfresco.log" aussi, pour vérifier que tout démarre bien (et j'en doute un peu).

alf_linux
Champ in-the-making
Champ in-the-making
Tout d'abord, merci beaucoup MichaelH de t'intéresser à mon problème et merci aussi pour cette réactivité !

Comme c'est une installation sur un ordinateur portable, je présume que le nom de mon serveur est le nom de la machine soit "pcp-eric". J'ai donc réessayer les deux lignes de commande avec une fois "pcp-eric" et une autre fois "pcp-eric_A" et ça me donne exactement les mêmes résultats qu'avec l'adresse IP.

Je n'avais pas pensé au log (honte à moi lol), je l'ai regardé vite fais et apparement à la fin il y aurait une erreur de permission "10:52:43,804 ERROR [org.alfresco.ftp.protocol] FTP Socket error java.net.BindException: Permission denied" mais bon je ne sais pas si il n'y a que ça.

Je te laisse regarder le log et merci encore.

Contenu de "alfresco.log"

08:24:28,309 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation: Execution result:    os:         Linux   command:    convert /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_20403.gif  /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_20404.png   succeeded:  false   exit code:  1   out:           err:        java.io.IOException: convert: not found08:24:33,742 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one08:24:40,614 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.08:24:42,729 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /home/mysql/alf_data08:24:43,461 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …08:24:43,639 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).08:24:43,945 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP08:24:43,945 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)08:24:44,023 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506,313MB08:24:44,024 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (R1 443) schema 62 - Installed version 2.1.0 (R1 443) schema 6208:24:44,026 ERROR [org.alfresco.smb.protocol.netbios] NetBIOSNameServer setup error:java.net.BindException: Permission denied   at java.net.PlainDatagramSocketImpl.bind0(Native Method)   at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)   at java.net.DatagramSocket.bind(DatagramSocket.java:368)   at java.net.DatagramSocket.<init>(DatagramSocket.java:210)   at java.net.DatagramSocket.<init>(DatagramSocket.java:261)   at java.net.DatagramSocket.<init>(DatagramSocket.java:234)   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1084)   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1556)   at java.lang.Thread.run(Thread.java:595)08:24:44,028 ERROR [org.alfresco.smb.protocol] Server error : java.net.BindException: Permission denied   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.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:257)   at org.alfresco.filesys.smb.server.NetBIOSSessionSocketHandler.createSessionHandlers(NetBIOSSessionSocketHandler.java:165)   at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:495)   at java.lang.Thread.run(Thread.java:595)08:24:44,028 ERROR [org.alfresco.ftp.protocol] FTP Socket errorjava.net.BindException: Permission denied   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:407)   at java.lang.Thread.run(Thread.java:595)09:03:04,616 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly09:07:51,312 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation: Execution result:    os:         Linux   command:    convert /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_55684.gif  /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_55685.png   succeeded:  false   exit code:  1   out:           err:        java.io.IOException: convert: not found09:07:56,075 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one09:08:03,944 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.09:08:06,588 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /home/mysql/alf_data09:08:07,173 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …09:08:07,383 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).09:08:07,672 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP09:08:07,672 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)09:08:07,734 ERROR [org.alfresco.smb.protocol.netbios] NetBIOSNameServer setup error:java.net.BindException: Permission denied   at java.net.PlainDatagramSocketImpl.bind0(Native Method)   at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)   at java.net.DatagramSocket.bind(DatagramSocket.java:368)   at java.net.DatagramSocket.<init>(DatagramSocket.java:210)   at java.net.DatagramSocket.<init>(DatagramSocket.java:261)   at java.net.DatagramSocket.<init>(DatagramSocket.java:234)   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1084)   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1556)   at java.lang.Thread.run(Thread.java:595)09:08:07,761 ERROR [org.alfresco.smb.protocol] Server error : java.net.BindException: Permission denied   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.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:257)   at org.alfresco.filesys.smb.server.NetBIOSSessionSocketHandler.createSessionHandlers(NetBIOSSessionSocketHandler.java:165)   at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:495)   at java.lang.Thread.run(Thread.java:595)09:08:07,769 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506,313MB09:08:07,770 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (R1 443) schema 62 - Installed version 2.1.0 (R1 443) schema 6209:08:07,788 ERROR [org.alfresco.ftp.protocol] FTP Socket errorjava.net.BindException: Permission denied   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:407)   at java.lang.Thread.run(Thread.java:595)09:58:29,723 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly10:00:00,912 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation: Execution result:    os:         Linux   command:    convert /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_14751.gif  /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_14752.png   succeeded:  false   exit code:  1   out:           err:        java.io.IOException: convert: not found10:00:04,560 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one10:00:12,247 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.10:00:16,514 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /home/mysql/alf_data10:00:16,895 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …10:00:17,099 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).10:00:17,520 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP10:00:17,520 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)10:00:17,800 ERROR [org.alfresco.ftp.protocol] FTP Socket errorjava.net.BindException: Permission denied   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:407)   at java.lang.Thread.run(Thread.java:595)10:00:17,807 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506,313MB10:00:17,926 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (R1 443) schema 62 - Installed version 2.1.0 (R1 443) schema 6210:51:01,933 ERROR [net.sf.jooreports.openoffice.connection.SocketOpenOfficeConnection] disconnected unexpectedly10:52:29,402 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation: Execution result:    os:         Linux   command:    convert /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_13564.gif  /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_13565.png   succeeded:  false   exit code:  1   out:           err:        java.io.IOException: convert: not found10:52:32,963 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one10:52:38,316 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.10:52:42,440 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /home/mysql/alf_data10:52:43,261 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …10:52:43,427 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).10:52:43,774 ERROR [org.alfresco.smb.protocol.netbios] NetBIOSNameServer setup error:java.net.BindException: Permission denied   at java.net.PlainDatagramSocketImpl.bind0(Native Method)   at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)   at java.net.DatagramSocket.bind(DatagramSocket.java:368)   at java.net.DatagramSocket.<init>(DatagramSocket.java:210)   at java.net.DatagramSocket.<init>(DatagramSocket.java:261)   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1082)   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1556)   at java.lang.Thread.run(Thread.java:595)10:52:43,792 ERROR [org.alfresco.smb.protocol] Server error : java.net.BindException: Permission denied   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 org.alfresco.filesys.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:255)   at org.alfresco.filesys.smb.server.NetBIOSSessionSocketHandler.createSessionHandlers(NetBIOSSessionSocketHandler.java:165)   at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:495)   at java.lang.Thread.run(Thread.java:595)10:52:43,804 ERROR [org.alfresco.ftp.protocol] FTP Socket errorjava.net.BindException: Permission denied   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:407)   at java.lang.Thread.run(Thread.java:595)10:52:43,875 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506,313MB10:52:43,875 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (R1 443) schema 62 - Installed version 2.1.0 (R1 443) schema 62‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

michaelh
Champ on-the-rise
Champ on-the-rise
Hum …

08:24:44,026 ERROR [org.alfresco.smb.protocol.netbios] NetBIOSNameServer setup error:java.net.BindException: Permission denied‍
Le serveur CIFS ne se lance pas (FTP non plus d'ailleurs)

Est-ce que le serveur ne serait pas lancé sous un autre compte utilisateur que root par hasard ? Sur une base Ubuntu ce serait logique.
Si oui, alors ça ne peut pas fonctionner en l'état car seul root à le droit d'ouvrir des ports<1024

Voir http://wiki.alfresco.com/wiki/File_Server_Configuration#Running_SMB.2FCIFS_from_a_normal_user_accoun... pour ce cas précis.

Tu peux tester rapidement en le lançant en tant qu'utilisateur root dans un premier temps.

alf_linux
Champ in-the-making
Champ in-the-making
Apparement le problème est bien là puisque je me connecte sous ma kubuntu en utilisant le compte "eric".

Et pour lancer Alfresco j'utilise les raccourcis qui ont été créé sur le bureau et qui possèdent (pour les 2 qui nous intéressent) les droits suivants :

     - alf_start.sh -rwxr-xr-x 1 eric eric
     - alf_stop.sh -rwxr-xr-x 1 eric eric

Le problème c'est que je ne sais pas comment le lancer en root.

J'ai essayer de lancer une console, puis de memettre en root et de lancer le raccourci mais ça me met "root@pcp-eric:/home/eric/Alfresco# Xlib: connection to ":0.0" refused by server"

Je ne vois pas comment faire ? Aurais-tu une idée STP ?

En attendant merci beaucoup pour ton aide.

bmagnier
Champ in-the-making
Champ in-the-making
Bonjour,

comme on est sur une kUbuntu, un simple "sudo" ne ferait-il pas l'affaire?
sudo ./alf_start.sh‍
Bertrand.

alf_linux
Champ in-the-making
Champ in-the-making
Merci bmagnier de ta participation.

J'y ai pensé après avoir posté la réponse précédente.

J'ai procédé de la manière suivante :

J'ai ouvert une console et je me suit dirigé dans le dossier qui contient les raccourcis et j'ai fais un "sudo ./alf_start.sh".

Mais ce qui s'en suit n'est pas la même !

Quand j'essaye de me connecter à alfresco en utilisant firefox comme à l'habitude par "http://localhost:8080/alfresco" j'obtiens ceci :

Etat HTTP 404 - /alfresco/

type Rapport d'état

message /alfresco/

description La ressource demandée (/alfresco/) n'est pas disponible.
Apache Tomcat/5.5.23

Quand je reviens voir dans les logs j'ai ceci :

14:47:48,822 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.alfresco.web.app.ContextListenerorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverConnector' defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]Caused by: java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]   at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)   at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)   at org.springframework.jmx.support.ConnectorServerFactoryBean.afterPropertiesSet(ConnectorServerFactoryBean.java:168)   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1085)   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:429)   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:250)   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:247)   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:161)   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:270)   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)   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:585)   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)Caused by: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]   at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:118)   at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)   at javax.naming.InitialContext.bind(InitialContext.java:359)   at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)   at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)   … 38 moreCaused by: java.rmi.AlreadyBoundException: alfresco/jmxrmi   at sun.rmi.registry.RegistryImpl.bind(RegistryImpl.java:123)   at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)   at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375)   at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)   at sun.rmi.transport.Transport$1.run(Transport.java:153)   at java.security.AccessController.doPrivileged(Native Method)   at sun.rmi.transport.Transport.serviceCall(Transport.java:149)   at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)   at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)   at java.lang.Thread.run(Thread.java:595)   at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)   at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)   at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343)   at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)   at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:116)   … 42 more‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
Et quand je fais la commande "netstat -pln" j'obtiens ceci : (aucune apparition de mon IP 192.168.1.176)

eric@pcp-eric:~/Alfresco$ netstat -pln(Tous les processus ne peuvent être identifiés, les infos sur les processusnon possédés ne seront pas affichées, vous devez être root pour les voir toutes.)Connexions Internet actives (seulement serveurs)Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat       PID/Program nametcp        0      0 127.0.0.1:2208          0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:8100          0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:43759           0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:784             0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:53146           0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:2207          0.0.0.0:*               LISTEN     -tcp6       0      0 :::55748                :::*                    LISTEN     -tcp6       0      0 :::50500                :::*                    LISTEN     15328/javatcp6       0      0 ::ffff:127.0.0.1:8005   :::*                    LISTEN     -tcp6       0      0 :::33195                :::*                    LISTEN     15328/javatcp6       0      0 :::8080                 :::*                    LISTEN     -udp        0      0 0.0.0.0:32768           0.0.0.0:*                          -udp        0      0 0.0.0.0:2049            0.0.0.0:*                          -udp        0      0 0.0.0.0:32770           0.0.0.0:*                          -udp        0      0 0.0.0.0:32772           0.0.0.0:*                          -udp        0      0 0.0.0.0:781             0.0.0.0:*                          -udp        0      0 0.0.0.0:68              0.0.0.0:*                          -udp        0      0 0.0.0.0:68              0.0.0.0:*                          -udp        0      0 0.0.0.0:5353            0.0.0.0:*                          -udp        0      0 0.0.0.0:876             0.0.0.0:*                          -udp        0      0 0.0.0.0:111             0.0.0.0:*                          -Sockets du domaine UNIX actives (seulement serveurs)Proto RefCpt Indicatrs   Type       Etat          I-Node PID/Program name    Cheminunix  2      [ ACC ]     STREAM     LISTENING     19641    6306/artsd          /home/eric/.kde/socket-pcp-eric/pcp-eric-18a2-46bacb1aunix  2      [ ACC ]     STREAM     LISTENING     19077    6262/kdeinit Runnin /home/eric/.kde/socket-pcp-eric/kdeinit-:0unix  2      [ ACC ]     STREAM     LISTENING     42396    21193/soffice.bin   /tmp/OSL_PIPE_1000_SingleOfficeIPC_f2f4973f3cc2371d5da84cfa6295baaunix  2      [ ACC ]     STREAM     LISTENING     15695    -                   @/var/run/hald/dbus-4Md6ROKbtHunix  2      [ ACC ]     STREAM     LISTENING     55351    -                   /tmp/OSL_PIPE_0_SingleOfficeIPC_f2f4973f3cc2371d5da84cfa6295baaunix  2      [ ACC ]     STREAM     LISTENING     19075    6262/kdeinit Runnin /home/eric/.kde/socket-pcp-eric/kdeinit__0unix  2      [ ACC ]     STREAM     LISTENING     15405    -                   /var/run/acpid.socketunix  2      [ ACC ]     STREAM     LISTENING     15665    -                   /var/run/dbus/system_bus_socketunix  2      [ ACC ]     STREAM     LISTENING     17459    -                   /var/run/mysqld/mysqld.sockunix  2      [ ACC ]     STREAM     LISTENING     18267    -                   /var/run/sdpunix  2      [ ACC ]     STREAM     LISTENING     20576    6556/gconfd-2       /tmp/orbit-eric/linc-199c-0-362e87d6fc6cunix  2      [ ACC ]     STREAM     LISTENING     19116    6268/klauncher [kde /home/eric/.kde/socket-pcp-eric/klauncherAs5ioa.slave-socketunix  2      [ ACC ]     STREAM     LISTENING     20586    6520/firefox-bin    /tmp/orbit-eric/linc-1978-0-24aa3d4d89f56unix  2      [ ACC ]     STREAM     LISTENING     17012    -                   /var/run/avahi-daemon/socketunix  2      [ ACC ]     STREAM     LISTENING     17286    -                   /var/run/cups/cups.sockunix  2      [ ACC ]     STREAM     LISTENING     53551    -                   /home/eric/.kde/socket-pcp-eric/kdesud_:0unix  2      [ ACC ]     STREAM     LISTENING     15692    -                   @/var/run/hald/dbus-fJbN0hjmQWunix  2      [ ACC ]     STREAM     LISTENING     18601    -                   /var/run/xdmctl/dmctl/socketunix  2      [ ACC ]     STREAM     LISTENING     18613    -                   /var/run/xdmctl/dmctl-:0/socketunix  2      [ ACC ]     STREAM     LISTENING     18967    6224/dbus-daemon    @/tmp/dbus-11G0hMH7rcunix  2      [ ACC ]     STREAM     LISTENING     18609    -                   /tmp/.X11-unix/X0unix  2      [ ACC ]     STREAM     LISTENING     18956    -                   /tmp/ssh-eFDInk6181/agent.6181unix  2      [ ACC ]     STREAM     LISTENING     19088    6265/dcopserver [kd /tmp/.ICE-unix/dcop6265-1186646802unix  2      [ ACC ]     STREAM     LISTENING     19251    6277/ksmserver [kde /tmp/.ICE-unix/6277‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
Si quelqu'un a une idée ?

Je ne baisse pas les bras et je vais essayer la deuxième solution de MichaelM, c'est-à-dire le lien qu'il m'a gentiment fourni.

Merci à tous les deux.

lme
Champ in-the-making
Champ in-the-making
java.io.IOException: Cannot bind to URL [rmi://localhost:50500/alfresco/jmxrmi]: javax.naming.NameAlreadyBoundException: alfresco/jmxrmi [Root exception is java.rmi.AlreadyBoundException: alfresco/jmxrmi]‍
Tu as déjà un process Java qui tourne sur le port 50500. Kill tout les process java et relance Alfresco en root.

alf_linux
Champ in-the-making
Champ in-the-making
Désolé pour la lenteur de la réponse mais je n'arrivais plus à atteindre le forum et merci à LaurentM de bien vouloir m'aider.

Plus on est de fous, plus on rit.

J'ai donc essayé la solution de MichaelH puis j'ai redémarré.

Et là comme par magie l'interface Web fonctionne de nouveau, les logs ont réduits.

En revanche la commande pour CIFS ne fonctionne toujours pas et je m'étonne de ne pas trouver l'adresse IP 192.168.1.176 d'Alfresco

Voici le contenu du fichier alfresco.log :

15:58:02,425 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation: Execution result:    os:         Linux   command:    convert /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_60923.gif  /home/eric/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_60924.png   succeeded:  false   exit code:  1   out:           err:        java.io.IOException: convert: not found15:58:06,908 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one15:58:14,532 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.15:58:16,859 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /home/mysql/alf_data15:58:17,463 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …15:58:17,693 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).15:58:18,033 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP15:58:18,033 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)15:58:18,073 ERROR [org.alfresco.smb.protocol.netbios] NetBIOSNameServer setup error:java.net.BindException: Cannot assign requested address   at java.net.PlainDatagramSocketImpl.bind0(Native Method)   at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)   at java.net.DatagramSocket.bind(DatagramSocket.java:368)   at java.net.DatagramSocket.<init>(DatagramSocket.java:210)   at java.net.DatagramSocket.<init>(DatagramSocket.java:261)   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1082)   at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1556)   at java.lang.Thread.run(Thread.java:595)15:58:18,087 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506,313MB15:58:18,088 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (R1 443) schema 62 - Installed version 2.1.0 (R1 443) schema 6215:58:18,088 ERROR [org.alfresco.smb.protocol] Server error : java.net.BindException: Cannot assign requested address   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 org.alfresco.filesys.smb.server.SessionSocketHandler.initialize(SessionSocketHandler.java:255)   at org.alfresco.filesys.smb.server.NetBIOSSessionSocketHandler.createSessionHandlers(NetBIOSSessionSocketHandler.java:165)   at org.alfresco.filesys.smb.server.SMBServer.run(SMBServer.java:495)   at java.lang.Thread.run(Thread.java:595)‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
Voici le résultat de la commande "netstat -pln" :

eric@pcp-eric:~/Alfresco$ netstat -pln(Tous les processus ne peuvent être identifiés, les infos sur les processusnon possédés ne seront pas affichées, vous devez être root pour les voir toutes.)Connexions Internet actives (seulement serveurs)Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat       PID/Program nametcp        0      0 127.0.0.1:2208          0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:8100          0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:743             0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN     -tcp        0      0 192.168.1.177:139       0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:39705           0.0.0.0:*               LISTEN     -tcp        0      0 192.168.1.177:445       0.0.0.0:*               LISTEN     -tcp        0      0 0.0.0.0:51807           0.0.0.0:*               LISTEN     -tcp        0      0 127.0.0.1:2207          0.0.0.0:*               LISTEN     -tcp6       0      0 :::50500                :::*                    LISTEN     -tcp6       0      0 ::ffff:127.0.0.1:8005   :::*                    LISTEN     -tcp6       0      0 :::40399                :::*                    LISTEN     -tcp6       0      0 :::8080                 :::*                    LISTEN     -tcp6       0      0 :::21                   :::*                    LISTEN     -udp        0      0 0.0.0.0:32768           0.0.0.0:*                          -udp        0      0 0.0.0.0:2049            0.0.0.0:*                          -udp        0      0 0.0.0.0:32770           0.0.0.0:*                          -udp        0      0 0.0.0.0:32771           0.0.0.0:*                          -udp        0      0 192.168.1.177:137       0.0.0.0:*                          -udp        0      0 0.0.0.0:137             0.0.0.0:*                          -udp        0      0 192.168.1.177:138       0.0.0.0:*                          -udp        0      0 0.0.0.0:138             0.0.0.0:*                          -udp        0      0 0.0.0.0:68              0.0.0.0:*                          -udp        0      0 0.0.0.0:68              0.0.0.0:*                          -udp        0      0 0.0.0.0:862             0.0.0.0:*                          -udp        0      0 0.0.0.0:740             0.0.0.0:*                          -udp        0      0 0.0.0.0:5353            0.0.0.0:*                          -udp        0      0 0.0.0.0:111             0.0.0.0:*                          -udp6    2144      0 :::32776                :::*                               -Sockets du domaine UNIX actives (seulement serveurs)Proto RefCpt Indicatrs   Type       Etat          I-Node PID/Program name    Cheminunix  2      [ ACC ]     STREAM     LISTENING     18997    6189/kdeinit Runnin /home/eric/.kde/socket-pcp-eric/kdeinit__0unix  2      [ ACC ]     STREAM     LISTENING     20074    6351/gconfd-2       /tmp/orbit-eric/linc-18cf-0-364902ad8b592unix  2      [ ACC ]     STREAM     LISTENING     18999    6189/kdeinit Runnin /home/eric/.kde/socket-pcp-eric/kdeinit-:0unix  2      [ ACC ]     STREAM     LISTENING     20453    -                   /tmp/OSL_PIPE_0_SingleOfficeIPC_f2f4973f3cc2371d5da84cfa6295baaunix  2      [ ACC ]     STREAM     LISTENING     15438    -                   /var/run/acpid.socketunix  2      [ ACC ]     STREAM     LISTENING     15697    -                   /var/run/dbus/system_bus_socketunix  2      [ ACC ]     STREAM     LISTENING     17497    -                   /var/run/mysqld/mysqld.sockunix  2      [ ACC ]     STREAM     LISTENING     20084    6291/firefox-bin    /tmp/orbit-eric/linc-1893-0-63553e94a8255unix  2      [ ACC ]     STREAM     LISTENING     18293    -                   /var/run/sdpunix  2      [ ACC ]     STREAM     LISTENING     19567    6230/artsd          /home/eric/.kde/socket-pcp-eric/pcp-eric-1856-46bb2b0bunix  2      [ ACC ]     STREAM     LISTENING     15723    -                   @/var/run/hald/dbus-NKYmc5QI22unix  2      [ ACC ]     STREAM     LISTENING     17056    -                   /var/run/avahi-daemon/socketunix  2      [ ACC ]     STREAM     LISTENING     15726    -                   @/var/run/hald/dbus-aOchNiivFIunix  2      [ ACC ]     STREAM     LISTENING     17324    -                   /var/run/cups/cups.sockunix  2      [ ACC ]     STREAM     LISTENING     19040    6195/klauncher [kde /home/eric/.kde/socket-pcp-eric/klauncherFkIjUb.slave-socketunix  2      [ ACC ]     STREAM     LISTENING     18629    -                   /var/run/xdmctl/dmctl/socketunix  2      [ ACC ]     STREAM     LISTENING     18639    -                   /var/run/xdmctl/dmctl-:0/socketunix  2      [ ACC ]     STREAM     LISTENING     18635    -                   /tmp/.X11-unix/X0unix  2      [ ACC ]     STREAM     LISTENING     18861    -                   /tmp/ssh-yrsWan6102/agent.6102unix  2      [ ACC ]     STREAM     LISTENING     18872    6145/dbus-daemon    @/tmp/dbus-mZa02XBDfZunix  2      [ ACC ]     STREAM     LISTENING     19010    6192/dcopserver [kd /tmp/.ICE-unix/dcop6192-1186671363unix  2      [ ACC ]     STREAM     LISTENING     19174    6204/ksmserver [kde /tmp/.ICE-unix/6204‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

michaelh
Champ on-the-rise
Champ on-the-rise
java.net.BindException: Cannot assign requested address‍
Tu n'aurais pas par le plus grand des hasards perdu ton alias sur 192.168.1.176 lors d'un reboot ?

Je suis prêt à parier que cette interface n'apparait plus en faisant un "ifconfig".
Au passage, ton netstat est peu intéressant car lancé en utilisateur lambda. Il ne liste donc pas les processus et sockets de root. "sudo netstat" donc.

(merci d'utiliser la balise CODE pour encadrer les logs sinon c'est un peu difficile à lire)
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.