Results 1 to 6 of 6
I installed vsftpd via ports. I cant seem to get the dameon started or make it run at startup.
I tried adding the following to /etc/rc.conf, which did not work.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-31-2004 #1Just Joined!
- Join Date
- Nov 2004
- Location
- Iowa
- Posts
- 43
Starting vsftpd in FreeBSD
I installed vsftpd via ports. I cant seem to get the dameon started or make it run at startup.
I tried adding the following to /etc/rc.conf, which did not work.
I am running FreeBSD 5.3 and it is command line only.Code:vsftpd_enable="YES"
Any help would be appreciated.
- 01-02-2005 #2Just Joined!
- Join Date
- Jan 2005
- Posts
- 30
ls -la /usr/local/etc/rc.d
tell me what you have there
- 01-03-2005 #3Just Joined!
- Join Date
- Nov 2004
- Location
- Iowa
- Posts
- 43
ls -la /usr/local/etc/rc.d
Code:total 28 drwxr-xr-x 2 root wheel 512 Dec 24 23:45 . drwxr-xr-x 12 root wheel 1024 Dec 25 15:15 .. -rwxr-x--x 1 root wheel 183 Nov 19 05:14 000.apache2libs.sh -rwxr-x--- 1 root wheel 181 Nov 19 18:29 000.mysql-client.sh -r-xr-xr-x 1 root wheel 248 Oct 15 17:54 000.pkgtools.sh -rwxr-x--x 1 root wheel 2045 Nov 19 05:14 apache2.sh -rwxr-xr-x 1 root wheel 3964 Oct 15 19:37 cups.sh.sample -rwxr-x--- 1 root wheel 549 Nov 19 19:11 mysql-server.sh -r-xr-xr-x 1 root wheel 229 Dec 24 23:45 pptpd.sh.sample -r-xr-xr-x 1 root wheel 602 Oct 15 21:45 samba.sh.sample -r-xr-xr-x 1 root wheel 777 Oct 15 23:19 snmpd.sh -r-xr-xr-x 1 root wheel 838 Oct 15 23:19 snmptrapd.sh -r-xr-xr-x 1 root wheel 517 Nov 19 05:56 webmin.sh
- 01-03-2005 #4Just Joined!
- Join Date
- Jan 2005
- Posts
- 30
Well, if you install vsftpd via ports and you add vsftpd_enable="YES" to
your rc.conf you will need to have/create an startup file that goes in
/usr/local/etc/rc.d
If you use inetd to start vsftpd then you will have to add a line to your
inetd.conf and reload inetd but when you start vsftpd in stand alone mode
and I guess that this is what you want to do, you will have to create a
script in /usr/local/etc/rc.d and name it for exemple vsftpd.sh
This is my script:
#!/bin/sh
#
/usr/local/sbin/vsftpd &
-------------
/usr/local/sbin/vsftpd
--> the location of your "vsftpd"
- 01-12-2005 #5Just Joined!
- Join Date
- Jan 2005
- Posts
- 1
I have vsftpd running in stand alone mode. I have always started it by typing "vsftpd &" at the terminal screen after rebooting. I wanted to have it load on startup and tried this script. I am using Suse 9.1 and instead of placing the script in the rc.d folder, it gets placed in init.d folder. When opening the runlevel editor in Yast, I can now see vsftpd listed. Everytime I try to start it from inside if Yast, I get a "permission denied" error. I can still start it from the terminal screen, but getting it to load on startup is not working. Any other suggestions?If you use inetd to start vsftpd then you will have to add a line to your
inetd.conf and reload inetd but when you start vsftpd in stand alone mode
and I guess that this is what you want to do, you will have to create a
script in /usr/local/etc/rc.d and name it for exemple vsftpd.sh
This is my script:
#!/bin/sh
#
/usr/local/sbin/vsftpd &
- 04-24-2005 #6Just Joined!
- Join Date
- Jan 2005
- Posts
- 1
should change to "/usr/local/libexec/vsftpd &"
Originally Posted by murphy_young


Reply With Quote
