Pure-FTPd 1.0.14 disconnects

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Pure-FTPd 1.0.14 disconnects

Post 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
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Post 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.
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post 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)
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post 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.
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post 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.
Post Reply