LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-23-2004, 11:34 AM   #1
Steel Shepherd
Member
 
Registered: Feb 2004
Location: Central Ohio, USA
Distribution: Mepis & Kubuntu
Posts: 61

Rep: Reputation: 15
Apache blank screen at http://localhost/


I installed Apache-1.3.29 (with mod/open ssl), mySQL-4.0.18, and PHP-4.3.5C3, Perl, & Python. I used Apache Toolbox v 1.5.69 to do the source install onto my mandrake 9.2 Athlon 2500+ Shuttle box.

Sweet little program. There were a couple problems getting the versions to cohabitate, but once I got that right the install of everything went flawlessly. I used all the apache default paths and since the toolbox wil not overwrite any previous .conf files, I changed the xxxxx.conf.default file to xxxxx.conf and the xxxxx.conf to xxxxx.conf-old.

AND THEN ---

/usr/local/apache/bin/apachectl start

It started

Open Firefox 0.8 and goto http://localhost/

Nothing at all. Not even an an error mesage. If I try it apache not running, it takes me to localhost.be instead. Cute way to attract traffic.

So I stopped it and started again with ssl - entered my passphrase - httpd started. Still getting a blank screen

Did a configtest - returned syntax OK

So, what might I be doing wrong?
 
Old 02-23-2004, 12:21 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Check your access/error logs and run netstat to make sure it is binding to the right addresses.
 
Old 02-23-2004, 01:37 PM   #3
Steel Shepherd
Member
 
Registered: Feb 2004
Location: Central Ohio, USA
Distribution: Mepis & Kubuntu
Posts: 61

Original Poster
Rep: Reputation: 15
First I have to say that the "Image Zoomer" extension to Firefox is an awesome tool. It made it much easier to see that screnshot.

Now I'm going to try to figure out how to run Netstat and find the logs.
 
Old 02-23-2004, 01:44 PM   #4
Steel Shepherd
Member
 
Registered: Feb 2004
Location: Central Ohio, USA
Distribution: Mepis & Kubuntu
Posts: 61

Original Poster
Rep: Reputation: 15
Here's an example or the contents of erro_log

[Mon Feb 23 12:27:59 2004] [notice] caught SIGTERM, shutting down
'import site' failed; use -v for traceback
[Mon Feb 23 12:28:18 2004] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Mon Feb 23 12:28:18 2004] [notice] Apache/1.3.29 (Unix) PHP/4.3.5RC3 mod_perl/1.29 mod_python/2.7.8 Python/2.3.2 mod_ssl/2.8.16 OpenSSL/0.9.7d-dev configured -- resuming normal operations
[Mon Feb 23 12:28:18 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Feb 23 12:28:18 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
[Mon Feb 23 12:28:35 2004] [notice] caught SIGTERM, shutting down
'import site' failed; use -v for traceback
[Mon Feb 23 12:29:12 2004] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Mon Feb 23 12:29:12 2004] [notice] Apache/1.3.29 (Unix) PHP/4.3.5RC3 mod_perl/1.29 mod_python/2.7.8 Python/2.3.2 mod_ssl/2.8.16 OpenSSL/0.9.7d-dev configured -- resuming normal operations
[Mon Feb 23 12:29:12 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Mon Feb 23 12:29:12 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Feb 23 12:30:03 2004] [notice] child pid 3894 exit signal Segmentation fault (11)
 
Old 02-23-2004, 01:55 PM   #5
Steel Shepherd
Member
 
Registered: Feb 2004
Location: Central Ohio, USA
Distribution: Mepis & Kubuntu
Posts: 61

Original Poster
Rep: Reputation: 15
FYI, there was NOTHING in the access_log. And of course "erro_log" was supposed to be "error_log"

Here's a sample of Netstat -v:

Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.1.1:33240 wma290.securedata.:http ESTABLISHED
tcp 0 0 192.168.1.1:33253 216.239.41.104:http ESTABLISHED
tcp 0 0 192.168.1.1:33258 216.239.41.99:http ESTABLISHED
tcp 0 0 192.168.1.1:33259 216.239.41.99:http ESTABLISHED
tcp 0 0 192.168.1.1:33256 207-171-182-23.ama:http ESTABLISHED
tcp 0 0 192.168.1.1:33255 207-171-182-23.ama:http ESTABLISHED

I'm very curious what the outside my home network IP addresses are.

Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags Type State I-Node Path
unix 10 [ ] DGRAM 3577 /dev/log
unix 3 [ ] STREAM CONNECTED 16954 /tmp/.ICE-unix/dcop2321-1077515403
unix 3 [ ] STREAM CONNECTED 16953
unix 3 [ ] STREAM CONNECTED 16949 /tmp/.ICE-unix/2866
unix 3 [ ] STREAM CONNECTED 16948
unix 3 [ ] STREAM CONNECTED 16945 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 16944
unix 3 [ ] STREAM CONNECTED 16915 /tmp/.esd/socket
unix 3 [ ] STREAM CONNECTED 16914
unix 2 [ ] STREAM 16911
unix 3 [ ] STREAM CONNECTED 16865 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 16864
unix 3 [ ] STREAM CONNECTED 16767 /tmp/ksocket-dale/konquerorjwlwSa.slave-socket
unix 3 [ ] STREAM CONNECTED 16766
unix 3 [ ] STREAM CONNECTED 16436 /tmp/.ICE-unix/dcop2321-1077515403
unix 3 [ ] STREAM CONNECTED 16435
 
Old 02-23-2004, 11:27 PM   #6
Steel Shepherd
Member
 
Registered: Feb 2004
Location: Central Ohio, USA
Distribution: Mepis & Kubuntu
Posts: 61

Original Poster
Rep: Reputation: 15
Still pulling my hair out w/ this one. I've search the manual and Google and made ZERO progress all day. I can't believe I've been at this for 10 hours today.

Anybody got even a direction I might try next?
 
Old 03-23-2004, 12:06 PM   #7
sporkit
Member
 
Registered: Feb 2004
Posts: 71

Rep: Reputation: 15
you need to adjust /etc/hosts and /etc/sysconfig/network to something unique. if you dont youll probably run into errors because the systemname localhost exists all over your network.

my /etc/hosts
Code:
#do not remove the following line, or various progams
#that require network functionality will fail.
192.168.1.X linuxserver.localdomain localhost
my /etc/sysconfig/network
Code:
NETWORKING=yes
HOSTNAME=linuxserver.localdomain
 
Old 04-09-2004, 10:43 AM   #8
paijm021
LQ Newbie
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware 9.1
Posts: 20

Rep: Reputation: 0
I have the same problem. Posted a thread on the same forum, :^) sorry!
Anyway, the interesting thing is that if you type http://localhost/index.html (presuming that that file is in your htdocs's dir) than the page is loaded without any errors. So webserver works.

I stay on top of this thread.

Succes.

Joris
 
Old 04-09-2004, 01:10 PM   #9
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
Quote:
Originally posted by paijm021
I have the same problem. Posted a thread on the same forum, :^) sorry!
Anyway, the interesting thing is that if you type http://localhost/index.html (presuming that that file is in your htdocs's dir) than the page is loaded without any errors. So webserver works.
That suggests that Apache doesn't know to look at the index.html file when no file is specifically asked for. For my version of Apache (2.0.58), that is controlled by a line in Apache's configuration file: "DirectoryIndex index.html index.html.var index.php" (in my config file). So maybe you should check to see if there is such a line in your config file. (Mine is /etc/httpd/conf/httpd.conf.)
 
Old 04-10-2004, 02:39 AM   #10
paijm021
LQ Newbie
 
Registered: Apr 2004
Location: Germany
Distribution: Slackware 9.1
Posts: 20

Rep: Reputation: 0
Quote:
That suggests that Apache doesn't know to look at the index.html file when no file is specifically asked for. For my version of Apache (2.0.58), that is controlled by a line in Apache's configuration file: "DirectoryIndex index.html index.html.var index.php" (in my config file). So maybe you should check to see if there is such a line in your config file. (Mine is /etc/httpd/conf/httpd.conf.)
Nice, but that would be to easy. I have configured DirectoryIndex with index.html etc. And when I just type http://localhost/ I get an segfault in my error_log file!

But thanks anyway.

Joris
 
  


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
apache: http://localhost (work) http://ipaddress (not working) sarmad Linux - Newbie 7 02-05-2013 07:47 AM
apache http://localhost/mysite ---> http://localhost/mysite/index.php how? ilnli Linux - General 8 06-04-2005 03:23 PM
http://localhost apache matt3333 Linux - Software 16 05-25-2003 01:55 PM
http://localhost does not work! Rajasekhar Atte Linux - Networking 1 12-17-2001 03:06 PM
Where is http://localhost ????? amp2000 Linux - General 13 11-21-2001 02:43 PM

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

All times are GMT -5. The time now is 06:36 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
Open Source Consulting | Domain Registration