Portal Home > Knowledgebase > Articles Database > Couple of queries
Couple of queries
Posted by NWSTech, 05-02-2008, 08:56 AM |
ok, first up is it just me (on sky broadband in the uk) or is WHT VERY slow today (like its took me about 3 mins to load this post topic page).
second im setting up a new server at the moment and im wondering if someone can point me in the right direction as to how to setup apache 2.2.8 to start on boot (on fedora core 6 but self compiled apache) ive totally forgotton how i did it last time
cheers
|
Posted by tuxg, 05-02-2008, 09:00 AM |
We dont experience any slowdown of WHT now.
chkconfig httpd on
man chkconfig - for more options
Is that what you are looking for?
|
Posted by NWSTech, 05-02-2008, 09:01 AM |
chkconfig doesnt recognise httpd as the apache im using is not the version supplied with fedora - i compiled it myself
|
Posted by david510, 05-02-2008, 09:04 AM |
Pages on WHT load fine for me.
FInd which is the apache binary
which httpd
which apache
If you need specifically turn on httpd/apache in level 3 and 5 use command below.
chkconfig --level 35 httpd on
or
chkconfig --level 35 apache on
|
Posted by tuxg, 05-02-2008, 09:08 AM |
Then you may have to look at /etc/rc.d/init.d/httpd to make sure that it calls your compiled httpd.
Also check /etc/sysconfig/httpd.
Once they are fine, try running:
/etc/rc.d/init.d/httpd start and see if it works.
If it does, you can add that command to /etc/rc.local, so that it gets started at system boot.
|
Posted by NWSTech, 05-02-2008, 09:19 AM |
its something from the uk having issues, im proxying my conenction through one of my servers and pages now load fast again think ill be having words with me isp. thanks for the details
|
Posted by tuxg, 05-02-2008, 09:27 AM |
http://httpd.apache.org/docs/2.2/install.html
You use PREFIX/bin/apachectl start, the PREFIX being the one you used while compiling. If that works fine, add that in /etc/rc.local
My earlier suggestion of modifying the httpd init script is not recommended, in general. Update us on this issue also.
Last edited by tuxg; 05-02-2008 at 09:37 AM.
Reason: s/2.0/2.2 in link
|
Posted by NWSTech, 05-02-2008, 10:12 AM |
whts back to normal now- think somethign on my pc was killing connection. those suggestions worked a charm i now dont have to start apache after each reboot
|
Add to Favourites Print this Article
Also Read