Questions tagged [chkconfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
428 views

Oracle 19c on Oracle Linux 8, dbora start script ONLY starting when chkconfig sets it to level S99. Any other level like S98, fails to start on reboot

I'm running Oracle 19c on Oracle Linux 8, dbora start script ONLY starting when chkconfig sets it to level S99. Any other level like S98, fails to start on reboot. Regardless of the chkconfig level, ...
Ryfor's user avatar
  • 1
0 votes
1 answer
119 views

Creating a service on Centos 6 causes it to block on startup display

I'm trying to create a service on Centos 6, but it's executing on the startup console instead of in background, which means it never reaches the user interface - it just hangs on the startup display. ...
Jack BeNimble's user avatar
0 votes
0 answers
3k views

Apache / httpd not creating a PID file on boot

I installed Subversion Edge 5.2.2 which uses Apache on CentOS Linux release 7.2.1511. I installed it as a service which I can stop / start. The httpd.conf has entry PidFile "/opt/csvn-5.2.2/data/...
onknows's user avatar
  • 322
0 votes
1 answer
310 views

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 # # ...
mFeinstein's user avatar
1 vote
2 answers
813 views

iptables is on from chkconfig after installing/upgrade iptables rpm

Why after installing from scratch the iptables or upgrading the iptables Then iptables from chkconfig display on ? How to avoid chkconfig iptables on , after installling/upgradin iptables ? remark ...
King David's user avatar
1 vote
1 answer
721 views

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" (...
ricmarques's user avatar
  • 1,134
0 votes
0 answers
371 views

How to handle error: service xvfb does not support chkconfig?

When I followed the installation instructions below to install xvfb, I get the following error: service xvfb does not support chkconfig Installation Instructions Install Xvfb (via the RHEL ...
Chris Hansen's user avatar
-1 votes
3 answers
3k views

Restarting Service w/ `chkconfig`?

After running: sudo chkconfig --add X sudo chkconfig X on I ran chkconfig --list X: $ chkconfig --list X X 0:off 1:off 2:on 3:on 4:on 5:on 6:off My understanding is that, ...
Kevin Meredith's user avatar
0 votes
0 answers
312 views

Using chkconfig to implement auto-start on RHEL7? [duplicate]

I'm moving an in-house application from RHEL6 to RHEL7 servers. I read you should still be able to use chkconfig and service commands to install start/stop scripts, even if they have now changed to ...
Rop's user avatar
  • 151
0 votes
0 answers
78 views

Strange chkconfig behaviour on Debian for samba service

The service "samba" is not starting at boot on this standard Debian 7.7 installation while it should. Based on the chkconfig man page, I did this, but it still doesn't start at boot : chkconfig ...
db_ch's user avatar
  • 648
1 vote
0 answers
453 views

/dev/console terminal for startup service on Centos 7

I am working on a system running Centos 7 and I'm pretty new to Linux in general. I have a task to re-implement some startup services that was supported automatically by 3rd party tool in our previous ...
Duc Nguyen's user avatar
0 votes
0 answers
96 views

systemd doesn't honour chkconfig KILL order

I have a init script which has to start and stop both firstly during system reboot. I was able to achieve this by having a appropriate chkConfig START and KILL order. Sometimeback only, I have ...
user3872776's user avatar
1 vote
2 answers
4k views

Redis fails to start on OpenSuse Leap 42.1 after upgrade

I decided to upgrade a machine running 13.2 to the latest Leap 42.1. I started the process and it did the upgrade. After the reboot everything is working except for the redis server service. I can't ...
tftd's user avatar
  • 1,508
0 votes
1 answer
235 views

I have two Mysql servers running on Centos7 . both using different ports. have to manually boot on start.

I need help . mysql on port 3306 and mysql2 on port 3307. I copied my.cnf to my2.cnf I added the following in my2.cnf: datadir=/var/lib/mysql2 port=3307 cp /etc/init.d/mysql /etc/init.d/mysql2 ...
Lolu911's user avatar
  • 11
2 votes
1 answer
85 views

chkconfig shows off in all levels but it running

In my CentOS6 machine, chkconfig shows about httpd as below, but running automatically whenever reboot the system. httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off What can I ...
Youngjae's user avatar
  • 123
2 votes
2 answers
2k views

Where's sshd in OpenSuse 13.2?

After I installed OpenSuse 13.2 I discovered that even if the ssh connection to the box were successful I could not find the running service as I did before (with chkconfig command) Why? My last ...
Alex's user avatar
  • 119
1 vote
1 answer
211 views

My Linux VM wont start due to wrong chkconfig startup priorities set on oracle db and weblogic

I have setup startup scripts for Oracle database 11gR2 and WebLogic 10.3.6 with below chkconfig values but WebLogic tried to start first instead of Oracle database. My application is dependent of ...
cbrdy's user avatar
  • 211
3 votes
2 answers
3k views

Logstash Forwarder doesn't start up with chkconfig in CentOS 5

I have set up logstash-forwarder on a CentOS 5 machine installing it from this RPM: http://download.elasticsearch.org/logstash-forwarder/packages/logstash-forwarder-0.3.1-1.x86_64.rpm When I went ...
Rumbles's user avatar
  • 994
0 votes
1 answer
518 views

Is Nginx running at all runlevels bad?

I inherited some EC2 (running AMI) instances at my new job and I am trying to figure out the method that my predecessor used to set them up. This might be a really basic question, but my knowledge of ...
Rob's user avatar
  • 185
6 votes
3 answers
16k views

Service is not starting on Centos on boot

I have a service installed to start jasper reporting server on boot. I believe it is correctly setup. here is the startup script placed in /etc/init.d/jasperserver #!/bin/sh ### BEGIN INIT INFO # ...
silverdagger's user avatar
1 vote
1 answer
1k views

puppet service not stopping service (iptables)

I am trying to use a puppet master 3.1.1 to manage iptables on various servers. My local puppet agent is 2.7.19, the server OS is CentOS 5.4. /etc/puppet/modules/mycompany/manifests/config/iptables....
Shanedroid's user avatar
1 vote
1 answer
3k views

mysql 5.6 doesn't start automatically on redhat 6.4 server start-up but do start when manually run “service mysql start”

I'm trying without success to set mysql to start automatically (mysql 5.6 on RHEL6.4) When I run "service --status-all" after server (redhat) restart it always shows "MySQL is not running, but lock ...
Gidi Kern's user avatar
1 vote
1 answer
4k views

Recommended way to disable atd (and other unnecessary startup processes) in Ubuntu 14.04 LTS?

I just spun up a new Ubuntu 14.04 server and have been having a bit of trouble getting the atd daemon to stop auto-launching. There's been a bit of changing around on the management of startup ...
rholmes's user avatar
  • 256
0 votes
2 answers
97 views

This script won't execute on startup, ideas?

The distribution is RHEL 5. The script has been added to chkconfig like so: # chkconfig --add script # chkconfig script on But it refuses to start when taking up the machine, what could be the ...
davidl's user avatar
  • 3
3 votes
3 answers
10k views

chkconfig on for arbitrary path program

Noramlly to add a start up program one have something like chkconfig httpd on however how can I do this for a program that I need to start like /usr/local/program/sbin/program ? I tried ...
user2643506's user avatar
5 votes
3 answers
3k views

Chkconfig-- what are the 0-6 in chkconfig result?

what are the 0-6 in chkconfig result ? Example chkconfig --list|grep iptables iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
user1812956's user avatar
1 vote
3 answers
8k views

chkconfig not automatically starting mysql

I have mysql set in chkconfig to automatically start when the system reboots: root@myserver:~#chkconfig mysql mysql on However, this does not seem to be the case. When the system reboots, I get the ...
EGr's user avatar
  • 609
5 votes
3 answers
5k views

chkconfig equivalent for upstart jobs on CentOS6

On RHEL6/CentOS6 what is the upstart way to: chkconfig add my-svc chkconfig my-svc on Explanation: I have written an /etc/init/xvc0.conf job. I can do start xvc0 on the CLI, but after reboot ...
Alien Life Form's user avatar
2 votes
2 answers
4k views

EC2 - Want to mount before service starts

I am using AWS EC2, and I have added an extra EBS volume. It is currently mounted as a new device. MySQL & Redis DB stores their data on the new EBS volume, and they are registered in the ...
ashiina's user avatar
  • 145
-1 votes
1 answer
697 views

chkconfig vs /etc/inittab

I had a look at what chkconfig and /etc/inittab - from what I could see both does the same something. If I am wrong, what is the different and which one I should use for specific requirement?
I'll-Be-Back's user avatar
0 votes
2 answers
2k views

Startup services are not getting started in CENTOS

I deployed my project on a Shared Hosting that has Root access the Server in picture is CENTOS now although I have defined the service to start on boot it not getting started chkconfig --level 35 ...
Viren's user avatar
  • 171
0 votes
1 answer
1k views

Automatically remove instance from ELB on server stop

How to automatically remove an instance from its LoadBalance (ELB) when you stop the instance? I've tried to create a shutdown script and put it on chkconfig, but it is not working: #!/bin/bash # ...
Daniel Cukier's user avatar
3 votes
1 answer
2k views

error in config DHCP on centos6

I was trying to configure DHCP on centos 6.my eth0 configuration is: [centos@localhost ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" BOOTPROTO="dhcp" HWADDR="00:0C:29:AE:62:BC" ...
sahar's user avatar
  • 23
4 votes
1 answer
2k views

chkconfig creating service symlinks with the wrong order

On RHEL 6.3, I have a system service that should be starting after postgresql and httpd (order 64 and 85, respectively), but chkconfig always places it at order 50. I tried an experiment on a CentOS 6....
Robert's user avatar
  • 41
0 votes
1 answer
1k views

Why daemon does not run

My daemon used to run under 10.04, but no longer starts automatically on 12.04. If I start it manually /etc/init.d/sqlexecd start, it works. Here is the output of uname -a Linux steamboy 3.2.0-30-...
octopusgrabbus's user avatar
2 votes
2 answers
177 views

Determine which apps run on startup

I have a CentOS 6 32bit VPS and I'd like to determine, How do I know which apps automatically run on startup? EDIT: I have tried chkconfig --list but I don't understand what these lines meant: [root@...
Jürgen Paul's user avatar
  • 1,275
1 vote
1 answer
552 views

randomly occupied AJP port on server restart

I have 9 tomcat instances (fronted with apache and mod_jk) on a box which start with /etc/init.d/tomcatX scripts (where X is a [1-9] number). These scripts are simple: #!/bin/sh ### BEGIN INIT INFO # ...
cherouvim's user avatar
  • 804
5 votes
3 answers
3k views

What's the difference between chkconfig on vs chkconfig --add?

Whats the difference between using chkconfig on and using chkconfig --add?
DD.'s user avatar
  • 3,114
3 votes
3 answers
3k views

CentOS: Init scripts failing to start for some unknown reason

I'm running CentOS 6.2 - I've just migrated some applications over to a failover server, and copied their init scripts into /etc/init.d. I've made them executable, added them to chkconfig, with ...
user705142's user avatar
1 vote
3 answers
51 views

When you add a new node to a cluster, what do you do to the default services?

Everytime I acquire a new server or reload an existing server (CentOS 6.X) I have to decide what services to leave running in chkconfig. It seems the datacenter staff aren't using a single edition of ...
Tom's user avatar
  • 731
1 vote
1 answer
508 views

chkconfig $svc reset does not take effect if executed by higher pri init.d service at boot?

On a centos 6 derivative (Amazon Linux), I have an init.d script ecrinit that is meant to enable/disable some services at system startup (based on contents of a properties file on disk): if [[ "$...
Nikita's user avatar
  • 125
18 votes
1 answer
18k views

Explanation of chkconfig Levels

What do the levels in chkconfig mean? e.g. chkconfig --levels 235 httpd on
DD.'s user avatar
  • 3,114
4 votes
1 answer
20k views

chkconfig not starting application script on bootup

OS: Centos 5.7 My application script starts like this (/etc/init.d/myapp): #!/bin/sh # chkconfig 2345 85 60 # description: my application controller # processname: myapp NAME=MyApp DIR=/opt/myapp/ ...
gAMBOOKa's user avatar
  • 999
1 vote
1 answer
782 views

Is there an issue with working directory when using service to launch an init script?

I am curious, is there something I need to watch out for when spawning process as background jobs from init scripts using service? Here is the line that works at terminal, in a bash script/an init ...
brandeded's user avatar
  • 1,860
0 votes
1 answer
177 views

Error while setting a run level for a service on ubuntu 10.04

I had stopped openvpn from loading at boot by doing this: sudo chkconfig openvpn off Now I want it to load at boot up. So I did this: sudo chkconfig openvpn on But it fails and the error I get ...
nixnotwin's user avatar
  • 1,543
1 vote
1 answer
98 views

Subtle difference in chkconfig entry

I'm not able to try this out on one of our machines, so I'm asking here instead! Why does the following chkconfig entry in an init script work: # chkconfig: - 95 05 whereas the following doesn't: #...
Rich's user avatar
  • 1,343
0 votes
1 answer
245 views

`# probe: true` in /etc/rc.d/init.d/* files on a RedHat system

Some files (e.g. nfs, nfslock, bind) in my /etc/rc.d/init.d/ directory have in their comment header a line such as: # probe: true I found that those particular scripts has the probe verb i.e.: ...
Chen Levy's user avatar
  • 283
1 vote
1 answer
649 views

Starting services with parameters on Fedora

I recently installed memcached and I want it to run by default on my Fedora LAMP server (Amazon EC2 Instance) I've set it up in my init script doing the following: chkconfig --level 4 memcached on ...
andybaird's user avatar
  • 175
7 votes
5 answers
3k views

Services to disable on a newly installed CentOS 5.3 machine?

I've recently installed a CentOS 5.3 machine which I'm locking down for server usage in a headless environment (no GUI will be used on the machine). The server will be used as a combined web- and ...
knorv's user avatar
  • 1,799
38 votes
4 answers
77k views

What is needed for a linux service to be supported by chkconfig?

I am trying to add to the auto start at boottime a linux service through the chkconfig -add <servicename> and I get a message saying service <servicename> does not support chkconfig ...
Geo's user avatar
  • 3,071