LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-02-2004, 10:03 AM   #1
lnmp
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Email & Internet Down


My place of work has a Linux box that acts as an email/internet server for all of our machines. Lately, users cannot connect to the Internet or to their email. I have rebooted the machine twice, and after that, it seems to work fine, however I wish to find a more effective way of fixing this. I have very little experience with Linux, so please be specific.
 
Old 01-02-2004, 10:23 AM   #2
g-rod
Member
 
Registered: Dec 2003
Location: Long Island, NY USA
Distribution: RedHat, SUSE
Posts: 336

Rep: Reputation: 30
Is this machine acting as a firewall too? Does it get its ip from DHCP or is it static?


Next time you have trouble see if that machine can ping anything. Dump a bunch of network junk to a file

((netstat -rn; netstat -pan; ifconfig; route -n; iptables -Ln; iptables -t nat -Ln 2>&1) > /tmp/file1;

Then run restart the network

/etc/init.d/network restart;

Redump the network junk.
((netstat -rn; netstat -pan; ifconfig; route -n; iptables -Ln; iptables -t nat -Ln 2>&1) > /tmp/file2;

The network should now work. Then post the output of the two files and we will try to see what is happening. I think you are lossing you ip, but I can't be sure. We shall see.
 
Old 01-02-2004, 10:25 AM   #3
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
lnmp, when was the last time you went to the doctor and said "it hurts when i do this" and nothign else? ever tried asking a mechanic to fix your car and only said "it won't go fast"?

We can not even slightly begin to help you unless you provide some actual information.

What distro
what machine spec
what web server
what mail server
what startup mesages
what error messages
what do users see

we're not psychic....
 
Old 01-02-2004, 10:49 AM   #4
lnmp
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Loosing connection

Quote:
Originally posted by g-rod
Is this machine acting as a firewall too? Does it get its ip from DHCP or is it static?


Next time you have trouble see if that machine can ping anything. Dump a bunch of network junk to a file

((netstat -rn; netstat -pan; ifconfig; route -n; iptables -Ln; iptables -t nat -Ln 2>&1) > /tmp/file1;

Then run restart the network

/etc/init.d/network restart;

Redump the network junk.
((netstat -rn; netstat -pan; ifconfig; route -n; iptables -Ln; iptables -t nat -Ln 2>&1) > /tmp/file2;

The network should now work. Then post the output of the two files and we will try to see what is happening. I think you are lossing you ip, but I can't be sure. We shall see.
 
Old 01-02-2004, 11:03 AM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: Loosing connection

Quoting another response does not help us determine the problem in anyway whatsoever.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm giving up email/The death of Internet? henrikanttonen General 24 02-08-2007 02:21 AM
Segmentation fault on toplevel = XtVaAppInitialize(&app, "Email", NULL, 0, &argc, cbranje Programming 0 02-19-2005 12:06 PM
Sharing internet & file system between Windows98 & Redhat9 cjs_pro Linux - Networking 2 07-15-2004 07:25 AM
Retrieve internet email using Thunderbird? GT_Onizuka Linux - Software 1 06-28-2004 11:24 PM
Linux firewall with internet & dmz & trusted ikhwan98 Linux - Networking 0 11-23-2001 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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