As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
C:\>ftp localhostConnesso a pgranato220 FTP server readyUtente (pgranatonone)): admin331 User name okay, need password for adminPassword:230 User logged in, proceedftp> dir200 Port OK150 File status okay, about to open data connection226 Closing data connectionftp> mkdir pippo550 Invalid path pippoftp> put testo.txt200 Port OK500 Invalid pathftp>
<config evaluator="string-compare" condition="FTP Server"> <debug flags="File,Search,Error,Directory,Info,DataPort"/> <rootDirectory>/Alfresco</rootDirectory> </config> <config evaluator="string-compare" condition="Filesystems"> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <urlFile> <filename>__AlfrescoClient.url</filename> <webpath>http://localhost:8080/alfresco/</webpath> </urlFile> </filesystem> </config>
Hello everybody,I'm experiencing the same problem Pasquale described. Did you find the solution?Cheers
Hello everybody,I'm experiencing the same problem Pasquale described. Did you find the solution?CheersI dont see an answer to you question here. I did a install for a friend, and out of the box I am experiencing the same issue. If I get to the bottom of it I'll let you know. Its low priority for me.
Resolving X.com… Connect socket #5404 to X, port 21… 220 FTP server ready USER admin 331 User name okay, need password for admin PASS ********** 230 User logged in, proceed SYST 215 UNIX Type: Java FTP Server Keep alive off… PWD 257 "/" PASV 227 Entering Passive Mode (X,9,87) LIST Connect socket #5836 to X, port 2391… 150 File status okay, about to open data connection 226 Closing data connection Transferred 0 bytes in 0.020 seconds
<alfresco-config area="file-servers"> <config evaluator="string-compare" condition="CIFS Server"> <host name="${localname}_A"/> <comment>Alfresco CIFS Server</comment> <!– Set to the broadcast mask for the subnet –> <broadcast>255.255.255.255</broadcast> <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –> <tcpipSMB platforms="linux,solaris,macosx"/> <netBIOSSMB 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"> <config evaluator="string-compare" condition="FTP Server"> <rootDirectory>/Alfresco</rootDirectory> </config> <debug flags="File,Search,Error,Directory,Info,DataPort"/> </config> <config evaluator="string-compare" condition="Filesystems"> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <urlFile> <filename>__AlfrescoClient.url</filename> <webpath>http://localhost:8080/alfresco/</webpath> </urlFile> <!– <accessControl default="Write"> <user name="admin" access="Write"/> <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/> </accessControl> –> </filesystem> </config> <config evaluator="string-compare" condition="Filesystem Security"> <authenticator type="alfresco"> </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>
<config evaluator="string-compare" condition="FTP Server"> <!– <debug flags="File,Search,Error,Directory,Info,DataPort"/> –> </config> <config evaluator="string-compare" condition="Filesystems"> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <urlFile> <filename>__AlfrescoClient.url</filename> <webpath>http://localhost:8080/alfresco/</webpath> </urlFile> <!– <accessControl default="Write"> <user name="admin" access="Write"/> <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/> </accessControl> –> </filesystem> </config>
I am on version 1.2 like everyone else and like most people I am getting a lot of backtalk from the FTP server. From what I can tell its because the Server Configuration is returning an empty list of Shares.Nothing in the cofig file associates the filesystem with the ftp server. is the filesystem is available to all of the servers? <config evaluator="string-compare" condition="FTP Server"> <!– <debug flags="File,Search,Error,Directory,Info,DataPort"/> –> </config> <config evaluator="string-compare" condition="Filesystems"> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <urlFile> <filename>__AlfrescoClient.url</filename> <webpath>http://localhost:8080/alfresco/</webpath> </urlFile> <!– <accessControl default="Write"> <user name="admin" access="Write"/> <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/> </accessControl> –> </filesystem> </config> When you connect you connect to "/" and you cant do anything.ie:CWD /Alfresco 550 Invalid path /AlfrescoOne thing I do not understand (because I havent looked to understand at all) is how alfresco configuration works. I dont see a DTD/XSD at the top. What reads the XML files, what gives the schema?
Hi,I just tried to reproduce the problem here with and without the <rootDirectory> setting. It worked ok here with WS-FTP and FileZilla FTP clients, and also using an ftp:// URL in IE6. I logged on as the admin user.CheersGary
// Find the associated shared device, if not already set if (ftpPath.hasSharedDevice() == false && ftpPath.setSharedDevice( shareList, this) == false) return null;
Hi Russ,Can you access the server using CIFS ?, the sharelist should not be null at that point, it sounds like the filesystem didn't initialize. Are there any errors logged in the alfresco.log ?.Could you email me your file-servers.xml and alfresco.log files.CheersGary
<alfresco-config area="file-servers"> <config evaluator="string-compare" condition="CIFS Server"> <host name="${localname}_A"/> <comment>Alfresco CIFS Server</comment> <!– Set to the broadcast mask for the subnet –> <broadcast>255.255.255.255</broadcast> <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –> <tcpipSMB platforms="linux,solaris,macosx"/> <netBIOSSMB 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"> <debug flags="File,Search,Error,Directory,Info,DataPort"/> </config> <config evaluator="string-compare" condition="Filesystems"> <filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <urlFile> <filename>__AlfrescoClient.url</filename> <webpath>http://localhost:9080/alfresco/</webpath> </urlFile> <accessControl default="Write"> <user name="admin" access="Write"/> <!– <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/> –> </accessControl> </filesystem> </config> <config evaluator="string-compare" condition="Filesystem Security"> <authenticator type="alfresco"> </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>
11:50:08,772 INFO [Server] Starting JBoss (MX MicroKernel)… 11:50:08,772 INFO [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023) 11:50:08,772 INFO [Server] Home Dir: C:\servers\alfresco-jboss\jboss-4.0.2 11:50:08,772 INFO [Server] Home URL: file:/C:/servers/alfresco-jboss/jboss-4.0.2/ 11:50:08,772 INFO [Server] Library URL: file:/C:/servers/alfresco-jboss/jboss-4.0.2/lib/ 11:50:08,772 INFO [Server] Patch URL: null 11:50:08,772 INFO [Server] Server Name: default 11:50:08,772 INFO [Server] Server Home Dir: C:\servers\alfresco-jboss\jboss-4.0.2\server\default 11:50:08,812 INFO [Server] Server Home URL: file:/C:/servers/alfresco-jboss/jboss-4.0.2/server/default/ 11:50:08,822 INFO [Server] Server Data Dir: C:\servers\alfresco-jboss\jboss-4.0.2\server\default\data 11:50:08,822 INFO [Server] Server Temp Dir: C:\servers\alfresco-jboss\jboss-4.0.2\server\default\tmp 11:50:08,822 INFO [Server] Server Config URL: file:/C:/servers/alfresco-jboss/jboss-4.0.2/server/default/conf/ 11:50:08,822 INFO [Server] Server Library URL: file:/C:/servers/alfresco-jboss/jboss-4.0.2/server/default/lib/ 11:50:08,822 INFO [Server] Root Deployment Filename: jboss-service.xml 11:50:08,822 INFO [Server] Starting General Purpose Architecture (GPA)… 11:50:09,473 INFO [ServerInfo] Java version: 1.5.0_02,Sun Microsystems Inc. 11:50:09,473 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_02-b09,Sun Microsystems Inc. 11:50:09,473 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 11:50:16,684 INFO [Server] Core system initialized 11:50:19,949 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 11:51:25,686 ERROR [AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "C:\DOCUME~1\dannerr\LOCALS~1\Temp\Alfresco\ImageMagickContentTransformer_init_source_3293.gif" "C:\DOCUME~1\dannerr\LOCALS~1\Temp\Alfresco\ImageMagickContentTransformer_init_target_3294.png" 11:51:35,260 ERROR [protocol] Error accessing Win32 NetBIOS, check DLL is on the path 11:52:21,488 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 2m:12s:666ms
Hello, I have to report the same behaviour with my 1.2.1 alfresco linux install. I can access FTP… at least CONNECT to it with correct credentials.. but i cannot get even a root directory listing. "conexion closed" error like others reported on this thread.Trying to immagine what could be the difference between ones who experience the problem and those who dont, i can report i changed the name of the root space. Could this harm? Could translated alfresco versions handle this differently?I can access the files using the webclient and webdav (though not working everytime… i suspect windows is badly handling webdav drives, but the error message being "invalid folder", it could be linked with this FTP problem, isnt'it?)
/** * Initialize the configuration using the configuration service */ public void init() { // check that all required properties have been set if (authenticationManager == null) { throw new AlfrescoRuntimeException("Property 'authenticationManager' not set"); } else if (m_authenticationComponent == null) { throw new AlfrescoRuntimeException("Property 'authenticationComponent' not set"); } else if (authenticationService == null) { throw new AlfrescoRuntimeException("Property 'authenticationService' not set"); } else if (m_nodeService == null) { throw new AlfrescoRuntimeException("Property 'nodeService' not set"); } else if (m_personService == null) { throw new AlfrescoRuntimeException("Property 'personService' not set"); } else if (m_transactionService == null) { throw new AlfrescoRuntimeException("Property 'transactionService' not set"); } else if (diskInterface == null) { throw new AlfrescoRuntimeException("Property 'diskInterface' not set"); } else if (configService == null) { throw new AlfrescoRuntimeException("Property 'configService' not set"); } initialised = false; // Create the configuration context ConfigLookupContext configCtx = new ConfigLookupContext(ConfigArea); // Set the platform type determinePlatformType(); try { Config config = null; try { // Process the CIFS server configuration config = configService.getConfig(ConfigCIFS, configCtx); processCIFSServerConfig(config); } catch(Throwable eCIFSConfigFailure) { // Configuration error // Disable the CIFS server setNetBIOSSMB(false); setTcpipSMB(false); setWin32NetBIOS(false); setSMBServerEnabled(false); if(eCIFSConfigFailure instanceof UnsatisfiedLinkError) { // Error accessing the Win32NetBIOS DLL code logger.error("Error accessing Win32 NetBIOS, check DLL is on the path"); } else { // configuration error logger.error("Error configuring CIFS Server [" + eCIFSConfigFailure.getMessage()+"]", eCIFSConfigFailure); } } try { // Process the FTP server configuration config = configService.getConfig(ConfigFTP, configCtx); processFTPServerConfig(config); } catch(Throwable eFtpConfigFailure) { // Configuration error this.setFTPServerEnabled(false); logger.error("Error configuring FTP Server [" + eFtpConfigFailure.getMessage()+"]", eFtpConfigFailure); } // Process the security configuration config = configService.getConfig(ConfigSecurity, configCtx); processSecurityConfig(config); // Process the filesystems configuration config = configService.getConfig(ConfigFilesystems, configCtx); processFilesystemsConfig(config); // Successful initialisation initialised = true; } catch (Throwable ex) { // Configuration error logger.error("File server configuration error [one or more filesystems may not be functioning properly], " + ex.getMessage(), ex); } }
tcp 0 0 :::6621 :::* LISTEN
<alfresco-config area="file-servers"> <config evaluator="string-compare" condition="CIFS Server"> <host name="${localname}_A"/> <comment>Alfresco CIFS Server</comment> <!– Set to the broadcast mask for the subnet –> <broadcast>255.255.255.255</broadcast> <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –> <tcpipSMB platforms="linux,solaris,macosx"/> <netBIOSSMB 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"> <port>6621</port> <!– <allowAnonymous/> <rootDirectory>/Alfresco</rootDirectory> <debug flags="File,Search,Error,Directory,Info,DataPort"/> –> </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 th e web client –> <urlFile> <filename>__AlfrescoClient.url</filename> <webpath>http://localhost:8080/alfresco/</webpath> </urlFile> <!– Mark locked files as offline –> <offlineFiles/> <!– Client side drag and drop application for check in/ out via CIFS –> <!– <dragAndDrop> <filename>__Alfresco.exe</filename> <path>alfresco/desktop/Alfresco.exe</path> </dragAndDrop> –> <!– <accessControl default="Write"> <user name="admin" access="Write"/> <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/> </accessControl> –> </filesystem> </filesystems> </config> <config evaluator="string-compare" condition="Filesystem Security"> <authenticator type="alfresco"> </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>