Hello Eyal, I followed the following steps:
1) Downloaded the latest snapshot of FtpServer from SVN. 2) Run mvn install from the base directory (Actually, I used -Dmaven.test.skip=true so I could install this quickly) 3) Unzipped the resulting archive to c:/ftpserver1.0.0) 4) C:\ftpserver-1.0.0> bin\service.bat install ftpd res\conf\ftpd-typical.xml 5) net start ftpd The service is running for me and I'm able to connect to port 21 using anonymous login. Can you include the log file in res/log for any insights? 2009/4/2 Eyal Safran (JIRA) <j...@apache.org>: > > [ > https://issues.apache.org/jira/browse/FTPSERVER-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Eyal Safran updated FTPSERVER-284: > ---------------------------------- > > Description: > After installing the FtpServer as a service, When trying to run the service, > it won't start and the log shows: > > [2009-04-01 12:11:00] [info] Service ftpd name Apache FtpServer > [2009-04-01 12:11:00] [info] Service ftpd installed > [2009-04-01 12:11:00] [info] Procrun finished. > [2009-04-01 12:11:00] [info] Updating service... > [2009-04-01 12:11:01] [info] Service ftpd updated > [2009-04-01 12:11:01] [info] Update service finished. > [2009-04-01 12:11:01] [info] Procrun finished. > [2009-04-01 12:11:28] [info] Running Service... > [2009-04-01 12:11:28] [info] Starting service... > [2009-04-01 12:11:28] [458 javajni.c] [error] FindClass > org/apache/ftpserver/main/Daemon failed > [2009-04-01 12:11:28] [958 prunsrv.c] [error] Failed loading main > org/apache/ftpserver/main/Daemon class > D:\apache\common\classes;D:\apache\common\lib\aopalliance-1.0.jar;D:\apache\common\lib\ftplet-api-1.0.0.jar;D:\apache\common\lib\ftpserver-core-1.0.0.jar;D:\apache\common\lib\jcl-over-slf4j-1.5.2.jar;D:\apache\common\lib\log4j-1.2.14.jar;D:\apache\common\lib\mina-core-2.0.0-M4.jar;D:\apache\common\lib\slf4j-api-1.5.2.jar;D:\apache\common\lib\slf4j-log4j12-1.5.2.jar;D:\apache\common\lib\spring-beans-2.5.5.jar;D:\apache\common\lib\spring-context-2.5.5.jar;D:\apache\common\lib\spring-core-2.5.5.jar > [2009-04-01 12:11:28] [1202 prunsrv.c] [error] ServiceStart returned 3 > [2009-04-01 12:11:28] [info] Run service finished. > [2009-04-01 12:11:28] [info] Procrun finished. > > --------------------------------------------------------------------------------------------------------------- > > Installation procedure: > 1) I've extracted the content of the ftpserver-1.0.0.zip file in drive D: > 2) I've renamed the folder to: "Apache" (at first i tried without renaming, > and when it didn't work I googled for a solution and saw this link, that's > why I renamed it, to make the path shorter): > > http://mail-archives.apache.org/mod_mbox/mina-ftpserver-users/200810.mbox/%3cd10461fc0810041030t64e0ad02s259ea4df51213...@mail.gmail.com%3e > > 3) I opened command prompt > 4) changed directory to: d:\Apache > 5) typed: > D:\apache>bin\service.bat install ftpd res\conf\ftpd-typical.xml > > 6) got the result: > Installing the service 'ftpd' ... > Using FTPD_HOME: D:\apache > Using JAVA_HOME: > Using JVM: auto > start > start;res\conf\ftpd-typical.xml > start;res\conf\ftpd-typical.xml > The service 'ftpd' has been installed. > > 7) the service did not start > 8) I went to services and tried to start the service, and the service did not > start. > > > > > was: > After installing the FtpServer as a service, When trying to run the service, > it won't start and the log shows: > > [2009-04-01 12:11:00] [info] Service ftpd name Apache FtpServer > [2009-04-01 12:11:00] [info] Service ftpd installed > [2009-04-01 12:11:00] [info] Procrun finished. > [2009-04-01 12:11:00] [info] Updating service... > [2009-04-01 12:11:01] [info] Service ftpd updated > [2009-04-01 12:11:01] [info] Update service finished. > [2009-04-01 12:11:01] [info] Procrun finished. > [2009-04-01 12:11:28] [info] Running Service... > [2009-04-01 12:11:28] [info] Starting service... > [2009-04-01 12:11:28] [458 javajni.c] [error] FindClass > org/apache/ftpserver/main/Daemon failed > [2009-04-01 12:11:28] [958 prunsrv.c] [error] Failed loading main > org/apache/ftpserver/main/Daemon class > D:\apache\common\classes;D:\apache\common\lib\aopalliance-1.0.jar;D:\apache\common\lib\ftplet-api-1.0.0.jar;D:\apache\common\lib\ftpserver-core-1.0.0.jar;D:\apache\common\lib\jcl-over-slf4j-1.5.2.jar;D:\apache\common\lib\log4j-1.2.14.jar;D:\apache\common\lib\mina-core-2.0.0-M4.jar;D:\apache\common\lib\slf4j-api-1.5.2.jar;D:\apache\common\lib\slf4j-log4j12-1.5.2.jar;D:\apache\common\lib\spring-beans-2.5.5.jar;D:\apache\common\lib\spring-context-2.5.5.jar;D:\apache\common\lib\spring-core-2.5.5.jar > [2009-04-01 12:11:28] [1202 prunsrv.c] [error] ServiceStart returned 3 > [2009-04-01 12:11:28] [info] Run service finished. > [2009-04-01 12:11:28] [info] Procrun finished. > > > > Added a description how I set up the FTP Server > >> Service fails to start >> ---------------------- >> >> Key: FTPSERVER-284 >> URL: https://issues.apache.org/jira/browse/FTPSERVER-284 >> Project: FtpServer >> Issue Type: Bug >> Components: Core >> Affects Versions: 1.0.0 >> Environment: Windows XP & Windows Vista >> Reporter: Eyal Safran >> Priority: Blocker >> >> After installing the FtpServer as a service, When trying to run the service, >> it won't start and the log shows: >> [2009-04-01 12:11:00] [info] Service ftpd name Apache FtpServer >> [2009-04-01 12:11:00] [info] Service ftpd installed >> [2009-04-01 12:11:00] [info] Procrun finished. >> [2009-04-01 12:11:00] [info] Updating service... >> [2009-04-01 12:11:01] [info] Service ftpd updated >> [2009-04-01 12:11:01] [info] Update service finished. >> [2009-04-01 12:11:01] [info] Procrun finished. >> [2009-04-01 12:11:28] [info] Running Service... >> [2009-04-01 12:11:28] [info] Starting service... >> [2009-04-01 12:11:28] [458 javajni.c] [error] FindClass >> org/apache/ftpserver/main/Daemon failed >> [2009-04-01 12:11:28] [958 prunsrv.c] [error] Failed loading main >> org/apache/ftpserver/main/Daemon class >> D:\apache\common\classes;D:\apache\common\lib\aopalliance-1.0.jar;D:\apache\common\lib\ftplet-api-1.0.0.jar;D:\apache\common\lib\ftpserver-core-1.0.0.jar;D:\apache\common\lib\jcl-over-slf4j-1.5.2.jar;D:\apache\common\lib\log4j-1.2.14.jar;D:\apache\common\lib\mina-core-2.0.0-M4.jar;D:\apache\common\lib\slf4j-api-1.5.2.jar;D:\apache\common\lib\slf4j-log4j12-1.5.2.jar;D:\apache\common\lib\spring-beans-2.5.5.jar;D:\apache\common\lib\spring-context-2.5.5.jar;D:\apache\common\lib\spring-core-2.5.5.jar >> [2009-04-01 12:11:28] [1202 prunsrv.c] [error] ServiceStart returned 3 >> [2009-04-01 12:11:28] [info] Run service finished. >> [2009-04-01 12:11:28] [info] Procrun finished. >> --------------------------------------------------------------------------------------------------------------- >> Installation procedure: >> 1) I've extracted the content of the ftpserver-1.0.0.zip file in drive D: >> 2) I've renamed the folder to: "Apache" (at first i tried without renaming, >> and when it didn't work I googled for a solution and saw this link, that's >> why I renamed it, to make the path shorter): >> http://mail-archives.apache.org/mod_mbox/mina-ftpserver-users/200810.mbox/%3cd10461fc0810041030t64e0ad02s259ea4df51213...@mail.gmail.com%3e >> 3) I opened command prompt >> 4) changed directory to: d:\Apache >> 5) typed: >> D:\apache>bin\service.bat install ftpd res\conf\ftpd-typical.xml >> 6) got the result: >> Installing the service 'ftpd' ... >> Using FTPD_HOME: D:\apache >> Using JAVA_HOME: >> Using JVM: auto >> start >> start;res\conf\ftpd-typical.xml >> start;res\conf\ftpd-typical.xml >> The service 'ftpd' has been installed. >> 7) the service did not start >> 8) I went to services and tried to start the service, and the service did >> not start. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > >