A few configuring questions with regard to services like vsftpd
I assume that after I change the .conf file for vsftpd, I need to stop and start the service again. How is that done?
By the way, instead of learning the proper way, I tried something stupid that seems to have broke things a little bit. I tried to kill the vsftpd process and then run "/usr/sbin/vsftpd &" again (as initially instructed by a certain website (vsftpdrocks.org) hoping that would restart it. Instead it tells me: and I got: [2] 1394 [1] Terminated /usr/sbin/vsftpd Anyway, someone please give me an idea of how to do this properly, and let me know if my little process killing thing will require any cleaning up or a reboot (I have no idea what the above output means). |
As a quick follow up, although it didn't look pretty (as per the above output) it apparently worked. User/password ftp is now working on the machine for me.
Still, I figure there is a better way than issuing a kill command on the vsftpd process. |
If it's configured for standalone mode which should be indicated in your conf file, that should be the proper way usually to start vsftpd. If not in standalone mode, usually it's invoked through inetd or maybe another init script, depending on what distribution you are using.
|
Quote:
|
Quote:
I am currently running standalone mode, but I'm considering the xinetd method. One more question, what does the & symbol mean as an option after starting vsftpd? Example: /usr/sbin/vsftpd & ? |
EDIT:
The problem below been explained to me now in another thread. ------------------------------------------- OK, I restarted xinetd but it "failed" My /var/log/messages says this: Code:
Aug 20 14:36:57 serv2 xinetd[7180]: bind failed (Address already in use (errno = 98)). service = ftp |
EDIT: This has been addressed too. Thank you (my post, two above this about the & symbol still stands unanswered though!)
---------------------------- I have reverted the config files to their earlier form, but according to the logs (as best as I can tell) xinetd is still trying to start vsftpd (I have disabled set to yes, and in the vsftpd.conf file the thing is set to standalone) I backed up and deleted the vsftpd file in /etc/xinetd.d/ and it still won't start. This is really starting to worry me! I need this server up and running properly within a few days and I'm not sure what the problem is here. |
All times are GMT -5. The time now is 08:27 PM. |