Koozali.org: home of the SME Server

Server crashed

Offline Jean-Philippe Pialasse

  • *
  • 2,978
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Server crashed
« Reply #15 on: March 29, 2026, 04:51:54 PM »
if you use an install disk from centos/ sme/ fedora and select rescue mode it will :
- enable the raid
- enable lvm
- mount your system to /mnt/sysimage


otherwise you are on your own to do all those (non trivial)  steps

Offline beast

  • *
  • 254
  • +0/-0
Re: Server crashed
« Reply #16 on: March 29, 2026, 09:12:00 PM »
if you use an install disk from centos/ sme/ fedora and select rescue mode it will :
- enable the raid
- enable lvm
- mount your system to /mnt/sysimage

I am unable to find out how to enter rescue mode on the SME disk after boot (I can only see install and test mode)

Offline TerryF

  • grumpy old man
  • *
  • 1,876
  • +6/-0
Re: Server crashed
« Reply #17 on: March 30, 2026, 08:14:59 AM »
When you boot the iso from USB or such at first screen select the Troubleshooting item
Then at next screen select
Rescue ........
--
qui scribit bis legit

Offline beast

  • *
  • 254
  • +0/-0
Re: Server crashed
« Reply #18 on: March 31, 2026, 09:13:37 PM »
at kernel selection edit the line and add what is needed to enter single user mode.

select your Kernel version from the grub menu item and press e key to edit the first boot option. Now use the Down arrow key to find the kernel line (starts with “linux16“), then change the argument
ro
to
rw init=/sysroot/bin/sh

then do ctrl X


I was unable to find that line

alternatively boot with rescue disk and chroot on your sme.
Code: [Select]
mount --bind /proc /mnt/sysimage/proc
mount --bind /dev /mnt/sysimage/dev
mount --bind /sys /mnt/sysimage/sys
mount --bind /run /mnt/sysimage/run
chroot /mnt/sysimage

then run this:
Code: [Select]
/sbin/e-smith/config setprop bootstrap-console Run no
/sbin/e-smith/config set PasswordSet yes
usermod --unlock admin
usermod --unlock root

After a lot of trouble I have the server running again with the above solution. But I need to replace the servers (I have 2 identical more than 10 years old) as I also expect that there are hardware errors with the motherboard. Monitor some times was black, DVD not loading and other small issues.

Thank you all for the assistance - makes my life better :-)