LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2010, 06:28 PM   #1
vbekker
Member
 
Registered: Aug 2010
Location: Brooklyn, NY
Distribution: CentOS
Posts: 38

Rep: Reputation: 0
clean install of apache - cannot open in browser


Hello,
Perhaps you can help point me into the right direction.
I have a machine which is currently running IceCast (a streaming audio server), which runs on port 80.

I installed Apache 2 and configured it to run on port 18080 through the httpd.conf file.. Restarted httpd service

I cannot get to 10.0.0.128:18080 (this is the IP of the machine)
The Icecast server webpage is still accessible.

No logs are generated by apache in the logs folder

Firewall is off (iptables)

What am i doing wrong?
Thank You
 
Old 10-11-2010, 06:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
When you do (assuming that you're running centos as your
entry in the sidebar suggests):
Code:
service httpd status
What do you get?
 
Old 10-11-2010, 06:55 PM   #3
vbekker
Member
 
Registered: Aug 2010
Location: Brooklyn, NY
Distribution: CentOS
Posts: 38

Original Poster
Rep: Reputation: 0
[root@nyc-misc1 apache2]# service httpd status
httpd (pid 3625) is running...
 
Old 10-11-2010, 06:59 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Ok, cool; and
Code:
netstat -anp | grep http
?


Cheers,
Tink
 
Old 10-11-2010, 07:10 PM   #5
vbekker
Member
 
Registered: Aug 2010
Location: Brooklyn, NY
Distribution: CentOS
Posts: 38

Original Poster
Rep: Reputation: 0
Code:
[root@nyc-misc1 ~]# netstat -anp | grep http
tcp        0      0 10.0.0.129:80               0.0.0.0:*                   LIST                                              EN      3625/httpd
tcp        0      0 :::443                      :::*                        LIST                                              EN      3625/httpd
unix  3      [ ]         STREAM     CONNECTED     14856  3634/httpd
unix  3      [ ]         STREAM     CONNECTED     14852  3633/httpd
unix  3      [ ]         STREAM     CONNECTED     14848  3632/httpd
unix  3      [ ]         STREAM     CONNECTED     14844  3631/httpd
unix  3      [ ]         STREAM     CONNECTED     14836  3630/httpd
unix  3      [ ]         STREAM     CONNECTED     14832  3629/httpd
unix  3      [ ]         STREAM     CONNECTED     14828  3628/httpd
unix  3      [ ]         STREAM     CONNECTED     14824  3627/httpd
 
Old 10-11-2010, 07:12 PM   #6
vbekker
Member
 
Registered: Aug 2010
Location: Brooklyn, NY
Distribution: CentOS
Posts: 38

Original Poster
Rep: Reputation: 0
Ah yes...there is also a additional interface configured on the eth0

Code:
[root@nyc-misc1 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:56:9C:53:B2
          inet addr:10.0.0.128  Bcast:10.0.255.255  Mask:255.255.0.0
          inet6 addr: fe80::250:56ff:fe9c:53b2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17607 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3093 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3223095 (3.0 MiB)  TX bytes:522430 (510.1 KiB)

eth0:0    Link encap:Ethernet  HWaddr 00:50:56:9C:53:B2
          inet addr:10.0.0.129  Bcast:10.0.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 
Old 10-11-2010, 08:09 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Anyway ... what that shows us is that
a) you have two apaches running, and
b) neither of them know about the port you thought you
specified; whatever file you edited, it wasn't one that
configures your running apache(s).



Cheers,
Tink
 
Old 10-12-2010, 03:27 AM   #8
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
restarting httpd service gives any error?

are you sure you have set the httpd correctly to run it on 18080 port.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Clean Open Source Billing Software for Free LXer Syndicated Linux News 1 11-12-2007 12:31 AM
Clean upgrade of PHP-mysql-apache? xpucto Linux - Server 3 11-08-2007 12:54 PM
LXer: Clean Air, Open Code LXer Syndicated Linux News 0 02-26-2006 08:01 AM
Apache benchmark test is ridiculously slow on a clean install of linux wepeel Linux - Networking 4 10-07-2004 11:16 AM
Apache benchmark test VERY SLOW from clean install! wepeel Linux - Enterprise 0 10-04-2004 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration