LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2007, 04:03 PM   #1
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Rep: Reputation: 31
After installing Apache I get: "The page cannot be displayed"


After installing Apache I get: "The page cannot be displayed" I'm using Xubuntu and I believe I got all the packages right using Synaptic Package manager. I see the defaul apache folder but all I get is this:

Quote:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

Please try the following:

* Click the Refresh button, or try again later.
* Open the Web site home page, and then look for links to the information you want.
* If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the Web site home page.

10060 - Connection timeout
Internet Security and Acceleration Server

Technical Information (for support personnel)

* Background:
The gateway could not receive a timely response from the Web site you are trying to access. This might indicate that the network is congested, or that the Web site is experiencing technical difficulties.

* ISA Server: isagatewayiii.exchange.goodwillny.org
Via:

Time: 1/2/2007 9:58:45 PM GMT
 
Old 01-02-2007, 04:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well that's clearly a Microsoft ISA server... you doing some form of reverse proxying or such? nothing to do with apache. have you tried just connecting to it locally on the machine itself??
 
Old 01-03-2007, 11:23 AM   #3
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Original Poster
Rep: Reputation: 31
I have another Linux machine in the network and everything works fine in that machine which is a LAMP server. The machine that is giving the error is the Xubuntu machine which is right next to me. We are running Apache on the LAMP machine with no problems and I never saw this message before. On the LAMP machine we installed MediaWiki and everybody inside the network is able to see the page. I'm able to ping the Xubuntu box as well, but not able the web pages in this machine.

Thanks
 
Old 01-03-2007, 01:53 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well we can't troubleshoot somethign sitting behind a seperate server on a different network, there's so so many things in the chain there, including a lot of dubious M$ stuff... you need to go look at logs, remove the ISA server etc... tell us what does work and what doesn't work, and where from, not just that the final ultimate end goal doesn't work.
 
Old 01-03-2007, 02:16 PM   #5
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Original Poster
Rep: Reputation: 31
Thanks acid, but right now I'm not sure what kind of info. should I be looking for. What other info. should I give you? I'm sorry at this point I'm not sure what to do, everything I works fine on one machine and on the other it does not and they both have Apache, MySQL and PHP installed.

Thanks for your help I will see what else can I do...
 
Old 01-03-2007, 02:18 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well can you even get the web page from the server itself? can you get it from another server on the same network. is apache even running? can you prove it?
 
Old 01-04-2007, 03:10 PM   #7
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Original Poster
Rep: Reputation: 31
I cannot get the web page from the webserver itself, I'm typing the IP number and also trying "localhost". This is my /etc/hosts file(not sure it can help us):

127.0.0.1 localhost.localdomain XubuntuLab
10.0.3.238 XubuntuLab
#127.0.1.1 XubuntuLab

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


This is whats running, I think apache is running not:

xrgm@XubuntuLab:~$ ps -ax
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
PID TTY STAT TIME COMMAND
1 ? S 0:02 init [2]
2 ? SN 0:00 [ksoftirqd/0]
3 ? S 0:00 [watchdog/0]
4 ? S< 0:00 [events/0]
5 ? S< 0:00 [khelper]
6 ? S< 0:00 [kthread]
8 ? S< 0:00 [kblockd/0]
9 ? S< 0:00 [kacpid]
97 ? S 0:00 [pdflush]
98 ? S 0:00 [pdflush]
100 ? S< 0:00 [aio/0]
99 ? S 0:00 [kswapd0]
687 ? S< 0:00 [kseriod]
1782 ? S< 0:00 [khubd]
1852 ? S 0:00 [kjournald]
2059 ? S<s 0:00 /sbin/udevd --daemon
2823 ? S 0:00 [shpchpd_event]
3274 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.eth0.pid -lf /var/lib
3696 ? Ss 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid
3815 ? Ss 0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
3817 ? Ss 0:00 /sbin/klogd -P /var/run/klogd/kmsg
4140 ? Ss 0:00 /usr/sbin/gdm --config=/etc/gdm/gdm-cdd.conf
4150 ? S 0:00 /usr/sbin/gdm --config=/etc/gdm/gdm-cdd.conf
4174 tty7 Ss+ 45:40 /usr/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xaut
4183 ? Ss 0:00 /usr/sbin/hpiod
4319 ? Ss 0:00 /usr/bin/freshclam -p /var/run/clamav/freshclam.pid -
4335 ? Ss 0:00 /usr/bin/dbus-daemon --system
4350 ? Ss 0:01 /usr/sbin/hald
4351 ? S 0:00 hald-runner
4356 ? S 0:00 /usr/lib/hal/hald-addon-acpi
4410 ? S 0:00 /usr/lib/hal/hald-addon-keyboard
4424 ? S 0:00 /usr/lib/hal/hald-addon-storage
4425 ? S 0:00 /usr/lib/hal/hald-addon-storage
4665 ? S 0:01 /usr/sbin/thinkpad-keys
4679 ? S 0:00 /usr/lib/hal/hald-addon-keyboard
4701 ? S 0:00 /bin/sh /usr/bin/mysqld_safe
4765 ? Sl 0:02 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/my
4766 ? S 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
4872 ? Ss 0:00 /usr/sbin/nmbd -D
4874 ? Ss 0:00 /usr/sbin/smbd -D
4892 ? Ss 0:00 /usr/sbin/sshd
4935 ? S 0:00 /usr/sbin/smbd -D
4963 ? Ss 0:00 /sbin/mdadm -F -i /var/run/mdadm.pid -m root -f -s
4994 ? Ss 0:00 /usr/sbin/atd
5007 ? Ss 0:00 /usr/sbin/cron
5034 ? Ss 0:00 /usr/sbin/apache2 -k start -DSSL
5068 ? S 0:00 /usr/sbin/apache2 -k start -DSSL
5069 ? S 0:00 /usr/sbin/apache2 -k start -DSSL
5070 ? S 0:00 /usr/sbin/apache2 -k start -DSSL
5071 ? S 0:00 /usr/sbin/apache2 -k start -DSSL
5072 ? S 0:00 /usr/sbin/apache2 -k start -DSSL
5105 tty1 Ss+ 0:00 /sbin/getty 38400 tty1
5106 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
5107 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
5108 tty4 Ss+ 0:00 /sbin/getty 38400 tty4
5109 tty5 Ss+ 0:00 /sbin/getty 38400 tty5
5110 tty6 Ss+ 0:00 /sbin/getty 38400 tty6
5125 ? Ss 0:00 /bin/sh /etc/xdg/xfce4/xinitrc
5162 ? Ss 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-s
5165 ? S 0:00 /usr/bin/dbus-launch --exit-with-session startxfce4
5166 ? Ss 0:00 dbus-daemon --fork --print-pid 8 --print-address 6 --
5170 ? S 0:00 /bin/sh /etc/xdg/xfce4/xinitrc
5171 ? S 0:00 xscreensaver -no-splash
5174 ? S 0:00 /usr/bin/xfce4-session
5178 ? Ss 0:00 xfce-mcs-manager
5180 ? S 0:01 xfwm4 --sm-client-id 117f0001010001159818876000000474
5182 ? S 0:02 xfdesktop --sm-client-id 117f000101000115981887900000
5184 ? S 0:00 /usr/lib/gamin/gam_server
5188 ? S 0:02 xfce4-panel --sm-client-id 117f0001010001159818877000
5191 ? S 0:01 /usr/lib/xfdesktop4/xfce4/panel-plugins/xfce4-menu-pl
5193 ? S 0:00 Thunar --sm-client-id 117f000101000115981888000000047
5195 ? Sl 0:00 /usr/lib/evolution/2.6/evolution-alarm-notify --sm-co
5198 ? S 0:04 klamav -session 117f000101000116162884800000052790003
5200 ? S 0:00 /usr/lib/libgconf2-4/gconfd-2 13
5204 ? Ss 0:00 /usr/lib/bonobo-activation/bonobo-activation-server -
5206 ? Sl 0:00 /usr/lib/evolution/evolution-data-server-1.6 --oaf-ac
5209 ? Sl 0:00 /usr/lib/evolution/2.6/evolution-exchange-storage --o
5211 ? S 0:03 Terminal --geometry=80x24 --display :0.0 --role=Termi
5224 ? Ss 0:00 kdeinit Running...
5235 ? S 0:00 dcopserver [kdeinit] --nosid --suicide
5237 ? S 0:00 klauncher [kdeinit]
5238 ? S 0:00 gnome-pty-helper
5239 pts/0 Ss+ 0:00 bash
5254 ? S 0:00 kded [kdeinit]
5265 ? S 0:00 kio_file [kdeinit] file /tmp/ksocket-xrgm/klauncher0d
5708 ? SNs 0:00 /usr/sbin/cupsd
6553 ? SNs 0:00 /sbin/syslogd -u syslog
6736 pts/1 Ss 0:00 bash
6753 pts/1 R+ 0:00 ps -ax


Thanks acid for your help, let me know what other info. can I provide you.
 
Old 01-04-2007, 03:18 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
apache (httpd) clearly isn't running...
 
Old 01-04-2007, 03:59 PM   #9
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Original Poster
Rep: Reputation: 31
What should I do next? Does this means that Apache is not installed? How do I verify that a program is installed?

Thanks
 
Old 01-04-2007, 04:25 PM   #10
bzka
LQ Newbie
 
Registered: Jan 2007
Location: Torun, Poland
Distribution: PLD Linux
Posts: 4

Rep: Reputation: 0
apache is installed and its running!!
note use ps -ef to list your proccess or ps aux (widouth - )
run this command: (of course in your computer where you installed apache)
telnet 127.0.0.1 80
and write something end press enter
if you get something like that:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>get to /index.html not supported.<br />
</p>
</body></html>

your apache installation is ok

ps. sorry but my english isnt perfect

Last edited by bzka; 01-04-2007 at 04:30 PM.
 
Old 01-04-2007, 04:31 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
oh yeah i was looking for httpd.... my bad.
 
Old 01-04-2007, 04:36 PM   #12
bzka
LQ Newbie
 
Registered: Jan 2007
Location: Torun, Poland
Distribution: PLD Linux
Posts: 4

Rep: Reputation: 0
if you install apache from source you have httpd but in many package apache distribution daemon name is apache2
 
Old 01-04-2007, 04:36 PM   #13
zen0n
LQ Newbie
 
Registered: Jul 2004
Location: Winnipeg
Distribution: debian
Posts: 22

Rep: Reputation: 15
try a /etc/init.d/apache start (or apache2 start, whichever ver you're using.)

If it doesn't start, check out the apache error logs.

Also, you can run netstat -tlnp to see what services are currently listening to which ports to find out if apache is acutally accepting connections.

And to check if apache is installed run dpkg -l |grep apache and that will tell you the package state.

Actually, rechecking you're process list, I can see that apache2 process are running. Run the netstat command to see what port they're listening too. Maybe they're only listening to ssl?

any iptables firewalls setup? might be an idea to flush everything to make sure there isn't.

zen0n
 
Old 01-05-2007, 01:16 PM   #14
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Original Poster
Rep: Reputation: 31
I should know this, but right now I can't remember. I'm able to get the default Apache page by typing: http://127.0.0.1/apache2-default/ into the browser. Should I change anything in /etc/hosts?

Thanks..
 
Old 01-05-2007, 01:21 PM   #15
cucolin@
Member
 
Registered: Nov 2003
Location: USA
Distribution: Ubuntu, CentOS, RedHat
Posts: 416

Original Poster
Rep: Reputation: 31
bzka I tried your command and this is what I got:

xrgm@XubuntuLab:/etc$ telnet 127.0.0.1 80
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
ls
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>501 Method Not Implemented</title>
</head><body>
<h1>Method Not Implemented</h1>
<p>ls to / not supported.<br />
</p>
<hr>
<address>Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1 Server at localhost.localdomain Port 80</address>
</body></html>
Connection closed by foreign host.

Is this OK? Thanks...
 
  


Reply



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
"setup" or "elinks" text garbage displayed sr99 Red Hat 1 12-06-2006 07:43 PM
"Error Loading OS" Displayed After Installing Fedora Core 5 billybandawe Linux - Newbie 4 08-21-2006 08:10 PM
"rm -rf /tmp", now Evolution shows "(no folder displayed" Ed-MtnBiker Linux - Software 7 04-10-2006 04:05 PM
Wireless chip is displayed as "Ath0" instead of "wlan0" with Belkin F5D7000 ceramicsushi Linux - Wireless Networking 4 04-05-2006 11:26 PM
Apache Server only displaying "Test" page. Fedora Core 4 Tear Syden Linux - Newbie 2 03-17-2006 07:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 PM.

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
Open Source Consulting | Domain Registration