You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-users@mina.apache.org by Jamal Abreu <ja...@hotmail.com> on 2011/11/08 22:55:19 UTC

FTPD service does not start


Hi, I installed the service using 
service install ftpd <ftpd-typical.xml>
the installation succeeded!
However, when I can not start the service if I try, 
and I get the following log message
[2011-11-09 00:13:33] [info] Running Service...
[2011-11-09 00:13:33] [info] Starting service...
[2011-11-09 00:13:33] [947  prunsrv.c] [error] Failed creating java 
[2011-11-09 00:13:33] [1202 prunsrv.c] [error] ServiceStart returned 1
[2011-11-09 00:13:33] [info] Run service finished.
[2011-11-09 00:13:33] [info] Procrun finished.

FTP server version: 1.0.6
My Environment: Windows 7 64 bit, JRE7

Any idea?

Thanks
Jamal
 		 	   		  

RE: FTPD service does not start

Posted by Jamal Abreu <ja...@hotmail.com>.
Hi Nik, 

I'll try to run on a 32 bit JVM, let know the outcome
thanks

> Date: Thu, 10 Nov 2011 13:20:19 +0100
> Subject: Re: FTPD service does not start
> From: niklas@protocol7.com
> To: ftpserver-users@mina.apache.org
> 
> On Thu, Nov 10, 2011 at 12:26 PM, Jamal Abreu <ja...@hotmail.com> wrote:
> > yes I can run java from command line,
> >
> > Does FTPServer run  on java7?
> 
> Yes. However, since you're on a 64 bit Windows, and the executables we
> ship are 32 bit, I know that can be a problem. Could you try with a 32
> bit JVM? If not, I know people have compiled the exes (it's the same
> as used by Tomcat for example) for 64 bit Windows.
> 
> /niklas
 		 	   		  

Re: FTPD service does not start

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Thu, Nov 10, 2011 at 12:26 PM, Jamal Abreu <ja...@hotmail.com> wrote:
> yes I can run java from command line,
>
> Does FTPServer run  on java7?

Yes. However, since you're on a 64 bit Windows, and the executables we
ship are 32 bit, I know that can be a problem. Could you try with a 32
bit JVM? If not, I know people have compiled the exes (it's the same
as used by Tomcat for example) for 64 bit Windows.

/niklas

RE: FTPD service does not start

Posted by Jamal Abreu <ja...@hotmail.com>.
Hi Toli

yes I can run java from command line,

Does FTPServer run  on java7?


> From: tkuznets@marinsoftware.com
> Date: Tue, 8 Nov 2011 14:00:37 -0800
> Subject: Re: FTPD service does not start
> To: ftpserver-users@mina.apache.org
> 
> Seems that it can't run Java from command-line
> 
> Have you tried running "java -version" from your Windows command-line?
> 
> if that doesn't work, perhaps you need to add the <JAVA_HOME>/bin to
> your PATH variable in Windows setup
> 
> On Tue, Nov 8, 2011 at 1:55 PM, Jamal Abreu <ja...@hotmail.com> wrote:
> >
> >
> > Hi, I installed the service using
> > service install ftpd <ftpd-typical.xml>
> > the installation succeeded!
> > However, when I can not start the service if I try,
> > and I get the following log message
> > [2011-11-09 00:13:33] [info] Running Service...
> > [2011-11-09 00:13:33] [info] Starting service...
> > [2011-11-09 00:13:33] [947  prunsrv.c] [error] Failed creating java
> > [2011-11-09 00:13:33] [1202 prunsrv.c] [error] ServiceStart returned 1
> > [2011-11-09 00:13:33] [info] Run service finished.
> > [2011-11-09 00:13:33] [info] Procrun finished.
> >
> > FTP server version: 1.0.6
> > My Environment: Windows 7 64 bit, JRE7
> >
> > Any idea?
> >
> > Thanks
> > Jamal
> >
 		 	   		  

Re: FTPD service does not start

Posted by Toli Kuznets <tk...@marinsoftware.com>.
Seems that it can't run Java from command-line

Have you tried running "java -version" from your Windows command-line?

if that doesn't work, perhaps you need to add the <JAVA_HOME>/bin to
your PATH variable in Windows setup

On Tue, Nov 8, 2011 at 1:55 PM, Jamal Abreu <ja...@hotmail.com> wrote:
>
>
> Hi, I installed the service using
> service install ftpd <ftpd-typical.xml>
> the installation succeeded!
> However, when I can not start the service if I try,
> and I get the following log message
> [2011-11-09 00:13:33] [info] Running Service...
> [2011-11-09 00:13:33] [info] Starting service...
> [2011-11-09 00:13:33] [947  prunsrv.c] [error] Failed creating java
> [2011-11-09 00:13:33] [1202 prunsrv.c] [error] ServiceStart returned 1
> [2011-11-09 00:13:33] [info] Run service finished.
> [2011-11-09 00:13:33] [info] Procrun finished.
>
> FTP server version: 1.0.6
> My Environment: Windows 7 64 bit, JRE7
>
> Any idea?
>
> Thanks
> Jamal
>

RE: FTPD service does not start

Posted by Jamal Abreu <ja...@hotmail.com>.
Hi David,

Yes, i've run it as a standalone app, it works fine.
I might try to run on a 32 bit JVM and see if the service starts.





> Date: Thu, 10 Nov 2011 15:04:48 +0100
> Subject: Re: FTPD service does not start
> From: dvlato@gmail.com
> To: ftpserver-users@mina.apache.org
> 
> Hello Jamal,
> 
> Have you tried running it from the command line Instead of using  the
> created service? Just to find out what components  are failing.
> 
> 
> 2011/11/8 Jamal Abreu <ja...@hotmail.com>
> 
> >
> >
> > Hi, I installed the service using
> > service install ftpd <ftpd-typical.xml>
> > the installation succeeded!
> > However, when I can not start the service if I try,
> > and I get the following log message
> > [2011-11-09 00:13:33] [info] Running Service...
> > [2011-11-09 00:13:33] [info] Starting service...
> > [2011-11-09 00:13:33] [947  prunsrv.c] [error] Failed creating java
> > [2011-11-09 00:13:33] [1202 prunsrv.c] [error] ServiceStart returned 1
> > [2011-11-09 00:13:33] [info] Run service finished.
> > [2011-11-09 00:13:33] [info] Procrun finished.
> >
> > FTP server version: 1.0.6
> > My Environment: Windows 7 64 bit, JRE7
> >
> > Any idea?
> >
> > Thanks
> > Jamal
> >
 		 	   		  

Re: FTPD service does not start

Posted by David Latorre <dv...@gmail.com>.
Hello Jamal,

Have you tried running it from the command line Instead of using  the
created service? Just to find out what components  are failing.


2011/11/8 Jamal Abreu <ja...@hotmail.com>

>
>
> Hi, I installed the service using
> service install ftpd <ftpd-typical.xml>
> the installation succeeded!
> However, when I can not start the service if I try,
> and I get the following log message
> [2011-11-09 00:13:33] [info] Running Service...
> [2011-11-09 00:13:33] [info] Starting service...
> [2011-11-09 00:13:33] [947  prunsrv.c] [error] Failed creating java
> [2011-11-09 00:13:33] [1202 prunsrv.c] [error] ServiceStart returned 1
> [2011-11-09 00:13:33] [info] Run service finished.
> [2011-11-09 00:13:33] [info] Procrun finished.
>
> FTP server version: 1.0.6
> My Environment: Windows 7 64 bit, JRE7
>
> Any idea?
>
> Thanks
> Jamal
>