Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dear All
My server got inconsistency from sudden power cut that I fixed it with #fsck -fvy /dev/hda at the maintenance prompt . But after reboot, one of the installed applications is preventing it from booting up (as can be seen in the boot up process list). Can you please let me know how can I remove it from the boot up list to reach the root user prompt and then re-install it again ?
Thank you
Thank you for your reply. But I do not see again the system maintenance prompt and just endlessly waiting on coming up this application in the boot up process list. I am sorry to forget to remove it the last time when I was on the system maintenance prompt. So what can I do now ?
how can I remove it from the boot up list to reach the root user prompt(..)?
Either 0) boot into a non-multi-user runlevel by appending " 1" or " single" to the end of your GRUB command line on boot, 1) boot into interactive mode by pressing SHIFT+i when asked or 2) boot from a Live CD. Once you're in you can use 'chkconfig --level 12345 [servicename] off' or its systemd equivalent to keep the service from booting. Note that removing and re-installing is a pre-Linux (Windows, mostly) reflex that doesn't help you gain the knowledge to solve things.
Enter into your Grub menu by pressing any key while booting. Then enter into the kernel editing mode and enter 1 after the command which shows up so that you can enter into your single user mode which is used for maintenance. Now use the command
chkconfig servicename off
The above command switch off the service from all levels.
If you don't know your service name you can use this command
chkconfig --list
which lists all the services in your system along with its run level details.
Now reboot your system and you are done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.