Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to start and stop vsftpd service from the command line in Suse Linux 10?

Posted on 2006-11-30
7
Medium Priority
?
8,513 Views
Last Modified: 2013-12-16
Suse Linux doesn't recognise "service vsftpd stop" or "service vsftpd start".  How can I stop/start/restart vsftpd from the command line in Suse Linux 10?  I'm sick of rebooting!!
0
Comment
Question by:Bloodrule
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 45

Assisted Solution

by:sunnycoder
sunnycoder earned 1400 total points
ID: 18044367
Hi Bloodrule,

You can use:
/usr/sbin/vsftpd &
killall vsftpd
to start and stop the server respectively

Also see
http://www.novell.com/coolsolutions/feature/14689.html

Cheers!
sunnycoder
0
 
LVL 10

Expert Comment

by:ssvl
ID: 18044992
This is the proper way to do

/etc/init.d/service stop
                          start
                          status

http://www.oreilly.com/catalog/debian/chapter/book/ch07_03.html
0
 
LVL 10

Assisted Solution

by:ssvl
ssvl earned 400 total points
ID: 18045037
The service command is for redhat Flavors

and the /etc/init.d/servicename start is matched for all linux and unix Flavors
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 3

Assisted Solution

by:bryanlloydharris
bryanlloydharris earned 200 total points
ID: 18047849
/etc/init.d/vsftpd {start|stop|restart}

Maybe like that?
0
 

Author Comment

by:Bloodrule
ID: 18051286
If I use /usr/sbin/vsftpd & I get a message saying standalone execution is not supported and that I must use xinetd.  Now what should I do?

(To ssvl:

If I follow your steps, namely,

/etc/init.d/service stop
                          start
                          status

I get a "service command not found" or similar message.)
0
 
LVL 45

Accepted Solution

by:
sunnycoder earned 1400 total points
ID: 18051469
To run it with xinetd, enable the service in the xinetd configuration file (/etc/xinetd.d/vsftpd) and then restart xinetd
0
 

Author Comment

by:Bloodrule
ID: 18056437
In the end I used a mix of the answers (so I am splitting the points) and this worked, remembering this is Suse 10.0:

To stop: /etc/init.d/ killall xinetd
To start: /etc/init.d/ xinetd &
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month9 days, 7 hours left to enroll

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question