|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Apache on Linux
I just installed Linux and I cant get Apache to work. When I try to connect it says "connection was refused when attempting to connect to www.forevercode.d2g.com"
Does anyone know how to fix this? I was thinking it could be my firewall but I set it up to allow HTTP...I donno. |
|
#2
|
|||
|
|||
|
RE: Apache on Linux
Try connnecting to localhost. Does that work?
|
|
#3
|
|||
|
|||
|
RE: Apache on Linux
Nope, I've tried my domain name, my ip, and localhost but nothing will connect.
|
|
#4
|
|||
|
|||
|
RE: Apache on Linux
I am not at my box right now but here are some ideas.
1.Ensure the httpd is running. 2. Try "apachectl", apache control, and I think you want to pass it -restart. Double check the man on that cmd. |
|
#5
|
|||
|
|||
|
RE: Apache on Linux
Are you using RedHat? Try (/etc/rc.d/init.d/httpd status) without paren's
I believe Apache is not started by default do a (chkconfig --list | grep httpd) and see if it is in the list and if it is on. If not do a (chkconfig httpd on)the start apache by doing a (/etc/rc.d/init.d/httpd start) Let me know if this helps |
|
#6
|
|||
|
|||
|
RE: Apache on Linux
Alright, cool. It'll be a while till I can check it. I'm waiting for a new video card to come. Linux wont work with my current card...any my other card that did work with Linux died. Plus I'm no good in the console...I need the GUI to to anything right now. I just started playing with Linux. So far I love it
Do you know of anyone that has been able to crash Linux...or am I just special? I can crash Windows 2000 as well(its suppose to be *SO* stable) |
|
#7
|
|||
|
|||
|
RE: Apache on Linux
I crashed my linux box once ... but that was a couple of days after the install. My graphics card had some cryptic setting wrong and it locked X server and I could not get out.
Win2k ... all the time, and it is _not_ user error! I can't even begin to tell you the problems I have with this OS and how often I have to reload these servers. IMHO, I think HP-UX is the OS of champions. I have a box that has been up for 3+ yrs. The only time I have seen a HP-UX box reset was in a controlled testing environment. |
|
#8
|
|||
|
|||
|
RE: Apache on Linux
When i run /etc/rc.d/init.d/http status i get:
httpd dead but subsys locked Now what? |
|
#9
|
|||
|
|||
|
RE: Apache on Linux
Micah,
That error usally means that have a broken LoadModule in the httpd.conf. try running httpd -X and see what errors you get. pound out that module that is not there to load meaning #LoadModule this will remark it out. After you worked through that problem then to a /etc/rc.d/init.d/httpd restart and it should go to town. Let me know if this helps you. |
![]() |
| Viewing: Codewalkers Forums > General > General Chat > Apache on Linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|