Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

autostart of vsftpd

EdStevensFeb 27 2013 — edited Feb 27 2013
This is a vm under VBox that I am configuring for some specific tests.

Trying to get the ftp daemon to start on server reboot.

Here's the vitals:
[root@vbdwprod rc3.d]# uname -a
Linux vbdwprod.vbdomain 2.6.32-100.26.2.el5 #1 SMP Tue Jan 18 20:11:49 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@vbdwprod rc3.d]#
Successfully downloaded and installed vsftpd from Oracle's public yum server. Am able to get the service started manually with 'service vsftpd start', and at that point it does accept connections from another vm also running under VBox on my desktop.

If I run a 'chkconfig vsftpd' there is no visible response (should there be?). All the init files seem to be in place
[root@vbdwprod etc]# pwd
/etc
[root@vbdwprod etc]# find . -name "vsftpd*"
./logrotate.d/vsftpd.log
./vsftpd
./vsftpd/vsftpd_conf_migrate.sh
./vsftpd/vsftpd.conf
./rc.d/init.d/vsftpd
./pam.d/vsftpd
[root@vbdwprod etc]#
But still, when I reboot the vm, I still have to log on as root and manually start it with the 'services' command.

I'm sure I'm overlooking an 'oh for dumb' issue, but I'm on the fringes of my knowledge here. Everything I've read so far ("Red Hat Linux Administration 5" and several support forums) says the 'chkconfig' command should have done the trick.

hmm. There is also this file:
[root@vbdwprod init.d]# pwd
/etc/init.d
[root@vbdwprod init.d]# ls -l vsftp*
-rwxr-xr-x 1 root root 1660 Jan  8 23:23 vsftpd
[root@vbdwprod init.d]#
Odd that the previous 'find' command didn't turn it up.

Edited by: EdStevens on Feb 27, 2013 2:39 PM
This post has been answered by DB_Janitor on Feb 27 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2013
Added on Feb 27 2013
4 comments
2,024 views