LinuxQuestions.org
Visit Jeremy's Blog.
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 07-26-2003, 11:16 AM   #1
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Rep: Reputation: 15
Server failing at random times - New Info


Hello, I have a problem with my Red Hat 9 server. I have setup the firewall to allow incoming traffic on ports: 80, 22, and 25. For webserver, ssh, and ftp. My server is not firewalled other than with its own rules, it is simply connected to the internet via a Cisco Catalyst 3500.

However, most of the time the webserver, ssh, and ftp work fine, but sometimes, I cannot reach anything. At these times it won't even accept a ping.

I am using a VA Linux server, and I was originally using the built-in LAN card, I thought that it might have been a source for the problem, so I replaced it with a known working LAN card. Yesterday, it was up for a good 8-12 hours with no problems, but no I cannot access it today.

It is really frustrating. I'm using Apache, sshd, and vsftp for my server. my ip for the server is 207.87.182.132 feel free to check it out and see what you come up with, any help would be appreciated.

Here are a few suggestions that I have received, but have not tried. I read somewhere that my network card might be setup to autonegotiate, and might be bringing the eth0 up and down because it is negotiating itself offline. ?? If I restart my server it will work fine, but restarting it 3 times a day isn't really what I'm looking for in a solution.

Also, I have access to the 3500 if there are certain configuration issues I might need to address, but a lot of the time, my server works fine.

This is my first post, so feel free to help out with any info. I will try to add more info as anyone needs it. Thanks.

-tobz


Last edited by tobz; 07-26-2003 at 07:29 PM.
 
Old 07-26-2003, 12:00 PM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Have you been cleaning out old logs in /var/log? Is your /var partition low in space? If it starts to fill up, it will make the system very sluggish as the disk is hunting for the space it can use.

# How much free drive space
df -h

# Show disk usage by current directory and all subdirectories
du | less

# What takes up so much space on your box
# Run from the directory in question and the largest chunk shows up last
find $1 -type d | xargs du -sm | sort -g

# Redhat links
RedHat Linux Manuals
Get your mp3 support here
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 7.3 down configuration commands
setup leads to several configuration tools

# Redhat 7.3 up configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network
Manage software:
redhat-config-packages

# Handling NTFS
New Technology FileSystem (NTFS) HOWTOs
Linux NTFS project

Last edited by fancypiper; 07-26-2003 at 12:02 PM.
 
Old 07-26-2003, 06:21 PM   #3
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Original Poster
Rep: Reputation: 15
Well, in /dev/sda2 (my / directory), there is 29G left, in /dev/sda1 (my boot dir), there is 15MB free out of 100 total, and in my swap partition, it says, filesystem none, size 1009M, used 0, avail 1009M, mounted on /dev/shm.

I believe that my drive space is probably not the issue, but you never know.

When I did the command to sort by largest dir, my largest dirs are /usr = 857M, and my halflife server /hlds = 742, and that accounts for most of my filespace.

I think it might be helpful to mention my hardware:
36GB 10k RPM SCSI Drive
Intel 880gx system board
2GB ram
dual PIII 850
floppy/cdrom

The server is UP now, not sure why, but I will probably be putting a monitor on it soon, so I can tell when it's down, and possibly link it to a reason. Thanks!
 
Old 07-26-2003, 07:32 PM   #4
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Original Poster
Rep: Reputation: 15
New Info - SSH ?

When I run my SSH client from my windows machines, sometimes it hangs when I don't exit right away. I also notice that after these hangs, my website runs slower and slower, and the SSH will not be available. The FTP usually will stop working after that, and the website will "eventually" go down.

I use putty.exe for my windows SSH client, should I use a different program? Or possibly just use telnet? Or if it does hang, is there anything I could do to fix it w/o restarting? Thanks in advance for any help, I've printed off all the Red Hat 9 manuals and found nothing of great relavence, searched using google but couldn't find a great match either. Again, thanks in advance.

tobz
 
Old 07-27-2003, 08:30 PM   #5
tobz
Member
 
Registered: Jul 2003
Location: MN
Distribution: Redhat 9/Fedora Core 2/Slack
Posts: 53

Original Poster
Rep: Reputation: 15
Just thought that I would let everyone know that the problem is fixed. There is a different machine on my network that was eating up the Cisco 3500's resources, so when I fixed that, I matched the settings on the switch and my server to both FULL DUPLEX 100BaseTX, and things are working great.

Thanks to any and all who helped.

tobz
 
  


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
Broken Fedora Version? (National letters get messed up, random times) blackman890 Fedora 1 06-27-2005 08:51 AM
2 NIC MASQ'ing firewall failing at random times ucgapam Linux - Networking 0 03-16-2004 01:40 PM
Monitor flickers at random times linuxbotx Linux - Hardware 7 10-31-2003 12:21 AM
System Admin: Server panic at random times digitalw00t Linux - General 4 04-13-2002 09:05 PM
Mail Server Failing to send Out ! baye Linux - Networking 1 02-22-2002 03:04 AM


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