Questions tagged [chkconfig]

49 questions
38
votes
4 answers

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 and I get a message saying service does not support chkconfig I am using Red Hat Enterprise 4. The script I am trying to…
Geo
  • 3,061
  • 11
  • 41
  • 52
18
votes
1 answer

Explanation of chkconfig Levels

What do the levels in chkconfig mean? e.g. chkconfig --levels 235 httpd on
DD.
  • 3,024
  • 10
  • 34
  • 50
7
votes
5 answers

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 database server. I've disabled xfs and portmap since…
knorv
  • 1,789
  • 6
  • 19
  • 29
6
votes
3 answers

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 # Provides: jasperserver # Required-Start: #…
silverdagger
  • 154
  • 1
  • 1
  • 8
5
votes
3 answers

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 initctl list gives me ... xvc0 stop/waiting ... So…
Alien Life Form
  • 2,279
  • 2
  • 21
  • 31
5
votes
3 answers

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

Whats the difference between using chkconfig on and using chkconfig --add?
DD.
  • 3,024
  • 10
  • 34
  • 50
4
votes
3 answers

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
  • 75
  • 1
  • 3
  • 10
4
votes
1 answer

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.0 virtual machine to make sure I understood the…
Robert
  • 41
  • 3
4
votes
1 answer

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/ RUN_AS=root ### BEGIN INIT INFO # Provides: …
gAMBOOKa
  • 979
  • 6
  • 18
  • 33
3
votes
2 answers

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 through the process I found the init script provided…
Rumbles
  • 915
  • 1
  • 12
  • 27
3
votes
3 answers

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 chkconfig /usr/local/program/sbin/program on but it…
user2643506
  • 151
  • 1
  • 3
3
votes
1 answer

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" MTU="1500"…
sahar
  • 23
  • 4
3
votes
3 answers

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 chkconfig -add, set their levels, made sure they're…
user705142
  • 433
  • 6
  • 16
2
votes
1 answer

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 check more to know which init logic make it? Note…
Youngjae
  • 123
  • 4
2
votes
2 answers

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 familiar Suse release was 11.4
Alex
  • 119
  • 5
1
2 3 4