LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2003, 11:22 AM   #16
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79

500 errors usually come from the server - As far as I can tell you can see the server. Try accessing the server again and then post any lines with the current time that appear by doing:
tail /etc/httpd/logs/access_log
tail /etc/httpd/logs/error_log
 
Old 04-05-2003, 08:24 AM   #17
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
Localhost should typically go first. When Apache starts up, it tries to determine the web server's name and which interfaces (NICs) to listen on based on /etc/hosts. Apache looks for a FQDN (host.domain.com) in /etc/hosts to utilize.

Change /etc/hosts to read:

127.0.0.1 localhost.localdomain localhost
200.0.1.167 linux.domainhere.net linux

Then, restart Apache: '/etc/rc.d/init.d/httpd restart' and see what happens.
 
Old 04-07-2003, 04:26 AM   #18
geertm
LQ Newbie
 
Registered: Mar 2003
Location: Belgium
Posts: 13

Original Poster
Rep: Reputation: 0
Dear,
Thanks for the replay !!

Bentz, I change my host file. No result.

David,

The output for the access_log is:
--------------------------------------------------------
200.0.1.120 - - [07/Apr/2003:11:16:15 +0200] "GET /images/nav_boven/afd_b.gif HTTP/1.1" 200 287 "http://linux/nav_boven.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
200.0.1.120 - - [07/Apr/2003:11:16:15 +0200] "GET /Actueel/index_actueel.htm HTTP/1.1" 200 616 "http://linux/nav_boven.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
200.0.1.120 - - [07/Apr/2003:11:16:15 +0200] "GET /Actueel/nav_actueel.htm HTTP/1.1" 200 951 "http://linux/Actueel/index_actueel.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
200.0.1.120 - - [07/Apr/2003:11:16:15 +0200] "GET /Actueel/keukenmenu.htm HTTP/1.1" 200 354 "http://linux/Actueel/index_actueel.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
200.0.1.120 - - [07/Apr/2003:11:16:15 +0200] "GET /knoppen.js HTTP/1.1" 200 20511 "http://linux/Actueel/nav_actueel.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
200.0.1.120 - - [07/Apr/2003:11:16:17 +0200] "GET /images/actueel/menu_r.gif HTTP/1.1" 200 219 "http://linux/Actueel/nav_actueel.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
200.0.1.120 - - [07/Apr/2003:11:16:17 +0200] "GET /images/actueel/uitnodig_b.gif HTTP/1.1" 200 198 "http://linux/Actueel/nav_actueel.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
200.0.1.120 - - [07/Apr/2003:11:16:18 +0200] "GET /images/actueel/uitnodig_r.gif HTTP/1.1" 200 198 "http://linux/Actueel/nav_actueel.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
200.0.1.120 - - [07/Apr/2003:11:16:18 +0200] "GET /images/actueel/menu_b.gif HTTP/1.1" 200 219 "http://linux/Actueel/nav_actueel.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
200.0.1.120 - - [07/Apr/2003:11:16:18 +0200] "GET /Actueel/uitnodigingen.htm HTTP/1.1" 200 378 "http://linux/Actueel/nav_actueel.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)"
-----------------------------------------------------------------------

The output for the error_log file is:
-----------------------------------------------------------------------
[Mon Apr 07 11:09:47 2003] [warn] child process 722 still did not exit, sending a SIGTERM
[Mon Apr 07 11:09:47 2003] [warn] child process 723 still did not exit, sending a SIGTERM
[Mon Apr 07 11:09:47 2003] [warn] child process 724 still did not exit, sending a SIGTERM
[Mon Apr 07 11:09:47 2003] [warn] child process 725 still did not exit, sending a SIGTERM
[Mon Apr 07 11:09:59 2003] [notice] Digest: generating secret for digest authentication ...
[Mon Apr 07 11:09:59 2003] [notice] Digest: done
[Mon Apr 07 11:10:00 2003] [crit] (17)Bestand bestaat: unable to create scoreboard (name-based shared memory failure)
[Mon Apr 07 11:13:36 2003] [notice] Digest: generating secret for digest authentication ...
[Mon Apr 07 11:13:36 2003] [notice] Digest: done
[Mon Apr 07 11:13:37 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations
------------------------------------------------------------------------

Greatings !!

Geert
 
Old 04-07-2003, 01:13 PM   #19
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Which computer has IP "200.0.1.120"? The one that works or the one that doesn't?
 
Old 04-08-2003, 12:48 AM   #20
geertm
LQ Newbie
 
Registered: Mar 2003
Location: Belgium
Posts: 13

Original Poster
Rep: Reputation: 0
David,

The computer with the IP-adres 200.0.1.120 is the only computer that can access the homepage.

Greatings,
Geert
 
Old 04-08-2003, 02:30 PM   #21
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
This is very odd.

Can you give me a diagram of the network. For example
Code:
          Server
             |
            HUB
            / \
           /   \
        PC1     PC2
(200.0.1.120)
Can you ping between all the machines OK?

Can you also post the output from the commands "route" on the linux box and "route print" on the windows machines.
 
Old 04-09-2003, 12:22 AM   #22
geertm
LQ Newbie
 
Registered: Mar 2003
Location: Belgium
Posts: 13

Original Poster
Rep: Reputation: 0
David,

PROBLEM SOLVED !!

We connect to the internet through a proxy server. When I configure the Internet Explorer on the other PC's so that they may not go to the proxy server to connect the linux server, they can load the homepage.

MANY THANKS FOR THE HELP !!!!

Geert
 
Old 04-09-2003, 12:26 PM   #23
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Well spotted.

I take it that you know that you can do that for certain sites using "Bypass proxy server for local addresses".
 
  


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
creating an intranet using apache Snerkel Linux - Software 8 11-09-2004 10:44 PM
Apache doesn't like internet connections, allows intranet Eyaw_Nayr Linux - Networking 3 08-24-2004 07:32 AM
Apache doesn't like internet connections, allows intranet Eyaw_Nayr Linux - Software 1 08-20-2004 05:17 PM
Apache virtual hosts for intranet and external site tawalker Linux - Software 12 06-25-2004 11:01 AM
Apache Intranet Configuration Problem ericleunghk Red Hat 0 05-16-2004 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:10 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