Auto restart at 00:00 & system is hanged at splash screen

Hi
I am running SUSE Linux Enterprise Server 15 SP1" on a test server to check the SAP installation.
it was running fine, all of sudden it is getting restarting starting some days back exactly at midnight 00:00:00 hours.
it getting restarted mostly every 2 or 3 days but must on Sunday midnight.
after restart i did able to check what caused. no crontab file exists for any user.

but i did see it creating around 5 to 7GB of crash file at /var/crash/*

i ignored as it is my test system. but now… system is not able to start and hangs at first boot screen.(splash Screen)

i guess /var/crash is filled up. and that is the reason / file system also got 100%.

i have below questions:
how can i clear the file system of (crash dump)…
how to login to system using a single user mode for SUSE 15 SP1?

Thanks in Advance

[QUOTE=susebhupathi;59763]Hi
I am running SUSE Linux Enterprise Server 15 SP1" on a test server to check the SAP installation.
it was running fine, all of sudden it is getting restarting starting some days back exactly at midnight 00:00:00 hours.
it getting restarted mostly every 2 or 3 days but must on Sunday midnight.
after restart i did able to check what caused. no crontab file exists for any user.

but i did see it creating around 5 to 7GB of crash file at /var/crash/*

i ignored as it is my test system. but now… system is not able to start and hangs at first boot screen.(splash Screen)

i guess /var/crash is filled up. and that is the reason / file system also got 100%.

i have below questions:
how can i clear the file system of (crash dump)…
how to login to system using a single user mode for SUSE 15 SP1?

Thanks in Advance[/QUOTE]
Hi
You have a grub option to enter rescue mode, or even failsafe mode. Else boot from the install medium and get to rescue mode. You should then be able to mount/clean the file system as required.

Login in maintenance mode is root user and password…

https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-trouble.html#sec-trouble-data-recover-rescue

Hi malcolmlewis

i am able to rescue login, by pendrive login…but not able to mount:

cd /dev
ls -ltr
i can see sda1 sda2 and so many folders…

tty1:rescue:/dev # cd sda2
bash: cd: sda1: not a directory
tty1:rescue:/dev # mount /dev/sda2 /mnt
unknown file system type ‘LVM2_member’.

mkdir /xyz
mount /dev/sda2 /xyz
/xyz: unknown file system type ‘LLVM2_member’.
mount /dev/sda1 /xyz
wrong fs type, bad option superblock /dev/sda1, missing codepage or helper program,or other error
mount /dev/sda2 /xyz
/mnt: unknown file system type ‘LLVM2_member’.

if i sudo some command it says sudo commnad not found.

Thanks in advance

Hi
So your using lvm, so you need to mount the volume group etc
https://documentation.suse.com/sles/15-SP1/html/SLES-all/cha-lvm.html#sec-lvm-cli

Do you see output from;

lvdisplay
lvs

You should already be root user, no need for sudo far better to switch to root user with su - unless you have properly configured sudoers file…

Hi malcolmlewis
Below is the out put:

----Logical Volume—
LV Path /dev/system/swap
LV Name swap
VGNAME system
LV status available

----Logical Volume—
LV Path /dev/system/root
LV Name root
VG Name system
LV UUID xpcme*…
LV write access read/write
LV creatio host.time <host,time>

open 0

LV Size 75.00 gIb
cURRNET le 19200
Segments 1
Allocation inherent
Read Ahead sectors auto
–Currently set to 1024
Block device 254:1

lvs
tty:rescue:/dev/ # lvs
root system -wi-a----- 75.00g
swap system -wi-a------ 2.oog
–Currently set

Hi
So does the following work?

mount /dev/system/root /mnt