Debian 9 server locks up

New to Debian (Or Linux in general)? Ask your questions here!

Debian 9 server locks up

Postby countryuser » 2017-11-17 01:05

Hi all
Every night or so my Debian 9 (i386) server locks up/freezes and only a hard power off and restart is the only way to get it going again. My server setup is straight from the "Perfect Debian Server" from Sourceforge (no GUI interface). I experienced this before with Debian 8 so I upgraded the server hardware to Pentium 3 core 2 duo, 2 Gb RAM, 13 Gb HDD and Foxconn N15235 motherboard. It worked well for approx 6 months but now locks up/freezes. Dmesg shows all is fine and all other logs in the log dir also look fine with no errors reported. I also update and upgrade every month to keep the system up to date. I run 2 web and mail servers and also DNS server installed through ISPConfig 3. I am wondering if 64 bit updates are being updated from the repositories instead of 32 bit causing this problem. Regards Greg
countryuser
 
Posts: 3
Joined: 2017-11-17 00:40

Re: Debian 9 server locks up

Postby bw123 » 2017-11-17 03:52

Well it doesn't sound perfect and being unfamiliar with it I refuse to look it up. ? Anyway, any possibility it's hardware issue?
User avatar
bw123
 
Posts: 2473
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Debian 9 server locks up

Postby debiman » 2017-11-17 05:24

every night?
you must be able to get at some log mentioning it.
have you searched properly in /var/log? like, everything? including systemd journal (which is not a plain text file so you have to use 'journalctl')?

countryuser wrote:server setup is straight from the "Perfect Debian Server" from Sourceforge
link?
User avatar
debiman
 
Posts: 1626
Joined: 2013-03-12 07:18

Re: Debian 9 server locks up

Postby kedaha » 2017-11-17 08:44

bw123 wrote:Well it doesn't sound perfect and being unfamiliar with it I refuse to look it up. ? Anyway, any possibility it's hardware issue?

+1
Those cut-and-paste "Perfect Server" tutorials effectively introduce a third-party software repository resulting in an entirely non-standard Debian-based system with software that doesn't comply at all with Debian Policy; it certainly doesn't go through the experimental-sid-testing-stable route.
As for the freezes, I'd look at the kernel logs; there must be some indication there,
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2801
Joined: 2008-05-24 12:26

Re: Debian 9 server locks up

Postby countryuser » 2017-11-18 00:46

Hi and thanks for all the comments and replies

Searching all the logs and in the kernel log a common stoppage always occurs around these lines below

server2 kernel: [ 19.951210] input: HDA VIA VT82xx Front Headphone as /devices/pci0000:80/0000:80:01.0/sound/card0/input12
Nov 8 08:54:37 server2 kernel: [ 23.050458] Adding 1961980k swap on /dev/sda5. Priority:-1 extents:1 across:1961980k FS
Nov 8 08:54:37 server2 kernel: [ 25.856369] 8139too 0000:04:04.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Nov 8 08:57:05 server2 kernel: [ 175.273708] ip6_tables: (C) 2000-2006 Netfilter Core Team
Nov 9 17:01:29 server2 kernel: [ 0.000000] Linux version 4.9.0-3-686-pae (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)
) #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)

but it doesn't always freeze when checking, it just parses straight past. The most common is the last line at 08:57:05, see the time difference, probably something ??? then a restart
countryuser
 
Posts: 3
Joined: 2017-11-17 00:40

Re: Debian 9 server locks up

Postby debiman » 2017-11-18 09:31

why the headphones?
i assumed this is a headless machine, i.e. you only ssh into it?

also seeing the hardware manufacturar VIA in connection with linux gives me the heebie-jeebies.
more info on the mobo & specs would be nice.
User avatar
debiman
 
Posts: 1626
Joined: 2013-03-12 07:18

Re: Debian 9 server locks up

Postby steve_v » 2017-11-18 15:18

debiman wrote:also seeing the hardware manufacturar VIA in connection with linux gives me the heebie-jeebies.

Seeing that it has an audio chipset at all tells me that this is a desktop grade machine being used as a "server". That gives me the heebie-jeebies. It also has a Realtek NIC, which are decidedly nasty.
As such, I would immediately suspect hardware problems.
@OP: you have done the usual array of hardware tests, right? Memtest, CPU stress test, HDD diagnostics, etc? Checked hardware temps?
steve_v
 
Posts: 529
Joined: 2012-10-06 05:31
Location: New Zealand

Re: Debian 9 server locks up

Postby countryuser » 2017-11-19 04:54

Yes it was a desktop re purposed to run server as headless and SSH into it. Look at my first post, it will tell what hardware is used.

When I first setup this server using Debian 5 (sarge) using old desktop hardware all went well untill just recently. I was using an old compaq desktop, 1.6gb with 4Mb RAM until it failed, then I used another desktop but it didn't last long, and now this one. I am a great believer in re purposed hardware as there is so much around.

Now getting back to my problem. What can I do to fix it. I don't think you can disable all on board devices or can you. All motherboard test were carried out, memory test, CPU tested and HDD. NO PROBLEMS FOUND.
countryuser
 
Posts: 3
Joined: 2017-11-17 00:40

Re: Debian 9 server locks up

Postby debiman » 2017-11-19 09:19

countryuser wrote:Yes it was a desktop re purposed to run server as headless and SSH into it. Look at my first post, it will tell what hardware is used.

When I first setup this server using Debian 5 (sarge) using old desktop hardware all went well untill just recently. I was using an old compaq desktop, 1.6gb with 4Mb RAM until it failed, then I used another desktop but it didn't last long, and now this one. I am a great believer in re purposed hardware as there is so much around.

Now getting back to my problem. What can I do to fix it. I don't think you can disable all on board devices or can you. All motherboard test were carried out, memory test, CPU tested and HDD. NO PROBLEMS FOUND.

i don't much like your attitude.
you make it sound like we're too stupid to read, recognize and solve your problem.
but really it is you who needs to provide more information. much more.
go through all the posts so far, look at all the questions asked and give us detailed info. usually this means commands issued & output received.
use code tags for code.
User avatar
debiman
 
Posts: 1626
Joined: 2013-03-12 07:18

Re: Debian 9 server locks up

Postby bw123 » 2017-11-19 13:34

I don't recognize the hardware, but I guess it has a BIOS, have you tried restoring it to defaults, and looking around?

I am a great believer in re purposed hardware as there is so much around.


I like old hardware too, but documentation can be hard to find, and very helpful.

https://duckduckgo.com/html/?q=disable+hardware+linux
User avatar
bw123
 
Posts: 2473
Joined: 2011-05-09 06:02
Location: TN_USA


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable