Server shuts down unexpectedly every day (lassie restarts it every day")

My server is shutting down unexpectedly every day, what can I do to prevent it from shutting down?

4 Replies

what can I do to prevent it from shutting down?

You can find out what is causing it to shut down!! :-)

What do your logs say?

Does it shut down same time each day?

Check your crontab files for all the users… especially the root crontab at /etc/crontab and for www-data user. (sudo crontab -l -u www-data)

If it is not a hardware (temperature) issue or some program crashing the system (probably a memory leak) then perhaps some program or job somewhere is issuing a 'shutdown' command.

This may help: [https://upcloud.com/community/tutorials/troubleshoot-unexpected-server-shutdown/]

Check your crontab files for all the users… especially the root crontab at /etc/crontab and for www-data user. (sudo crontab -l -u www-data)

It's valuable advice to check your crontab files…all of them…but most especially those for users with sudo capability. Every user account on the system has a crontab.

That being said, orderly shutdown capability is limited to the super-user. If you find that www-data -- typically an account that can't login -- can shutdown the system, that's a major problem…as well as a huge security vulnerability.

-- sw

Thanks for the answer.

The log says "Linode linode ★★★ has been booted by the Lassie watchdog service.

It seems to be shutting down at the same time every day.

Where is the page on the linode website?

It's solved! Thank you very much.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct