LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Please help on how to save services shutdown or shutdown from the terminal. (http://www.linuxquestions.org/questions/linux-general-1/please-help-on-how-to-save-services-shutdown-or-shutdown-from-the-terminal-299942/)

wambuzz 03-10-2005 05:33 AM

Please help on how to save services shutdown or shutdown from the terminal.
 
I was told buy my boss to shutdown the httpd service permanently.I have managed to do that using the terminal.but now i want to save the settings because I know on the server starting up I would have to keep on shutting it down.this is impossible using the gnome because our linux box's graphic mode is not working.Please help.This is the message I get under the /var/log/XFree86.0.log file.
[root@apps11isrv log]# vi XFree86.0.log
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.1.0
AVAGE(0): Default visual is TrueColor
(II) SAVAGE(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) SAVAGE(0): Using HW cursor
(==) SAVAGE(0): Using video BIOS to set modes
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.6
(II) SAVAGE(0): Primary V_BIOS segment is: 0xc000
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.6

-- INSERT -- 354,1 Bot

homey 03-10-2005 09:43 AM

Try this to shut down the service...
chkconfig --level 345 httpd off

Verify the settings like this...
chkconfig --list httpd

If you ever want to set the service to run again...
chkconfig --level 345 httpd on

wambuzz 03-11-2005 07:38 AM

Thanks dude! shall inform u on the progress.Thanks a bunch!


All times are GMT -5. The time now is 03:15 PM.