Questions tagged [runlevel]
The runlevel tag has no usage guidance.
43
questions
1
vote
0
answers
260
views
Stuck in single user mode after getting the log: systemd[1]: Failed to start LSB : executed by init(8) upon entering runlevel 1 (single)
I tried to enter in single user mode on Ubuntu 20.04 but after the login (or even without the login) it gave me the next log and then it stuck.
systemd[1]: Failed to start LSB : executed by init(8) ...
0
votes
1
answer
547
views
runlevel + how to force multi user mode from run-level 3
we know that runlevl of multi user mode is
N 5
but on our redhat 7.2 we get the following
runlevel
5 3
what is the meaning of this run-level ?
how to change this machine to multi user mode ( ...
1
vote
1
answer
362
views
When a power failure results in a fsck, which runlevel is systemd loaded into - emergency mode or rescue?
Can someone please tell me which runlevel systemd is running in when you're prompted for a filesystem check after a power loss? Is it emergency or rescue or does it depend? I have some systemd units ...
0
votes
1
answer
445
views
What run levels determine that the service will start on reboot?
I understand what run levels means, what I am having trouble understanding is. How to determine which service will start on system reboot depending upon run levels?
chkconfig httpd --list
...
1
vote
2
answers
14k
views
Ansible expect not working for multiple prompt values
I need to install nginx agent for openam using ansible.
while install the nginx_agent it asking multiple question while run the script,
**********************************************************...
1
vote
1
answer
4k
views
How to check current active target in RHEL7 / CentOS 7
In RHEL 6 we can run runlevel to check current runlevel of my system.
In RHEL 7 we have the command systemctl get-default to check default target but how to check current active target?
1
vote
2
answers
5k
views
Setting up NTP service to Automatic restart
Setting up NTP service to Automatic restart which one should set to on in given
list
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
1
vote
1
answer
2k
views
Change ubuntu defaul runlevel
i need change default runlevel to ubuntu server 14.04. I installed GUI to manage the hp printers and now i need return to runlevel 3, i edit the file /etc/init/rc-sysinit.conf and modify the line:
...
1
vote
1
answer
230
views
How to prevent Ubuntu booting into X
I am actually wondering how to prevent services (in this case the X server) in Ubuntu (14.04) from startup automatically at boot time. I tried:
sudo update-rc.d lightdm remove
and
sudo update-rc.d ...
0
votes
1
answer
481
views
Change service startup "sequence" with puppet
When using
service { 'ntp':
ensure => running,
enable => true,
# [...]
}
puppet will make sure, that the service will start on boot. Therefore it is creating links for several ...
1
vote
1
answer
33
views
Windows 2008 Runlevel Scripts on Shutdown. Is it possible?
When Windows 2008 gets shutdown or rebooted [not via a script] by someone, is there a way to have a pre-processing script executed similar to UNIX runlevel scripts?
12
votes
1
answer
6k
views
How does systemctl schedule system shutdown?
When I type shutdown -h +30, Linux somehow schedules runlevel's change within 30 minutes. On Debian, /sbin/shutdown is symbolic link to /bin/systemctl. My tests indicate that shutdown does not use ...
0
votes
1
answer
187
views
create and run bash script on start of runlevel5
I have created a following hello bash script:
#!/bin/sh
echo "Hello Run Level 5"
I put this script in the /etc/rc.d/rc5.d directory with a name S100RunLevel5. How can I make this script to run ...
9
votes
4
answers
26k
views
Launching programs with GUI without display manager
I've heard that there is a way launching programs with graphical interface without display manager - straight from terminal. Is this for real and if so, how can I do that?
1
vote
0
answers
365
views
How to set up a multi-user text mode in Debian wheezy 7.6?
I'd like to set up one of the available runlevels to work as a 'multi-user text mode' runlevel. Such mode available e.g. on CentOS.
Another example of what I need would be what you get when you add ...