Find the answer to your Linux question:
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.
  1. #1
    Just 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.

    Code:
    vsftpd_enable="YES"
    I am running FreeBSD 5.3 and it is command line only.

    Any help would be appreciated.

  2. #2
    Just Joined!
    Join Date
    Jan 2005
    Posts
    30
    ls -la /usr/local/etc/rc.d

    tell me what you have there

  3. #3
    Just 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

  4. $spacer_open
    $spacer_close
  5. #4
    Just 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"

  6. #5
    Just Joined!
    Join Date
    Jan 2005
    Posts
    1
    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 &
    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?

  7. #6
    Just Joined!
    Join Date
    Jan 2005
    Posts
    1
    Quote Originally Posted by murphy_young
    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"
    should change to "/usr/local/libexec/vsftpd &"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •