Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
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  
Old November 18th, 2003, 01:24 PM
chief chief is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 33 chief User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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?

Reply With Quote
  #2  
Old November 18th, 2003, 03:00 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
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


Reply With Quote
  #3  
Old November 18th, 2003, 10:13 PM
chief chief is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 33 chief User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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

Reply With Quote
  #4  
Old November 19th, 2003, 01:28 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
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


Reply With Quote
  #5  
Old November 19th, 2003, 12:32 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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

Reply With Quote
  #6  
Old November 19th, 2003, 12:59 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

Are you logged in as root?

Reply With Quote
  #7  
Old November 19th, 2003, 01:04 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: redhat 9 apache problem

yes

Reply With Quote
  #8  
Old November 19th, 2003, 01:26 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

Type the following

/sbin/chkconfig --list | grep http


Reply With Quote
  #9  
Old November 19th, 2003, 01:28 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: redhat 9 apache problem

also type in

whoami

WHo does it say you are?

Reply With Quote
  #10  
Old November 19th, 2003, 01:39 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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


Reply With Quote
  #11  
Old November 19th, 2003, 01:49 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
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

Reply With Quote
  #12  
Old November 19th, 2003, 02:05 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: RE: redhat 9 apache problem


Quote:
restart apache

/etc/rc.d/init.d/httpd restart

then check status again

/etc/rc.d/init.d/httpd status


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...

Reply With Quote
  #13  
Old November 19th, 2003, 06:33 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
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?

Reply With Quote
  #14  
Old November 19th, 2003, 07:00 PM
actown actown is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 actown User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to actown Send a message via AIM to actown Send a message via Yahoo to actown
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.

Reply With Quote
  #15  
Old November 19th, 2003, 07:08 PM
chief chief is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 33 chief User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > redhat 9 apache problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |