Questions tagged [chkconfig]
a command used to change/query the state of system services during system startup
39 questions
0 votes
0 answers
58 views
Is there an equivalent to /etc/permissions with support for ACL?
I need to define a list of rights with standard UNIX and some with ACL rights. Is there a way to do check that with a config file like /etc/permissions does for UNIX rights? It is a file that is ...
0 votes
2 answers
173 views
After configure an .sh with chkconfig, systemctl says unit myservice not found
I'm doing some labs for test setups... I've developed a bash script to set it to autostart using systemd. I installed chkconfig and configured my script as follows: Using root: cd /mypath cp myscript....
1 vote
1 answer
4k views
Unable to install cntlm on Red Hat Enterprise Linux 9 due to the absence of chkconfig
I am trying to set up proxies on my Red Hat Enterprise Linux 9. I am trying to install CNTLM proxy authentication software. I downloaded the RPM file from the official repo and tried the following ...
3 votes
1 answer
13k views
What's the Debian Equivalent for chkconfig
What's the Debian Equivalent for chkconfig? On CentOS 6 I can run this to see the services that load with the system: chkconfig --list And i can set a service to start on boot like this: chkconfig &...
1 vote
1 answer
85 views
'chkconfig umountnfs.sh on' does not create symlink
on Debian, the init script /etc/init.d/umountnfs.sh has default stop in runlevel 0 and 6. # Default-Stop: 0 6 but there is no symlink in /etc/rc0.d/ or /etc/rc6.d/ on my system. I am trying to ...
5 votes
1 answer
9k views
Can't enable grafana on boot in Fedora because systemd-sysv-install missing
Fairly stock standard Fedora 30 install: $ uname -a Linux <redacted> 5.1.16-300.fc30.x86_64 #1 SMP Wed Jul 3 15:06:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/fedora-release Fedora ...
12 votes
1 answer
39k views
How to remove service from autostart?
By default, if my Linux is booted, some services like httpd, named start automatically. I want to start them manually, I want to remove them from autostartup. In the internet, it is said that it is ...
0 votes
1 answer
220 views
chkconfig modification dosen't takes effect
I use CentOS release 6.5 (Final) and I would like that wpa_supplicant service start after network service. When I go to /etc/rc5.d and I type ls command, I can see : K84wpa_supplicant -> ../init.d/...
3 votes
2 answers
1k views
What's the systemctl equivalent for a command like 'chkconfig --level 5 iptables on'
I know systemctl enable iptables is similar to the command chkconfig --level 5 iptables on, but both are not exactly same. Using systemctl, how do we restrict a service to be started only on a given ...
2 votes
1 answer
14k views
chkconfig equivalent - RHEL7
In the good old days you would use chkconfig to see if a service was enabled for a run level. E.g. chkconfig --list tgtd However, now you're supposed to use systemctl. But I can't get systemctl to ...
5 votes
1 answer
2k views
su cannot open session error when starting Oracle XE database
I have a RHEL 7.2 server with Oracle 11g Express Edition (11.2.0) installed. The installation of Oracle created a file named "oracle-xe" in /etc/init.d This is a bash script that can be used to ...
2 votes
1 answer
13k views
Init.d script not working on startup: Failed to start SYSV
The Keystone CMS system fails to run on startup. The problem is likely in this init.d startup script. I set the permissions, but something is still not right. $ sudo systemctl daemon-reload $ sudo ...
3 votes
2 answers
11k views
Invalid argument while starting Cloud9 service on startup
I am trying to automate running Cloud9, by setting it as a service on Debian. This error stops me: $ sudo service cloud9 start Failed to start cloud9.service: Unit cloud9.service failed to load: ...
2 votes
2 answers
5k views
Autorestart services after crash in rhel 6
How to implemented this without systemd (chkconfig, etc..)? I would like to restart PostgreSQL, Mongod and RabbitMQ.
-4 votes
1 answer
272 views
redhat 7 + systemctl verification
I have try this on redhat 7 systemctl list-unit-files --type=service|grep iptables or systemctl list-unit-files --type=service|grep firewall but not get any output - is this mean the iptables/...