CentOS 7 Reboot?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
I always used this command to restart my VPS

Code:
shutdown -r now
However, sometimes it causes MySQL issues and I don't know hy. What's the most graceful way to restart CentOS 7? I have just got this version on a new VPS.

I've read tutorials online and they suggest to use

Code:
reboot
and

Code:
halt
How can I gently reboot the machine?
 

hostens

Well-known member
Hosting Provider
Registered
Joined
Jan 18, 2017
Messages
215
Points
28
I personally always use reboot command and haven't faced any issues so far.
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
I would suggest reboot also.

shutdown -r now does the same thing but it's easier to just use reboot if you forget to add the -r.

The reboot command should force MySQL to shutdown gracefully along with all other services. I would check the MySQL error log for any events that happened during the reboot.
 

hostens

Well-known member
Hosting Provider
Registered
Joined
Jan 18, 2017
Messages
215
Points
28
Not sure about halt, but shutdown -r now and reboot should do the same thing if not using -f argument. Because it should follow same procedures.
 
Older Threads
Replies
7
Views
3,558
Replies
2
Views
2,265
Replies
3
Views
3,265
Newer Threads
Recommended Threads
Replies
12
Views
6,248
Replies
0
Views
1,773
Replies
1
Views
1,521

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top