LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-12-2002, 11:28 AM   #1
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Rep: Reputation: 30
Start Stop Restart Services


Normally how you guys start stop and restart services like httpd and so on? service httpd restart doesnt work on me, it say command not found!
 
Old 09-12-2002, 12:15 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Have you tried givng the full path to the rc.d directory ? How exactly are you trying to restart ?? Have you tried a stop then a start ??
 
Old 09-12-2002, 02:40 PM   #3
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
cd /etc/rc.d
./rc.nfsd stop would stop NFS server
./rc.httpd stop would stop http daemon
Make sure rc.* have execute permissions (if you want to run them) and dont forget the "./" before the rc filename. ./ - means execute file but im sure you know this already
Hope that helps
-NSKL
 
Old 09-12-2002, 06:48 PM   #4
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 30
how about proftpd? i dont see any rc.proftpd in /etc/rc.d
 
Old 09-13-2002, 10:26 AM   #5
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
Thats probably cuz proftpd is started by another daemon, posibly inetd. Look through rc.inet2 and /etc/inetd.conf and you will find the line that starts the FTP services. Comment it out and send inetd a HUP signal to restart it (or simply restart your box) so it re-reads its configuration. Hope that helps
-NSKL
 
Old 09-13-2002, 09:55 PM   #6
Sifvion
Member
 
Registered: Jan 2002
Location: Singapore
Distribution: Slackware
Posts: 250

Original Poster
Rep: Reputation: 30
how to you send a HUP signal to restart it? And restart my box? No Way server shouldnt restart in anyway.

Last edited by Sifvion; 09-15-2002 at 02:36 AM.
 
Old 09-14-2002, 03:13 AM   #7
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
You EITHER send a HUP or you restart your box.
check the beggining of /etc/inetd.conf and you will find instructions to send a HUP to the server and restart it.
I suggest you read through whole of inetd.conf to see the services it starts so you will know for next time.
HTH
-NSKL
 
  


Reply



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
stop and start services hoover93 SUSE / openSUSE 5 12-29-2004 02:48 PM
Gentoo: start / stop services Adony Linux - Newbie 5 12-10-2004 09:39 AM
how can i start, stop or restart Paxmaster Slackware 3 11-27-2004 01:31 PM
how to stop/start/restart iptables? plan9 Linux - Newbie 8 08-06-2004 04:40 PM
start and stop services log Linux - General 7 03-21-2003 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:33 PM.

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
Open Source Consulting | Domain Registration