COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: msooria on 06 Jun 2011 09:21:12 AM

Title: Cognos service does not start
Post by: msooria on 06 Jun 2011 09:21:12 AM
[ ERROR ] CFG-ERR-0106 IBM Cognos Configuration did not receive a response from the IBM Cognos 8 service in the time allotted. Check that IBM Cognos 8 service is available and properly configured.

need help in understanding the problem and resolution; thanks.

I checked the cbs_isrunning.log and it has the following message; which makes me believe it is running. But in such case I shouldn't have received the above error in configuration, correct?
===========
Mon Jun 06 14:17:20 2011  INFO  t[1d4] CBSNTService Testing if service "IBM Cognos 8" is running.
Mon Jun 06 14:17:20 2011  INFO  t[1d4] CBSNTService Service "IBM Cognos 8" is running.
===========

I checked the cbsrun.log file and it has following error logged many times in the same file;
===========
Mon Jun 06 14:05:33 2011  INFO  t[ed0] CBSBootstrapService attempt to load config from "./bootstrap_win32.xml"
Mon Jun 06 14:05:33 2011  ERROR t[ed0] CBSSpawnAction spawn failed, errno: 3
Mon Jun 06 14:05:33 2011  ERROR t[ed0] CBSSpawnAction Spawning child process:
Path: C:\Program Files\Java\jre6\bin/bin/java.exe
Parameters:
   "C:\Program Files\Java\jre6\bin/bin/java.exe"
   -Xrs
   -Xmx768m
   "-cp"
   "../tomcat4.1.27/bin/bootstrap.jar;C:\Program Files\Java\jre6\bin/lib/tools.jar"
   "-Dcatalina.base=../tomcat4.1.27"
   "-Dcatalina.home=../tomcat4.1.27"
   "-Djava.io.tmpdir=../bin\../temp"
   "-Djava.endorsed.dirs=C:\Program Files\Java\jre6\bin/lib/endorsed;../tomcat4.1.27/common/endorsed"
   org.apache.catalina.startup.Bootstrap
   start
===========

I checked the cbsstart.log file and it has the following log;
===========
Mon Jun 06 14:05:33 2011  INFO  t[5dc] CBSNTService Attempt to starting service "IBM Cognos 8"
Mon Jun 06 14:05:33 2011  INFO  t[5dc] CBSNTService Starting service "IBM Cognos 8"
Mon Jun 06 14:05:33 2011  INFO  t[5dc] CBSNTService Waiting for service to start...
Mon Jun 06 14:10:38 2011  INFO  t[5dc] CBSNTService Started service "IBM Cognos 8"

Mon Jun 06 14:10:38 2011  INFO  t[5dc] CBSBootstrapService attempt to load config from "C:\Program Files\cognos\c8\./bin\./bootstrap_win32.xml"
Mon Jun 06 14:10:39 2011  ERROR t[5dc] CBSSocketCommand failed to connect, CAM error: <errorDetail><errorCode>-12</errorCode><errorMessage>CAM-CRP-0026 The underlying socket: '10.11.12.43:9300' returned an error.</errorMessage><errorStack><errorCode>10061</errorCode><errorMessage>Could not connect the socket, errno: 0x274d(10061)</errorMessage></errorStack></errorDetail>
Mon Jun 06 14:10:41 2011  ERROR t[5dc] CBSSocketCommand failed to connect, CAM error: <errorDetail><errorCode>-12</errorCode><errorMessage>CAM-CRP-0026 The underlying socket: '10.11.12.43:9300' returned an error.</errorMessage><errorStack><errorCode>10061</errorCode><errorMessage>Could not connect the socket, errno: 0x274d(10061)</errorMessage></errorStack></errorDetail>
Mon Jun 06 14:10:43 2011  ERROR t[5dc] CBSSocketCommand failed to connect, CAM error: <errorDetail><errorCode>-12</errorCode><errorMessage>CAM-CRP-0026 The underlying socket: '10.11.12.43:9300' returned an error.</errorMessage><errorStack><errorCode>10061</errorCode><errorMessage>Could not connect the socket, errno: 0x274d(10061)</errorMessage></errorStack></errorDetail>
Mon Jun 06 14:10:44 2011  INFO  t[5dc] CBSBootstrapService testReadyByPingingWin - child processes are not ready, stop trying.
===========
Title: Re: Cognos service does not start
Post by: AussiePete2011 on 06 Jun 2011 05:00:16 PM
Hi there

Did someone edit the bootstrap xml file?  If this file is edited and saved incorrectly, it will you no end of grief.  If you have a backup of the file restore it and re-attempt a start of the services.

Also check to confirm that you dont have stray BiBus processes
change the C8 service to manual and reboot.  This should clear up any resources on the server and reset ports etc.
Attempt to start the c8 services

Cheers
Peter B
Title: Re: Cognos service does not start
Post by: RobsWalker68 on 06 Jun 2011 05:17:51 PM
Hi,

The error can relate to a number of different issues such as cryptographic key issues, ipv4 ip issues, memory etc.

I would suggest having a look at the IBM knowledge base using the link below and working through some of the solutions to see if they fit your issue

http://www.ibm.com/search/csass/search?q=CFG-ERR-0106%20&sn=spe&lang=en&lo=&co=&filter=collection:stgsysx,dblue,ic,pubs,devrel1%20language:en&prod=K029277E81288R69

Kind Regards

Rob

Title: Re: Cognos service does not start
Post by: msooria on 08 Jun 2011 08:24:14 AM
thanks to AussiePete2011 & RobsWalker68 for your responses. i actually logged a ticket with IBM on it and they helped me start the service by following the steps below;

1. Remove java_home from both user and system environment variables,

2. reboot the machine

3. ensure that the Cognos service is setup to start 'Manual' and not 'Automatic'

4. make sure that Cognos service is not running

5. navigate to c:\program files\cognos\c8\configuration, locate cogstartup.xml, rename it (for ex. to cogstartup_old.xml)

6. place your exported cognos configuration file into configuration folder, rename to cogstartup.xml

7. then regenerate crypto keys:

- Rename the three keystore directories under the <cognos install>/configuration folder - csk, encryptkeypair, signkeypair to csk_orig, encryptkeypair_orig etc...

- Rename the <cognos install>/temp/cam/freshness file (if this exists).

- Rename the <cognos install>/configuration/caserial file (if it exists).

- Launch and save Cognos Configuration.

(The above will generate a new set of keystores such as csk, encryptkeypair,signkeypair, caserial and freshness)

8. Start the service.

This worked, but still having some issues with starting the cognos connection portal and framework manager... awaiting IBM response.

thanks