Click to See Complete Forum and Search --> : Apache - need help getting started, conneciton refused


RedHat123
09-30-2002, 01:43 PM
RH 7.2 + Apache 1.3.20

I can ping my loopback address
I can ping my hostname
I have samba up and running fine and sharing files to my windoz box
i have a firewall running
i have edited the httpd.conf and Apache is suppsedly listening on port 80
ive tried restarting apache, the shutdown fails but starts again OK

when i try localhost in a browser - i get "connection refused"

i have also tried editing the firewall config to allow port 80 for localhost, but get the same results - conneciton refused


funny thing is, i know ive had apache working a few months ago and now that i actually need to use it...it is freakin out on me.


:confused:

RedHat123
09-30-2002, 03:18 PM
to add to my previous post, i used netstat -atv and the results did not indicate any http listening ??? could Apache really be running ?

the I tried using httpd restart and i get "failed" and then "ok"...soemthing is not right with the penguin today...

also, i used httpd -status and it said
httpd dead but subsys locked

what gives ? DUH no wonder i get "connection refused"

RedHat123
09-30-2002, 06:42 PM
ok well i got it running again. i just typed httpd instead of
/etc/init.d/httpd

whats the diff ?

but to see the status i still type
/etc/init.d/httpd status

doing that gives me the pid's running

miteycasey
10-01-2002, 04:05 PM
Did you install from source or an rpm? maybe both?

RedHat123
10-01-2002, 05:19 PM
Originally posted by miteycasey
Did you install from source or an rpm? maybe both?

I just selected apache when installing from a RH 7.2 distro CD

Asmodan
10-01-2002, 08:53 PM
You can probably use
service httpd start
to start apache, or
service httpd status

also, you might want to try ntsysv and turn the webserver on by default.


Originally posted by RedHat123
ok well i got it running again. i just typed httpd instead of
/etc/init.d/httpd

whats the diff ?

but to see the status i still type
/etc/init.d/httpd status

doing that gives me the pid's running