Problem: Server hangs on reboot
When restarting your server (ie through reboot) it hangs forever.
Checking the server console it says:
A stop job is running for /etc/rc.local Compatibility
Environment
You have created a script to be run at system boot in /etc/rc.local
. Due to runlevel concept of Linux xhis script is executed during shutdown or reboot, too.
Solution
Fix your script to check if it runs during shutdown or reboot. If so it should do nothing.