Page 1 of 1

Pure-FTPd 1.0.14 disconnects

Posted: Sat Jun 05, 2004 9:34 am
by qads
Hi,
i am use Pure-FTPd 1.0.14 on fedora core 1, it works fine if login into the box with putty first, and then use ws ftp to upload/download files, but if i close or dont have putty open, it wont let me connect :/.

whats going on?

everytime i have to login with putty and use : /usr/sbin/pure-ftpd & to start it up.

thanks

Posted: Sat Jun 05, 2004 10:05 am
by redmonkey
Sounds like as you are starting your FTP server from a login session, your FTP server is only staying up for as long as the session is open.

You should configure your machine to start your FTP server on boot up.

Have a look in your init.d directory, there may be a script there already, then just place a symlink to it in whichever runlevel directory is read at boot time. Then reboot.

Posted: Sat Jun 05, 2004 6:06 pm
by qads
hmm, gona have to look into that, atm i cant connect to my client's ftp server cos of linux so i have taken it offline for few days, will get back to it after this project.

thanks for your help redmonkey (bet kids tease you with bannas lol)

Posted: Sat Jun 05, 2004 6:22 pm
by markl999
pure-ftpd has a -B option you can use to make it run in the background (rather than using &). This should allow it to keep running once you disconnect.

Posted: Sun Jun 06, 2004 4:28 am
by qads
a friend of mine has fixed it, never told what he did but its fixed, runs just fine now :D.

thanks for your help guys.