The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
240 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 ...
0
votes
1answer
41 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 ...
3
votes
3answers
877 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 # ...
1
vote
1answer
229 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. ...
0
votes
1answer
301 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 ...
0
votes
1answer
2k 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 ...
0
votes
2answers
68 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
440 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
220 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
336 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 ...
5
votes
3answers
1k 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 ...
2
votes
2answers
1k 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
336 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
921 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
231 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
674 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
858 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
609 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
122 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
244 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 # ...
4
votes
3answers
628 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
1k 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
41 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
307 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 [[ ...
6
votes
1answer
2k views

Explanation of chkconfig Levels

What do the levels in chkconfig mean? e.g. chkconfig --levels 235 httpd on
3
votes
1answer
3k 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
304 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
81 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
161 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
59 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
153 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
338 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 ...
7
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 ...
11
votes
2answers
7k 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 ...