Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] interrupt boot process to disable a service
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Elleni
l33t
l33t


Joined: 23 May 2006
Posts: 858

PostPosted: Sun Nov 20, 2016 1:56 am    Post subject: [solved] interrupt boot process to disable a service Reply with quote

I need some advice. My virtual server which I can access via TigerVNC takes forever for starting mysql. Boot process stops at "starting mysql". Is there any timeout after which it should continue? How can I stop the boot process before this service in order to remove it from default runlevel to access the box via ssh and troubleshoot further?

Last edited by Elleni on Sun Nov 20, 2016 11:37 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43200
Location: 56N 3W

PostPosted: Sun Nov 20, 2016 11:12 am    Post subject: Reply with quote

Elleni,

Edit the file /etc/rc.conf and uncomment
Code:
#rc_interactive="YES"

Provided you have console access, you will see a message to "Press I for Interactive Boot"

You can also remove the symlink from /etc/runlevels/default/ That's what rc-update does.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Elleni
l33t
l33t


Joined: 23 May 2006
Posts: 858

PostPosted: Sun Nov 20, 2016 11:37 am    Post subject: Reply with quote

Good mornin NeddySeagoon, thanks, I will do so, yesterday night I had not the possibility do so, as the boot process was halting at starting mysql, so I went sleeping, and now today I see, that system finished booting after all, but mysql is not on. Now I found the source of the problem. As I had done a backup with mkstage4 script I filled disk and thus there is not enough free diskspace. As soon as I will have moved the backuped file and thus freeing diskspace, I am almost sure, that mysql will start normally.

Thanks for help!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum