Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-26-2003, 10:16 AM   #1
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 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.


Last edited by tobz; 07-26-2003 at 06:29 PM.
Old 07-26-2003, 11:00 AM   #2
LQ 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
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:
Configure X server:
Configure network:
Manage software:

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

Last edited by fancypiper; 07-26-2003 at 11:02 AM.
Old 07-26-2003, 05:21 PM   #3
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

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, 06:32 PM   #4
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.

Old 07-27-2003, 07:30 PM   #5
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.



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 07:51 AM
2 NIC MASQ'ing firewall failing at random times ucgapam Linux - Networking 0 03-16-2004 12:40 PM
Monitor flickers at random times linuxbotx Linux - Hardware 7 10-30-2003 11:21 PM
System Admin: Server panic at random times digitalw00t Linux - General 4 04-13-2002 08:05 PM
Mail Server Failing to send Out ! baye Linux - Networking 1 02-22-2002 02:04 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration