Application services not starting with server reboot


 
Thread Tools Search this Thread
Operating Systems Linux Application services not starting with server reboot
Prev   Next
# 1  
Old 10-25-2016
Application services not starting with server reboot

Hi All,
My application uses three different sub-services to make complete application up and running to normal.
The entry of all the three services are present in /etc/init.d directory with proper softlink created to application home path where it actually exists.
In one rare case one of the service was not starting after server reboot. I removed and created softlink again but it dint helped, though if I ran it from application path (service command location) it works fine .
OS is Linux kernel 3.16.0-69-generic (Ubuntu 14.04). I didn't ever worked on Ubuntu so I don't know if chkconfig works on Ubuntu and how to clear the stale files before the services are started while booting in Ubuntu.
OS boot log and applcation wrapper log doesn't show helpful information.

Kindly requesting to guide/explain concept(application service startup procedure) and possible resolution for this issue .

Thanks in advance,
hari
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Lot of services in non-global zones, in uninitialized after reboot

Hello, This is Solaris-10 server, running with 4 non-global zones. This server was hung today and I had to reboot it forcefully from console. Then root file-system was not clean and I had to run fsck from failsafe mode. After it came back in run-level-3, lot of services are showing in... (3 Replies)
Discussion started by: solaris_1977
3 Replies

2. Shell Programming and Scripting

Help with restarting of application with reboot of AIX server

Hi, We have hosted our application on AIX server. The problem is that we have to start our application manually once the server is rebooted. Please guide me in writing a script that does this job automatically with the re-start of the server. I'm looking for something like windows services in... (2 Replies)
Discussion started by: himanshu397
2 Replies

3. AIX

xntpd starts after reboot only when HACMP services are started ?

Hello, Running AIX 6.1, AIX machine is HACMP node. Recently I set up ntp service. Started xntpd by hand - everythig is OK. Configured xntpd to start after reboot and rebooted the machine. After reboot checked xntpd: # lssrc -a|grep ntp xntpd tcpip ... (5 Replies)
Discussion started by: vilius
5 Replies

4. UNIX for Dummies Questions & Answers

Starting daemons at reboot.

I rebooted my server (solaris 5.8) and I had to manually start the cron and mailx daemons. How do I get these to automatically start at reboot? Thanks in advance. (2 Replies)
Discussion started by: shorty
2 Replies

5. HP-UX

Services persistant across reboot

Hi All, I need to run a daemon which should start automatically during reboot. which all files i need to alter/modify ? /etc/inittab ? Thanks, Amit (1 Reply)
Discussion started by: amit4g
1 Replies

6. AIX

services persistant across reboot

Hi, I am nerw to AIX. how can i make certain services to be persistant across reboot,similar to "chkconfig" in linux. Thanks, amit (2 Replies)
Discussion started by: amit4g
2 Replies

7. HP-UX

The server is not starting all services

Hi everybody When I Boot/restart my HP-UX server when it reaches the step described below doesn't go through. When I kick a key in the console it show me the login prompt and a can log on but I cannot access the server from the network, I can only do it via LAN console. Please, can you help... (3 Replies)
Discussion started by: cgege
3 Replies

8. Solaris

starting Oracle on Reboot

Hi All, I have to maunally startup oracle and the associated listeners whenever the Sun Solaris server is rebooted. Is there any way by which, everytime the server boots up, The Oracle startups itself. Do we need to change the init.ora file or the init.d file? Please let me know which files... (1 Reply)
Discussion started by: rahulrathod
1 Replies

9. IP Networking

stopping and starting network services

Solaris v5.6 how do you stop and start the network services? (4 Replies)
Discussion started by: Westy564
4 Replies
Login or Register to Ask a Question
starting(7)						 Miscellaneous Information Manual					       starting(7)

NAME
       starting - event signalling that a job is starting

SYNOPSIS
       starting JOB=JOB INSTANCE=INSTANCE [ENV]...

DESCRIPTION
       The  starting  event is generated by the Upstart init(8) daemon when a new instance of a job begins starting.  The JOB environment variable
       contains the job name, and the INSTANCE environment variable contains the instance name which will be empty for single-instance jobs.

       init(8) will wait for all services started by this event to be running, all tasks started by this event	to  have  finished  and  all  jobs
       stopped by this event to be stopped before allowing the job to continue starting.

       This allows jobs to effectively insert themselves as dependencies of other jobs.  The event is typically combined with the stopped(7) event
       by services.

       Job configuration files may use the export stanza to export environment variables from their own environment into the starting event.   See
       init(5) for more details.

EXAMPLE
       A service that wishes to be running whenever another service would be running, started before and stopped after it, might use:

	      start on starting apache
	      stop on stopped apache

       A task that must be run before another task or service is started might use:

	      start on starting postgresql

SEE ALSO
       started(7) stopping(7) stopped(7) init(5)

Upstart 							    2009-07-09							       starting(7)