Click to See Complete Forum and Search --> : Rh7 Linux Box Crashing after a few hours.


CheshireKat
03-31-2001, 12:06 AM
Ok, so I colocated a linux box I built out of spare parts. (P1 233Mhz, 8gig, 128 Ram) I had it running off of my cable modem for awhile and it seemed to run fine, detetcted my IP and all that with DHCP, didn't even have to configure anything, but now that its colocated its constantly crashing. I'll reboot, and it'll stay up for a few hours and then crash, and won't come back up. Now I would have thought that if it rebooted all the services would come back as they do if I reboot manualy, but i cain't seem to figure out what kills it. I cain't even ping the sucker. :(

Tyr-7BE
03-31-2001, 12:21 AM
Could you define "crashes"? What happens to it? Also, if you boot up after crashing, then reboot manually, do you get your services back?

Tyr-7BE
03-31-2001, 12:22 AM
Could you define "crashes"? What happens to it? Also, if you boot up after crashing, then reboot manually, do you get your services back?

CheshireKat
03-31-2001, 12:46 AM
well, I actualy don't know that its crashing, I just assume it is, after "crashing" I just loose all connectivity, cain't telnet/ssh/ftp in, no http, and cain't even ping it.

[ 30 March 2001: Message edited by: CheshireKat ]

StanLin
03-31-2001, 02:41 AM
well if u are using an analog modem for a phone line like i do then i would suggest u check if it is set to disconnect if idle for x minutes.

Tyr-7BE
03-31-2001, 02:49 AM
hrmmm...it hasn't crashed. Linux doesn't crash (that's the great thing about it :)). For some reason or other your connectivity disappears. Is there a command to start your connectivity up? I know that with adsl, if you've installed roaring penguin it's "adsl-start" or if you've hacked your ppp script it's "ppp start". Is there a similar thing for cable modem? Have you tried a forum search under General lin. questions, Software, Tech Support, and How I did it? For some reason this problem sounds quite familiar...

hungarian
03-31-2001, 03:00 AM
I presume you have downloaded all the latest updates with the

up2date

program that comes with RH 7 ?

bdg1983
03-31-2001, 11:36 AM
Are you saying that since the original install when all was working, you have now physically moved the box to a new location?

If this is the case, check all hardware connections both inside and outside the box. Perhaps something got knocked loose.

CheshireKat
03-31-2001, 11:40 AM
I don't use ppp, adsl, or cable now, its all eithernet with a static IP that starts up at boot-up. I'v already checked all my connections in and out of the box and added a UPS.

Linux
03-31-2001, 10:30 PM
You said that you had RH configured to access internet via @Home service (cable modem) and after some time you can not ftp, telnet to it. What I found out is that after some time of inactivity your @home provider will somehow stop/block external acces to your computer. This is what I have found with Rogers @home in Toronto. If this is your problem one solution is to set up cron to ping certain site or an ip every 5 min or so.

CheshireKat
03-31-2001, 11:17 PM
I didn't have to configure it for my cable modem, just got everthign at first boot-up, but I'm not even on my cable modem anymore, its all ethernet, with a static IP of a normal colocation place.

bdg1983
04-01-2001, 06:22 AM
What are you trying to 'ping' now that you don't have your cablemodem, ppp or adsl hooked up anymore? Another PC on your lan?

cain't telnet/ssh/ftp in, no http, and cain't even ping it

How can you when your not connected to anything?

Lorithar
04-01-2001, 01:20 PM
*arg*

Chesire ... where is the box located .. can you get to other colocated devices at the site?

2) what sort of security/sanity checks are installed on the box? Does your colocator provide firewalling?

3) if it is just randomly dropping off the map, then look into icmp denials. since pingfloods will shut a small box like that down in an instant.

4) if the box is dying unexectedly, and actually rolling over, get hard coded data for your network settings, and setup the networking to use them. Don't rely on DHCP for ANY production system... it is far too easy to have the DHCP server out of sync, hijacked or just plain offline.

5) TURN OFF TELNET. on a public access system (anything open to the internet) this is far too unsecure a process to leave up and running.

Try to get log data off the box to find out what is going on ... email me if you need to..
...logs that help ..
/var/log/messages
/var/log/xferlog
/var/log/syslog
/var/log/debug

pps ...this wouldnt be mush box would it?