Questions tagged [chkconfig]

50 questions
2
votes
2 answers

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 chkconfig. Therefore, I need the volume to be mounted…
ashiina
  • 145
  • 2
  • 5
2
votes
2 answers

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@server2 ~]# chkconfig --list dropbox 0:off…
Jürgen Paul
  • 1,265
  • 4
  • 15
  • 22
1
vote
2 answers

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 we want to avoid to perform chkconfig iptables off…
King David
  • 549
  • 6
  • 20
1
vote
1 answer

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" (uppercase S) and one line has a "B" (uppercase B).…
ricmarques
  • 1,124
  • 1
  • 13
  • 23
1
vote
1 answer

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 However, I have a bunch of parameters I'd like to…
andybaird
  • 175
  • 1
  • 2
  • 7
1
vote
0 answers

/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 system which runs on Centos 6.6 In our old…
Duc Nguyen
  • 11
  • 1
1
vote
2 answers

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 start the redis service using: # service redis…
tftd
  • 1,498
  • 7
  • 25
  • 40
1
vote
1 answer

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 database to be up and due to the reason that database…
cbrdy
  • 211
  • 2
  • 7
1
vote
1 answer

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.pp class base::iptables ( { { …
Shanedroid
  • 21
  • 6
1
vote
1 answer

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 file /var/lock/subsys/mysqld[FAILED] If I will run…
Gidi Kern
  • 11
  • 1
  • 4
1
vote
1 answer

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 processes, and I've viewed dozens of web pages on…
rholmes
  • 256
  • 2
  • 10
1
vote
3 answers

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 following error on my PHP pages: SQLSTATE[HY000]…
EGr
  • 609
  • 4
  • 14
  • 29
1
vote
1 answer

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 # Required-Start: mysql ### END INIT INFO case…
cherouvim
  • 794
  • 3
  • 21
  • 37
1
vote
3 answers

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 CentOS and sometimes the default services running…
Tom
  • 731
  • 3
  • 11
  • 24
1
vote
1 answer

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 [[ "$nodeType" == "foo" ]]; then #turn off mysql, turn on…
Nikita
  • 125
  • 1
  • 4