If you are unable to create a new account, please email support@bspsoftware.com

 

Cognos 8.4.1 Service not starting when ran as Windows Scheduled Job

Started by jay3010, 28 Mar 2014 01:51:09 PM

Previous topic - Next topic

jay3010

Hello All,
  For our application we are using Cognos 8.4.1 platform for reporting against a Mysql Data Source using Custom Java Authentication Provider
To prevent performance issues we are using a Windows Scheduled Task to stop the Cognos and Cognos Content Database service first and then with other Job to Start Cognos Content DB and then Cognos Service.

I see that on random occasions the schedule job for the Cognos Start Fails but the Cognos Content DB Service Starts fine.
We are using Derby as Cognos DB.

Below are the scripts used to stop and start services:
Stop script -
net stop "eBO"
timeout /T 60
TASKKILL /F /IM bibustkservermain.exe
TASKKILL /F /IM java.exe
TASKKILL /F /IM cogbootstrapservice.exe
net stop "eBO Cognos Content Database"

Start script - (Service eBO - relates to Cognos)
net start "eBO Cognos Content Database"
timeout /T 60
net start "eBO"

The stop script is modifed to make sure all processes are terminated correctly and there is a timeout added between both services.

Also I have attached the cogserver and other logs to help me analyze the issue

I have no clue over this as what could be causing the Cognos service to not start at times, as when we manually run the task it completes fine, eventviewer states the service stopped at scheduled time and then at time of start instead of starting it states cognos service stopped

Any help/suggestions would be really appreciated and please do let me know in case more information needed