LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2004, 07:02 PM   #1
hegstrom
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
Starting FTP


RedHat 9
vsftpd

Absolute newbie question. 1st time setting up linux. Need an FTP server so I thought I'd give this a try.

When I start the vsftpd I've found 2 different ways to start it, and don't know the difference between them:

/etc/init.d/vsftpd start

and

/sbin/service vsftpd start

What's the difference between these to startup commands?

Thx!
 
Old 03-03-2004, 07:35 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
When I start the vsftpd I've found 2 different ways to start it, and don't know the difference between them:

/etc/init.d/vsftpd start

and

/sbin/service vsftpd start

What's the difference between these to startup commands?
for the first command i'm assuming you've edited the file, and, that should start the daemon at every boot.

the second command is a manual start. say for instance you needed to make a configuration change, you could

/sbin/service vsftpd stop

make changes

/sbin/service vsftpd start

w/out a reboot.

hope that answers your ?
good luck.
 
Old 03-03-2004, 08:19 PM   #3
hegstrom
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
In trying to figure out how to configure and run vsftpd I did a lot of googling and came up with a bunch of recommendations. One of them had the init.d start and one had the sbin start.

I've tried running both of them, alternately, from a Terminal window and they both seem to work just fine starting up the FTP service. There doesn't appear to be any difference.

I was just wondering how it can load the FTP service from two different directories and still run the same.

Is the FTP service loaded differently some how by the different load statements?
 
Old 03-04-2004, 07:26 AM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
have a look here

http://www.linuxvalley.it/encycloped...7/init.d.7.php

http://www.linuxbase.org/spec/refspe...srcinstrm.html

those links should explain things in a little more detail.
good luck.
 
Old 03-04-2004, 06:57 PM   #5
hegstrom
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Wow ... great response ... exactly what I needed.

Thx!!!!!!!
 
Old 03-04-2004, 07:58 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
your welcome. glad to help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
starting xprogram without starting X server. bruse Linux - Newbie 9 04-26-2005 08:05 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 07:39 PM
Starting apps after starting xfce?? gtgoku Slackware 2 08-21-2004 02:49 PM
Starting FTP Daemon baunemann Linux - Networking 4 03-14-2004 11:07 AM
Starting FTP Pimple Linux - Networking 7 03-20-2002 02:24 PM


All times are GMT -5. The time now is 11:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration