|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
redhat 9 apache problem
are there known problems with trying to run a webserver on redhat 9?
i installed the packages built into redhat with the redhat-config-packages command. particularly the webserver package including apache, mysql and other defaults if i use localhost in mozilla it comes up with a test page (even though i have a index.htm page in var/www), but if i try to access from a networked computer i get nothing. can anyone help? |
|
#2
|
|||
|
|||
|
RE: redhat 9 apache problem
Did you install the firewall?
Also, I realize it came up at localhost but is it running? I don't think it is running by default. Do a /etc/rc.d/init.d/httpd status |
|
#3
|
|||
|
|||
|
RE: redhat 9 apache problem
i tried you command but it didn't find it;
but i just restarted and i opened the services window and it showed the httpd service running. i didn't install a firewall knowingly; i basically have a standard redhat 9 install with webserver packages. thanks for the reply, but any more help would be appreciated |
|
#4
|
|||
|
|||
|
RE: redhat 9 apache problem
Chief,
do a chkconfig --list | grep http see what the status is. If all 5 run levels are off, if the are do a chkconfig httpd on then do a /etc/rc.d/init.d/httpd restart |
|
#5
|
|||
|
|||
|
RE: redhat 9 apache problem
i can't get that command to work; i keep getting the bash: chkconfig: command not found error
i did a search and can't find the chkconfig command anywhere on my harddrive. i am new to linux so i may be confused; can you please explain |
|
#6
|
|||
|
|||
|
RE: redhat 9 apache problem
Are you logged in as root?
|
|
#7
|
|||
|
|||
|
RE: redhat 9 apache problem
yes
|
|
#8
|
|||
|
|||
|
RE: redhat 9 apache problem
Type the following
/sbin/chkconfig --list | grep http |
|
#9
|
|||
|
|||
|
RE: redhat 9 apache problem
also type in
whoami WHo does it say you are? |
|
#10
|
|||
|
|||
|
RE: redhat 9 apache problem
alright i found chkconfig under sbin and only 5 was on so i ran httpd on and now 2-5 are on but i still can't get to the webserver from a networked computer.
whoami said i was root |
|
#11
|
|||
|
|||
|
RE: redhat 9 apache problem
restart apache
/etc/rc.d/init.d/httpd restart then check status again /etc/rc.d/init.d/httpd status |
|
#12
|
|||
|
|||
|
RE: RE: redhat 9 apache problem
Quote:
neither of these commands worked for me but i did use the services configuration panel from the gui to restart and get the following status: httpd (pid 3614 3613 3612 3611 3610 3609 3608 3607 3604) is running... |
|
#13
|
|||
|
|||
|
RE: redhat 9 apache problem
And does it work after restart?
Did you set the IP of this machine? Is it real or null address? Is it behind a router or firewall? |
|
#14
|
|||
|
|||
|
RE: redhat 9 apache problem
on my apache on redhat all my files are siad there forrbidden but i can open them in a text editor but apache wont allow me to view my site. the apache test page worked.
|
|
#15
|
|||
|
|||
|
RE: redhat 9 apache problem
i have set my ip to 192.168.200.40 on the webserver; it is not behind a firewall; and i have no idea if it is real or null
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Server Administration > redhat 9 apache problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|