• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8576
  • Last Modified:

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

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
Bloodrule
Asked:
Bloodrule
  • 2
  • 2
  • 2
  • +1
4 Solutions
 
sunnycoderCommented:
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
 
ssvlCommented:
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
 
ssvlCommented:
The service command is for redhat Flavors

and the /etc/init.d/servicename start is matched for all linux and unix Flavors
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
bryanlloydharrisCommented:
/etc/init.d/vsftpd {start|stop|restart}

Maybe like that?
0
 
BloodruleAuthor Commented:
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
 
sunnycoderCommented:
To run it with xinetd, enable the service in the xinetd configuration file (/etc/xinetd.d/vsftpd) and then restart xinetd
0
 
BloodruleAuthor Commented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now