LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   halloween going on my server (weird crashes) (https://www.linuxquestions.org/questions/linux-newbie-8/halloween-going-on-my-server-weird-crashes-842300/)

fdelval 11-04-2010 08:17 AM

halloween going on my server (weird crashes)
 
ok, lets get story and the sympthoms:

-server with:
dhcp
shorewall
squid
samba
ssh
ftp

there are 4 users, 4 VOIP phones, and except of the internet usage, the load of all the other services is LOW.


The server has 700mb RAM and P IV 2.8 and kernell: Linux 2.6.31-22

well, every 1-2 weeks, suddenly, all PC's connected to the server lose the dhcp's assigned IP.

I try to set up static IP's on the PC's and everything keeps working.
Now i try to SSH the server but its down. but i ping it and its alive.
Squid works and filters the webs.

Now i go to the screen of the server, log in and see weird messages like:
MARTIAN SOURCE 169.x.x.x... (the IP of the PC's which lost IP)
Now, after a few commands, the session freezes, all pc loses internet and i have to reboot the pc


now help!
1) which logs to watch? syslog have so much kernell mesages its crazy
2) need more information to diagnose?
3) if so, which commands could i use to show the output?

4) memory leaking? hardware related?



thank you from me and my haunted server

alli_yas 11-04-2010 08:42 AM

Hi

Firstly, please try to title your posts appropriately. Whilst your title maybe funny; its going to limit the responses you get.

Now, you need to provide better information on your problem.

Distribution? Version? Is you machine running as a DHCP server/client (I suspect its a server)?

You say you have VoIP phones and PC's connected - how - via a router/switch?

The fact that you can't SSH to the box implies that its lost network connectivity which probably is the reason your client PC's/devices have lost connectivity.

Can you get to the machine physically and work on it? If so, run:

Code:

# ifconfig -a
Also check that the network cables are connected properly and in good condition.

fdelval 11-04-2010 10:07 AM

Quote:

Originally Posted by alli_yas (Post 4149054)

Distribution? Version? Is you machine running as a DHCP server/client (I suspect its a server)?

Ubuntu 9.10, 2.6.31-22-generic-pae kernell, updated, system ask for no security updates.
Yes, everything it runs is for server purposes for my lan


Quote:

Originally Posted by alli_yas (Post 4149054)
You say you have VoIP phones and PC's connected - how - via a router/switch?

The schema is:
ISP router ------ ubuntu server --------- LAN (4 PC + 4 VOIP)

Quote:

Originally Posted by alli_yas (Post 4149054)
The fact that you can't SSH to the box implies that its lost network connectivity which probably is the reason your client PC's/devices have lost connectivity.

I did a /etc/init.d/dhcp3-server status and it returned an ok, so its weird


Quote:

Originally Posted by alli_yas (Post 4149054)
Can you get to the machine physically and work on it? If so, run:

Code:

# ifconfig -a
Also check that the network cables are connected properly and in good condition.

Yes as i said, i can, but after some time, it freezed and i had to open a new console, and finally reboot.
Also, the screen is flooded with the MARTIAN SOURCE messages.

Hope it clears it out a bit for further investigation


All times are GMT -5. The time now is 07:43 PM.