LinuxQuestions.org
Visit Jeremy's Blog.
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 07-24-2004, 08:22 AM   #1
Kerion
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu 5.04
Posts: 5

Rep: Reputation: 0
Unhappy Apache2 running but not serving any page


Hi all, I've a strange problem on Apache2, prefork version, installed by SuSE 9.1 rpm. Apache is running (requests are not refused) but it simply doesn't display anything, neither the main site pages nor the user pages. Browsing with Konqueror I received a "connection to host interrupted" message.
I've managed to *understand* what SuSE (damned!) has done on the httpd.conf file but I didn't find anything suspicious. I had installed Apache 1.3 before by normal methods (./configure and so on) and it worked well, then I went on Apache 2 in rpm format without deleting the old 1.3 version (ok, I didn't make it start so I suppose i doesn't interfere...).
Anyone has found the same problem? Sorry, I' m really stuck!

Thanks, Kerion

Last edited by Kerion; 07-24-2004 at 08:34 AM.
 
Old 07-24-2004, 08:33 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
I just purchased SuSE 9.1. When I typed in 'localhost' in my browser, It failed to show a page. I needed to change the firewall setting, then the Apache demo pages would be displayed.
 
Old 07-24-2004, 04:20 PM   #3
Kerion
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu 5.04
Posts: 5

Original Poster
Rep: Reputation: 0
No way. I had the firewall down, try to put it up, and then tried again without... no differences :-(
Could this have anything to do with the permissions of the user and the group defined? When I used Apache 1.3 the user was nobody, now it is wwwrun...
Trying a wget I had this response:

linux:~ # wget localhost
--23:20:31-- http://localhost/
=> `index.html'
Resolving localhost... 127.0.0.1, ::1
Connecting to localhost[127.0.0.1]:80... connected.
HTTP request sent, awaiting response...
23:20:31 ERROR -1: No data received.

I've also checked my /var/log/apache2/error_log... here's the typical msg i found!

[Sat Jul 24 23:56:31 2004] [notice] child pid 4471 exit signal Segmentation fault (11)


Last edited by Kerion; 07-24-2004 at 05:02 PM.
 
Old 07-26-2004, 08:08 PM   #4
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Maybe time to punt.

Since you had apache 1.3 installed from a package, and manually installed apache 2.0, could you check which service you are starting, httpd or httpd2?

You may want to install apache 2 from a package also. With it crashing like that, sounds like the install has to be done over anyway.
 
Old 07-28-2004, 05:16 PM   #5
Kerion
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu 5.04
Posts: 5

Original Poster
Rep: Reputation: 0
Actually it's the contrary... I installed apache 1.3 via sources and then apache 2 via rpm, and I was launching the correct daemons... By the way, I searched the net for faqs and it seems to be happening to quite a lot of ppl. So I decided to throw away any rpm installation (apache 2, php and mysql) and start a new one starting with sources. By now I got mysql and apache 1.3 working (and they are really WELL WORKING now) but, by Murphy's law, php's installation is giving me some headache. Php seems to have some parameters (especially paths to libs and similia) that just overcome the parameters I give in ./configure. Maybe I should close this thread as 'unresolved' and start a new one on this issue, or somebody just can give me an hint on where to focus my search?

Thanks to all, anyway; maybe it was just a bug from Suse 9.1...
 
  


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
Apache2 no index.html page babelbrennt Debian 1 11-10-2005 07:35 AM
Help with Web Page Hosting and Apache2 Hambone_20003 Linux - Software 2 08-23-2005 08:31 PM
page won't load (apache2+php on TSL 2.1) restless Linux - Software 1 08-13-2004 09:54 PM
Apache2 running but not? Relja Linux - Networking 6 03-22-2004 04:28 AM
Redhat 9, apache + frontpage not serving pages except admin page JRinOKC Linux - Newbie 5 01-12-2004 02:58 AM


All times are GMT -5. The time now is 06:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration