A service is not starting after booting up.

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat A service is not starting after booting up.
# 1  
Old 09-08-2015
Tools A service is not starting after booting up.

I require a service named "X" to be started automatically every time we restart the Linux 6.2 machine.But it is not starting. I have included the service in Init.d folder by $chkconfig --add X.But the application is not starting automatically after every reboot.I need to invoke $service X start command to start the service.
How to troubleshoot this issue?
# 2  
Old 09-10-2015
What does
Code:
chkconfig --list X

say? The output should look like in this example:
Code:
# chkconfig --list X
X               0:off   1:off   2:on    3:on    4:on    5:on    6:off

But if it reads
Code:
 # chkconfig --list X
X               0:off   1:off   2:off   3:off   4:off   5:off   6:off

you have to activate the service with
Code:
# chkconfig X on

This User Gave Thanks to hergp For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Error when running starting server service

Hi I have installed using tar a program called rabbitmq, and when I try to start it according to documentation, I get the following error: /usr/local/sbin/rabbitmq_server-3.6.14/sbin# ./rabbitmq-server ./rabbitmq-server: .: local: not found ... (7 Replies)
Discussion started by: fretagi
7 Replies

2. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

3. Red Hat

Httpd service not starting... Error "Documentroot must be a directory"

I am working with CentOS 6.5. Indeed the document root /var/www/html is a directory and it is a mount point of one file system (not NFS) I observed, if I unmount that file system, I could able to start httpd. Is it restricted in CentOS 6.X that the Documentroot can not be a mount point? ... (5 Replies)
Discussion started by: atanubanerji
5 Replies

4. Solaris

Rpcbind service not starting

Hello all, I have read just about every rpcbind not starting thread and article on the internet it seems, but I have not found a solution to my problem as of yet. I have a solaris 10 server that has been running with no problems for a while. The other day it crashed and would not boot to the gui... (2 Replies)
Discussion started by: Madrox72
2 Replies

5. UNIX for Advanced & Expert Users

error starting named service in CentOS

Hi Guys, I am configuring DNS BIND server I am getting following error, can someone please help ...below is my complete /etc/named.caching-nameserver.conf file :- # service named restart Stopping named: Starting named: Error in named... (1 Reply)
Discussion started by: patibandlavinay
1 Replies

6. Solaris

Service not starting Solaris10

On one of our server inetd service has stuck in transition state , tried restarting it but it does not do any thing and there is no associated inetd process for the same , how can i start it .. w/o rebooting it svcs inetd STATE STIME FMRI online* 16:44:55... (3 Replies)
Discussion started by: fugitive
3 Replies

7. UNIX for Dummies Questions & Answers

Starting a service at startup.

Hi guys I want to start a service and a script SiteMonitor.sh at startup. To start with i have modified /etc/rc.local file. Here is the content of my /etc/rc.local file. #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own... (3 Replies)
Discussion started by: pinga123
3 Replies

8. Solaris

Smf managed service not starting

Hi Experts, While playing with smf in my local system ( which is not in production ) i am unable to restart the service svc:/network/nfs/server:default . I tried starting it in different way, however unable to restart the same. I was checking the dependency for that I disabled the... (11 Replies)
Discussion started by: kumarmani
11 Replies

9. AIX

Service starting Problem

Dear All, When i am start the service netd i am facing the problem 0513-015 The inetd Subsystem could not be started Please check subsystem resources and try again later. please suggest me. It is urgent (1 Reply)
Discussion started by: pernasivam
1 Replies

10. Linux

Requiste for starting service xinetd

hi... i am trying to find out the services which should be started before the service xinetd can be started. I have read thru the /etc/rc.d/init.d script and i think xinetd depends on service network as it checks whether the variable NETWORKING is set or not || exit 0 Does it... (0 Replies)
Discussion started by: tuxfood
0 Replies
Login or Register to Ask a Question