Questions tagged [runlevel]
31 questions
2
votes
1 answer
Rebuilding /etc/rc?.d/ links
A regular filesystem check on a Debian Lenny system triggered an fsck, and that nuked a handful of links in the /etc/rc?.d hierarchy (unfortunately I didn't keep a list).
The system seems to boot and run normally, but I'm worried its storing up…

timday
- 866
- 1
- 10
- 24
2
votes
2 answers
After Reboot of machine, startup script raise one server, but one stays down. When i manually start script both servers starts fine
#!/bin/bash
###BEGIN INIT INFO
#chkconfig: 12345 98 13
#Provides: ACE
#Required-Start: $local_fs
#Required-Stop: $local_fs
#Default-Start: 2 3 4 5
#Default-Stop: 0 1 6
#Short-Description: IBM ACE Control
#Description: …

Boro
- 31
- 5
1
vote
1 answer
How can I suppress the Old Runlevel warning while installing Strongswan
When I install strongswan and dependent packages using apt install, I get the following warning prompt:
This inhibits me from installing strongswan through an automated unattended install script.
Therefore, how can I suppress this prompt.
I am…

0xF1
- 155
- 1
- 5
1
vote
1 answer
Runlevel pattern for systemd
Suppose I have two different "runlevels" setup via "targets" in systemd - before.target (a minimum bootstrap set of services enabled) and after.target (run everything).
Right now I do this when I want to switch from "before" to "after":
# Set…

javanix
- 247
- 4
- 15
1
vote
1 answer
How to allow root login server and disallow website users connection in centos 7 maintenance period?
My clound VPS server is centos 7.4,I run apache,mariadb in this server.
Now,I want to migrate from mariadb to mysql.
During maintenance, server need no user disturb.
In centos 7, has no run level 1,then I read this post and tried systemctl…

kittygirl
- 945
- 5
- 13
- 33
1
vote
1 answer
Meaning of "chkconfig" runlevels "S" (capital S) and "B" (capital B) in Linux
I'm running the chkconfig --list command on a server with SLES 10 SP2 (SUSE Linux Enterprise Server 10 Service Pack 2). I know the meaning of runlevels from 0 to 6, but some lines also have a "S" (uppercase S) and one line has a "B" (uppercase B).…

ricmarques
- 1,124
- 1
- 13
- 23
1
vote
0 answers
what is the correct runlevel for "Stop" in ec2?
I am trying to make a script to gracefully shutdown some application servers, I put the scripts in /etc/rc0.d but when I stop the ec2 instance on amazon, it won't call my script.
what is the correct runlevel for "stop" in ec2?

Medya
- 191
- 1
- 9
1
vote
1 answer
ubuntu 11 runlevel
probably a simple question, but i think im wording things wrongly to the googles:
i have a ubuntu 11 server that 90% of the time runs headless, and is only accessed over ssh.
i use it as a workstation occasionally, and use the GUI when i do.…

adamfield
- 11
- 1
1
vote
1 answer
PHP-FPM starts before the web folder mounts in /etc/fstab, throws error
I'm running a LAEMP reverse proxy server on Arch in the cloud.
I have my nextcloud/data folder mounted to an attached storage drive at /mnt/hdd/nextcloud/data, linked to /srv/www/nextcloud/data.
If I don't do this, but keep nextcloud/data on the…

Jesse
- 217
- 3
- 12
1
vote
1 answer
What runlevel should ufw firewall start at in Alpine Linux?
I am using ufw on Alpine linux.
I have configured it in a pretty standard way:
apk add --no-cache ufw
ufw allow ssh
ufw allow http
ufw allow https
ufw limit ssh
ufw enable
rc-update add ufw default
But I am not sure if I should be setting it's…

markson edwardson
- 189
- 9
0
votes
1 answer
chkconfig wont install tomcat8
I have tomcat8 intalled on my Amazon Linux AMI, I modified the tomcat8 init script header, so chkconfig could install tomcat8 to run automatically on boot. The modified header is:
#!/bin/bash
#
# tomcat This shell script takes care of starting…

mFeinstein
- 513
- 2
- 5
- 10
0
votes
1 answer
Program Files(x86) not being interpretted right on Win7x64 when not running as local admin
Regards,
I'm having a peculiar issue with a 32bit software program that is being migrated to a x64 environment (Windows XP SP3 towards Windows 7 X64. The application is question is a electronic register / till for our endpoint sales offices.
The…

Entity_Razer
- 475
- 1
- 5
- 17
0
votes
0 answers
Linux: immediate logoff upon login
I have a CentOS 6 installation (on a USB disk) that I use for repairs etc. I recently moved the installation to a new disk, and now something strange is happening. Immediately after I logon I am logged off. I logon as root (no other user…

TSG
- 1,674
- 7
- 32
- 51
0
votes
1 answer
Apache listed in runlevels, not starting at boot (OpenSuse 12.3)
I want my compiled apache2 server to run when my OpenSuse 12.3 server boots.
I've followed the procedure listed in How do I get apache to startup at bootime on Linux, namely:
Creating the file /etc/init.d/apache2
Adding it to the services…

jml
- 9
- 3
0
votes
2 answers
Rescue Mode For EC2, Process Hangs On Startup
I have an ec2 server that was running for several months without any problems, but I recently had to reboot due to an unknown reason.
Now, it appears that it is having trouble starting up, possible because of a script I asked it to run on startup. …

Kevin J Dolan
- 111
- 1
- 4