The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
34 views

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

I just spun up a new 12.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 processes, and ...
0
votes
2answers
58 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 ...
0
votes
3answers
89 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 ...
2
votes
3answers
139 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
0
votes
3answers
99 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 ...
4
votes
3answers
654 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 ...
1
vote
2answers
591 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 ...
-2
votes
1answer
258 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?
0
votes
2answers
497 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 ...
0
votes
1answer
134 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 # ...
3
votes
1answer
460 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" ...
4
votes
1answer
496 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 ...
0
votes
1answer
479 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 ...
2
votes
2answers
112 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: ...
1
vote
1answer
185 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 # ...
2
votes
3answers
406 views

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

Whats the difference between using chkconfig on and using chkconfig --add?
3
votes
3answers
597 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 ...
1
vote
3answers
40 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 ...
1
vote
1answer
272 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 [[ ...
5
votes
1answer
1k views

Explanation of chkconfig Levels

What do the levels in chkconfig mean? e.g. chkconfig --levels 235 httpd on
2
votes
1answer
2k 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/ ...
1
vote
1answer
271 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 ...
1
vote
1answer
66 views

Creating a Service on Cent OS / Parallels Power Panel [System Services]

I'm having a problem, I can start up the service by hand easily check out this screenshot No repu Those S80policyserver and S80chatserver are the symbolic links. I don't know what those S80's ...
0
votes
1answer
152 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 ...
1
vote
1answer
51 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: ...
0
votes
1answer
141 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.: ...
0
votes
1answer
294 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 ...
5
votes
5answers
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 ...
9
votes
2answers
4k 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 ...