This is a discussion on Newbie question please within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I've just installed Apache on Suse Linux Pro 9.3 (this is actually a reinstall - I removed it, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I've just installed Apache on Suse Linux Pro 9.3 (this is actually a reinstall - I removed it, rebooted, reinstalled). If I open a browser on the local machine and point to 'http://localhost' I get a message - "The connection was refused when attempting to contact local host". The same happens if I try the host name, the IP address or 127.0.0.1. I'm assuming as this is a fresh installation of Apache the problem lies somewhere other than my Apache conf files (?) Where do I start looking? Any further info needed just ask...any help appreciated. Tim -- I never wish I was not what I was not when I didn't wish what I was not was not what I am not. |
|
|||
|
Did you start apache? Do a: ps aux | egrep -i http and you
should see probably several, but at least one instance of apache running. Are you sure you setup apache to run at boot time? I'm not sure, but I believe SuSE may use the same sort of system that RH uses, you may want to do a chkconfig --list | egrep -i http or a chkconfig --list | egrep -i apache and see if it is set to start on bootup. Also try doing a service httpd start or a service apache start and see if that does anything. There are some further steps you should complete, but this should be enough to get you started. |
|
|||
|
"MikeDawg" <mikedawg@gmail.com> wrote in message
news:1139420336.578013.124160@g43g2000cwa.googlegr oups.com... > Did you start apache? Do a: ps aux | egrep -i http and you > should see probably several, but at least one instance of apache > running. Are you sure you setup apache to run at boot time? I'm not > sure, but I believe SuSE may use the same sort of system that RH uses, > you may want to do a chkconfig --list | egrep -i http or a chkconfig > --list | egrep -i apache and see if it is set to start on bootup. > > Also try doing a service httpd start or a service apache start and see > if that does anything. There are some further steps you should > complete, but this should be enough to get you started. Apache is running - I think. When I do the ps aux | etc I get: root 7542 0.0 0.1 1792 636 pts/2 R+ 19:39 0.00 /bin/grep -E -i http Is this service number 7542 running under root (is that what this means?) Is that what I should be getting? Tim |
|
|||
|
On Wed, 08 Feb 2006 19:53:17 +0000, news.pull-feed.ntli.net wrote:
> "MikeDawg" <mikedawg@gmail.com> wrote in message > news:1139420336.578013.124160@g43g2000cwa.googlegr oups.com... >> Did you start apache? Do a: ps aux | egrep -i http and you >> should see probably several, but at least one instance of apache >> running. Are you sure you setup apache to run at boot time? I'm not >> sure, but I believe SuSE may use the same sort of system that RH uses, >> you may want to do a chkconfig --list | egrep -i http or a chkconfig >> --list | egrep -i apache and see if it is set to start on bootup. >> >> Also try doing a service httpd start or a service apache start and see >> if that does anything. There are some further steps you should >> complete, but this should be enough to get you started. > > > Apache is running - I think. When I do the ps aux | etc I get: > root 7542 0.0 0.1 1792 636 pts/2 R+ 19:39 0.00 /bin/grep -E -i http > > Is this service number 7542 running under root (is that what this means?) Is > that what I should be getting? > > Tim No, this is process number 7542, which is searching ( grep ) for http. Try, logged in as root, /etc/init.d/apache2 start ( You may need to replace apache2 for http in the above line: have a look at what's in /etc/init.d and choose the one that looks right ). See if you then get the default welcome message from http://localhost. Steve |
|
|||
|
"Steve" <ThisOne@Aint.Valid> wrote in message
news:pan.2006.02.09.04.16.33.167655@Aint.Valid... > On Wed, 08 Feb 2006 19:53:17 +0000, news.pull-feed.ntli.net wrote: > >> "MikeDawg" <mikedawg@gmail.com> wrote in message >> news:1139420336.578013.124160@g43g2000cwa.googlegr oups.com... >>> Did you start apache? Do a: ps aux | egrep -i http and you >>> should see probably several, but at least one instance of apache >>> running. Are you sure you setup apache to run at boot time? I'm not >>> sure, but I believe SuSE may use the same sort of system that RH uses, >>> you may want to do a chkconfig --list | egrep -i http or a chkconfig >>> --list | egrep -i apache and see if it is set to start on bootup. >>> >>> Also try doing a service httpd start or a service apache start and see >>> if that does anything. There are some further steps you should >>> complete, but this should be enough to get you started. >> >> >> Apache is running - I think. When I do the ps aux | etc I get: >> root 7542 0.0 0.1 1792 636 pts/2 R+ 19:39 0.00 /bin/grep -E -i http >> >> Is this service number 7542 running under root (is that what this means?) >> Is >> that what I should be getting? >> >> Tim > No, this is process number 7542, which is searching ( grep ) for http. > > Try, logged in as root, > > /etc/init.d/apache2 start > > ( You may need to replace apache2 for http in the above line: have a look > at what's in /etc/init.d and choose the one that looks right ). > > See if you then get the default welcome message from http://localhost. That did it. Thanks very much. Tim -- I never wish I was not what I was not when I didn't wish what I was not was not what I am not. |