Nethserver no longer accessible

network
hardware
v7

(Armin) #1

NethServer Version: 7.4
Module: your_module

Hello everybody,

I had my nethserver running until yesterday. Today it isn’t visible anymore in the network. I connected it to a screen and typed “db networks show”, which shows no results. Then I typed ‘service network restart’ and get
‘Error getting authority: Error initializing authority: Could not connect: Input/ouput error (g-io-error-quark, 0)’

Can anybody help me what to do or where to look further?


(Markus Neuberger) #2

This could be a harddisk (controller) failure:


(Armin) #3

Maybe … I don’t unterstand/find anything in there that helps me. Has anybody anymore tips for a newbie what to do?


(Markus Neuberger) #4

Sorry, I try again…

I assume you already rebooted to see if it helps…

To get the disk UUIDs and fstab entries:

blkid
cat /etc/fstab

Please compare the UUID from blkid with /etc/fstab.

To check smart status of harddrive:

smartctl -H /dev/sda

To check for bad blocks (takes much time):

badblocks -v /dev/sda

If it’s easier for you just post the results of the commands and I take a look at it…
Maybe these commands don’t work because of failing hard drive, in this case you may try to use a boot cd/usb to check the system.(sysrescuecd, ubcd, hiren…)


(Armin) #5

I just got it to run again. ‘journalctl -xb’ showed me (error lines in red) what was the problem - dm-2 couldn’t mount and after running ‘xfs_repair dm-2’ I could restart my network with ‘service network restart’.

Thanks a lot for your help!