The officially official Devuan Forum!

You are not logged in.

#1 2025-03-31 04:31:37

deepforest
Member
Registered: 2020-03-24
Posts: 365  

open rc "reboot" event logs

Hi. Can someone help?
My Devuan 5 open-rc is suddenly once autorestart, i whant investigate this.
How i can check why os rebooted?
Where i can check its caused by hardware or software?
What log event can give me information?


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#2 2025-03-31 13:31:29

Altoid
Member
Registered: 2017-05-07
Posts: 1,656  

Re: open rc "reboot" event logs

Hello:

Can someone help?

Hard to say ...  8^°

You are not explaining much here.
Please bear in mind that an incomplete question will only get you incomplete answers.

For starters:

- Is this on a desktop or laptop/netbook, etc.?
- If a laptop/netbook, under AC or battery power?

- At what point does this (sudden reboot) happen?
ie: right after it boots?, after a while using the machine?

- Can you reproduce the problem if you boot from the current Devuan 5 Live-iso?

- Under what ambient conditions?
ie: hot summer / AC turned on?, any machinery running nearby or on the same circuit?

- Exactly what are you doing with the system when this happens?
- Do you see a pattern?
- Any peripherals connected to the system's hardware?

- When did this start to happen?
eg: Any changes in OS (updates/upgrades) hardware / ambient conditions?

... Devuan 5 open-rc is suddenly once autorestart ...

... check why os rebooted?

Start by checking the last (previous) dmesg output for any warnings.
ie: /var/log/dmesg.0 file

Also check:

/var/log/syslog and /var/log/messages -> stores all global system activity data, including startup messages.
/var/log/auth.log stores all security-related events such as logins, root user actions.
/var/log/kern.log stores kernel events, errors, and warning logs.

Best,

A.

Last edited by Altoid (2025-03-31 13:36:38)

Offline

#3 2025-03-31 19:57:18

deepforest
Member
Registered: 2020-03-24
Posts: 365  

Re: open rc "reboot" event logs

Thanks for reply.
All not so hard)
It happens once. And i just want check what could have caused this reboot.
Its my OldGoodDeskTop, i am very care about him)
Temperatures are normal - room(~20C), cpu(43C), gpu(45C). PC tower-case have good air flow.
Devuan installed at new ssd drive.
Also i use new UPS.
Maybe its PSU issue?
I am do not remember correctly(its was late night) before reboot i am input several times under root user this command:
file -sk /dev/*

Start by checking the last (previous) dmesg output for any warnings.
ie: /var/log/dmesg.0 file

Also check:

ok, thanks, i will look.


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#4 2025-03-31 20:19:41

deepforest
Member
Registered: 2020-03-24
Posts: 365  

Re: open rc "reboot" event logs

Its very strange o_O
Yesterday i am looked at  /var/log/ here was many logs
but today /var/log/ its all empty
And i cant update os. But disk is not full.
https://imgur.com/a/nxFPavs

root@devuan:/home/freeartist-devuan# apt install df
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (2: No such file or directory)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
root@devuan:/home/freeartist-devuan# 
root@devuan:~# sudo dpkg --configure -a
dpkg: unrecoverable fatal error, aborting:
 unable to fill /var/lib/dpkg/updates/tmp.i with padding: No space left on device
root@devuan:~# 

but root is not full of capacity
https://imgur.com/a/oSBCMEY

Last edited by deepforest (2025-03-31 20:34:17)


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#5 2025-03-31 21:23:49

Altoid
Member
Registered: 2017-05-07
Posts: 1,656  

Re: open rc "reboot" event logs

Hello:

Thanks ...

You're welcome.

It happens once.

Q:
You mean that it only happened once?
ie: you cannot reliably reproduce it?

OldGoodDeskTop

Right ...
A desktop.

... room(~20C), cpu(43C), gpu(45C). PC tower-case have good air flow.

Looks normal.

Devuan installed at new ssd drive.

There could be an issue with the drive.
ie: new hardware

... use new UPS.

More new hardware and in this case (and depending on the type/quality of the UPS), a potential source of problems.
eg: while your PSU in you desktop may play nicely with your AC line, smoothing out micro-spikes or simply ignoring them, your new UPS may not be doing the same thing or even be reacting badly.

A good/decent UPS has always been hard to come by ($$$).
Many years ago I ended up deciding that it was much better to go without one that to end up spending more money on a (nother) UPS which could cause problems.

Please remove your new UPS from the equation till we can find out what is going on.

----

... very strange ...

Indeed ...

From what I see of the terminal output you posted at imgur, there is at least one thing that is absolutely out of place:

https://debian.drdteam.org   <- this has nothing to do with any Devuan repository.

Seeing that his is a new installation, I suggest that you do a complete reformat of your new HDD and start over, closely following the instructions* the installer provides you on the screen.

* ie: do not screw around the file system as root if you don't know what you are doing.

So ...
In your place I'd do this:

1. disconnect the UPS from your box, you can get back to it once you have a properly working installation. Or get your money back. 
2. download the current Daedalus Live-desktop, burn it to a USB drive and boot from there. (link posted in my previous reply)
3. use the machine for a while/a couple of days and see how it runs.

If things go as you expect them to go, then you can install Devuan Daedalus from the current Daedalus Desktop installer *.iso.

That should get you on your way.

Best,

A.

Last edited by Altoid (2025-03-31 21:25:43)

Offline

#6 2025-03-31 21:45:00

deepforest
Member
Registered: 2020-03-24
Posts: 365  

Re: open rc "reboot" event logs

Thanks for attention for me.

After reboot "empty /var/log/*" folder problem solved - now all content of /var/log/* is at its usual place. OS fully functional. But again, what was that?


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

#7 2025-03-31 21:52:35

deepforest
Member
Registered: 2020-03-24
Posts: 365  

Re: open rc "reboot" event logs

More new hardware and in this case (and depending on the type/quality of the UPS), a potential source of problems.
eg: while your PSU in you desktop may play nicely with your AC line, smoothing out micro-spikes or simply ignoring them, your new UPS may not be doing the same thing or even be reacting badly.

A good/decent UPS has always been hard to come by ($$$).
Many years ago I ended up deciding that it was much better to go without one that to end up spending more money on a (nother) UPS which could cause problems.

Its wise thoughts but i do not think that UPS is source of problems.

https://debian.drdteam.org   <- this has nothing to do with any Devuan repository.

its ok, its doomseeker(doom game server browser) official repo.


-=linux its buggy crap that have no antifool protection (c)=- smile
*linux is free software, and comes with ABSOLUTELY NO WARRANTY* smile
+ALL YOURS ACTIONS at Linux YOU DO at YOUR OWN RISK!+ smile

Offline

Board footer