CentOS stopped loading after I added something to /etc/rc.d/rc.local

Andrew asked:

I am very new in Linux (first day). I needed to add my program to the OS startup. I could not find a solution, so I tried to do something that could solve my issue.

I added my line of text /opt/mono/bin/mono /root/MySoft/UDPServer.exe "[email protected]" to /etc/rc.d/rc.local

Now my Centos is frozen in loading screen… Is there any way to fix it back? 🙂

My answer:

You probably forgot to put it in the background with &. Your system will “come back” when the process exits.

If you can’t log in from the console, you can always log in via ssh from another machine.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.