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!
|
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 ??
|
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 :D Hope that helps -NSKL |
how about proftpd? i dont see any rc.proftpd in /etc/rc.d
|
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 |
how to you send a HUP signal to restart it? And restart my box? No Way server shouldnt restart in anyway.
|
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 |
All times are GMT -5. The time now is 04:45 PM. |