"nohup" failing on me?
Here I am with another question~
I'm running Pure-FTPd on my VPS, but every time I close the remote terminal, Pure-FTPd stops. I've tried running it as nohup /usr/sbin/pure-ftpd -j -l puredb:/etc/pure-ftpd/pureftpd.pdb &, but it seems the nohup's failing for me, because Pure-FTPd still quits on me when I close the terminal. What am I doing wrong here? |
Usually services like ftp are initiated using
service <servicename> start either by the boot sequence or by root manually. Actually, Centos comes with vsftp, which might be easier than adding another one, unless you really prefer pure-ftp. Looks like your cmd should work; have you checked log files eg /var/log/messages and presumably pure-ftp has its own logfile? |
Quote:
Also, my messages and pureftpd logfiles are completely empty, so there's nothing really interesting I can find in there. As for vsftpd... It doesn't look like it's pre-installed. I could also be very blind, of course. find and whereis couldn't locate it. |
You have to edit the file /etc/pure-ftpd/pure-ftpd.conf and enable the switches there. For example uncomment the following lines that correspond to the -j and the -l option respectively:
Code:
CreateHomeDir yes |
You guys are saviors, it works. Thanks a bunch!
|
All times are GMT -5. The time now is 06:28 PM. |