[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Apache start at boot?



Begin with chkconfig (see man pages for details).  A line like the following
will work.

chkconfig --level 5 httpd on

You should replace the 5 with 3 if you're using the text interface rather
than the GUI.

Edit /etc/init.d/httpd to change the line
    chkconfig: - 85 15
to
    chkconfig: 35 85 15

This tells xinetd to start apache if running at levels 3 or 5.

I am not certain that all of this is necessary, but it should work.

HTH,
Harry
----- Original Message -----
From: "Strazzarino, John" <John_Strazzarino firstdatabank com>
To: <redhat-install-list redhat com>
Sent: Wednesday, July 31, 2002 8:38 AM
Subject: RE: Apache start at boot?


> I run RedHat.  I type the command setup and select 'system setting' (or
> something like that).  I navigate to the httpd line and press the space
bar
> to place a * in the leftmost column.  I exit from the screen and reboot.
> Apache comes up.
>
> Which Linux are you using?  Maybe there is a different method.
>
> P.S.  You can also use 'ntsysv' or 'chkconfig' to do the name thing.
>
> -----Original Message-----
> From: mark edmonds f9 co uk [mailto:mark edmonds f9 co uk]
> Sent: Wednesday, July 31, 2002 1:14 AM
> To: redhat-install-list redhat com
> Subject: Apache start at boot?
>
>
>
>
> Hi everyone I'm new to the forum and very new to linux.
>
> I have managed to install a dual boot RH7.3 and Windows XP system using
> group boot loader on an Athalon XP 1800 system.
>
> Used default installs and all appears okay.
>
> I can start apache manually by typing httpd at the console. But I can get
it
> to start at boot. In the system configuration settings I have checked the
> box for httpd to start at boot, but no joy.
>
> Any answers?
>
> Thank Mark
>
>
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]