Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > The Community > Everything BSD > Starting vsftpd in FreeBSD

Forgot Password?
 Everything BSD   For all discussions regarding Free/NetBSD and OpenBSD.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 12-31-2004   #1 (permalink)
Just Joined!
 
Join Date: Nov 2004
Location: Iowa
Posts: 43
Send a message via Yahoo to Kingedgar
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.
Kingedgar is offline  



Reply With Quote
Old 01-02-2005   #2 (permalink)
Just Joined!
 
Join Date: Jan 2005
Posts: 30
ls -la /usr/local/etc/rc.d

tell me what you have there
murphy_young is offline   Reply With Quote
Old 01-03-2005   #3 (permalink)
Just Joined!
 
Join Date: Nov 2004
Location: Iowa
Posts: 43
Send a message via Yahoo to Kingedgar
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
Kingedgar is offline   Reply With Quote
Old 01-03-2005   #4 (permalink)
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"
murphy_young is offline   Reply With Quote
Old 01-12-2005   #5 (permalink)
Just Joined!
 
Join Date: Jan 2005
Posts: 1
Quote:
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?
micah1830 is offline   Reply With Quote
Old 04-24-2005   #6 (permalink)
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 &"
greister is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:14 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1