LinuxQuestions.org
Help answer threads with 0 replies.
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 08-05-2002, 08:47 AM   #1
adcworks
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake 8
Posts: 10

Rep: Reputation: 0
Unhappy IP Woes :(


Hi,

Jeez, what a day. I've had my first taste of Linux network troubles but have no idea what to do.

I have a LAN with all W2K machine but our development box is Linux Mandrake. The Linux box has 2 ethernet cards - one for the network hub and the other for a router to the net.

Now, this morning it was all happy until our W2K Server needed DHCP and DNS reconfigured. Nightmare.

Before, I would access the Linux box externally on the net via an IP address, like 195.11.5.215. This was available publicly on the internet and was configured with Apache 1.3 and Tomcat 3.2.1.

Last night I installed Tomcat 4 and got this working and it was ok this morning too so it is not that.

Now when I access the IP I get Server Error 500. I tried accessing the Linux box over it's local IP address instead and this failed also. Therefore I thought it was an Apache problem.

So I installed Apache 2 and accessed this OK over the LOCAL intranet. HOWEVER, still not luck with this over the EXTERNAL IP. So not Apache....must be a networking issue here I think.

Other information ... I can ping the external IP from a computer NOT on the intranet. I can also PING the IP from the Linux box itself.

I am just totally lost. At the moment I have a workaround by going over the LOCAL intranet IP to Apache 2 and Tomcat 4 but I need the external IP up so I can work at home!!!

Any ideas? I need 'em! Thanks
 
Old 08-05-2002, 08:54 AM   #2
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
I don't know anything about Apache and Tomcat, but if you get a "server error 500", that is a page generated by the webserver, right?

If that is the case, then there is nothing wrong with the network connection.

Lookup error 500 in the documentation of whatever is giving the error.
 
Old 08-05-2002, 09:09 AM   #3
adcworks
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake 8
Posts: 10

Original Poster
Rep: Reputation: 0
Well you would think so but no because I tried stopping apache and tomcat all together and I still got this..

But actually I should have mentioned...I get the standard HOST CANNOT BE FOUND type page from windows.
 
Old 08-05-2002, 09:52 AM   #4
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
Might be a problem with the /etc/hosts.allow and hosts.deny files.
If the new server is run from xinetd and the old server wasn't, than that can be the reason.

Are there any other services run from xinetd that you can access from the internet?
 
Old 08-05-2002, 10:08 AM   #5
adcworks
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake 8
Posts: 10

Original Poster
Rep: Reputation: 0
I cannot access the IP at all on any port. I took a look at the /etc/hosts* files ...

hosts has my internal and external IP mapped to the server name.

the hosts.deny has lots of entries, the two end ones being equal to the external IP I am trying to access.

I am very convinced that something could not just have changed within 1hour this morning from broken to non-broken without something windows did...

Could windows have broadcasted some kind of message to the linux box across the hub saying mess up your settings?

Cheers
 
Old 08-05-2002, 10:25 AM   #6
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
Sounds to me like the NAT on whichever windows box (maybe the DNS/DHCP server) did not reset the necessary settings for your Linux development box.

-Bob
 
Old 08-05-2002, 10:28 AM   #7
bbeers
Member
 
Registered: Jul 2002
Location: Florida
Distribution: Centos, Slackware
Posts: 260

Rep: Reputation: 30
Oops, typed to soon. You say your Linux box is not behind a NAT, but directly connected to a router. Then the question is: Why did the DNS/DHCP machine get reset? Did you get a new service provider? Are all of your IP addresses changed?

-Bob
 
Old 08-05-2002, 10:31 AM   #8
Griffon26
Member
 
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
I cannot imagine why it would work this morning and won't work now, so the only way to go on with finding the bug is pretend it didn't work this morning either.

Check if the service is listening on whatever port you specified by doing netstat -a |grep LISTEN

You could also do nmap <server> from the computer on the net you are using as a client.
 
Old 08-05-2002, 11:05 AM   #9
adcworks
LQ Newbie
 
Registered: Aug 2002
Distribution: Mandrake 8
Posts: 10

Original Poster
Rep: Reputation: 0
well netstat shows me that port 80 is being listened on ok. you'll have to forgive me, i did not set the networking up but have the job of learning it and it's pretty tough going for a starter...

all i want is to type an ip address in a web browser and access my apache installation web pages

Are there any typical steps to take?

We have a router that has an IP address of its own and the linux box sits behind that...how can I get the linux box to receive requests from this router?
 
  


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
9.2 Woes kyte Mandriva 4 11-08-2003 05:22 PM
Keymap-woes... Megamieuwsel Linux - General 3 10-24-2003 06:47 AM
Fetchmail woes JasonSmead Linux - Networking 3 08-11-2003 08:05 PM
modem woes rolanaj Linux - Hardware 3 08-11-2003 09:12 AM
X woes norfenstein Slackware 9 03-13-2003 12:11 AM


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