COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: pkrishnaq on 20 Sep 2011 09:13:32 AM

Title: Cognos 10 hanging up at 'Starting service IBM Cognos'
Post by: pkrishnaq on 20 Sep 2011 09:13:32 AM
Hello,
I just installed Cognos 10 and it keeps hanging up when I try starting up the services via cognos configuration.

It is hanging up for a long time at 'Starting service IBM Cognos'
CFG-ERR-0106 Error When Starting the IBM Cognos service in IBM Cognos Configuration


Based on the Cognos KnowledgeBase for this error, I tried increasing the ServiceWaitInterval and ServiceMaxTries properties. But all in vain.
Anyone encountered a similar issue ? Please share your thoughts.

Thanks!
Title: Re: Cognos 10 hanging up at 'Starting service IBM Cognos'
Post by: ducthcogtechie on 20 Sep 2011 09:29:14 AM
Did you test the connection to the content store in Cognos configuration, before starting the service?
C10 requires quite some exta memory, with the new extra java based query engine; do you have enough available for the java stacks to allocate that memory block from the OS?

Any additional info on the start attempt in the cogserver.log?

Title: Re: Cognos 10 hanging up at 'Starting service IBM Cognos'
Post by: pkrishnaq on 20 Sep 2011 10:02:02 AM
Hi,
Yes, I have the IBM content store set up and tested it too. It looks good.

The machine is currently 2GB and is dedicated for Cognos. I also have 3.5 GB of hard disk space available.

My cogserver.log file has not been created.Thanks for the response.
Could it be that my hard disk space is not sufficient? I have a similar machine and that has Cognos 10 running though.

Title: Re: Cognos 10 hanging up at 'Starting service IBM Cognos'
Post by: smiley on 20 Sep 2011 03:52:00 PM
Cogserver.log only get's created if java is up and running.
If the only proces you see is the cogbootstrap, it means the Cogos logic is having trouble finding (the right) java.exe.
If a clean machine, check system variables for a java_home, remove it and try again.
Cognos should find it's own java that comes with the install on it's own.
Title: Re: Cognos 10 hanging up at 'Starting service IBM Cognos'
Post by: Suraj on 21 Sep 2011 11:11:59 AM
Check cbs_run log file.
This log file has information before the Cognos services start.
For example, it'll have errors such as:
ERROR t[f64] PingChildProcess ping loop: process "catalina" is not active, so restarting it.
ERROR t[f64] CBSSpawnAction spawn failed, errno: 3
Title: Re: Cognos 10 hanging up at 'Starting service IBM Cognos'
Post by: rgauf on 16 Jun 2012 02:46:21 AM
Same problem, install on Windows7, but I can't remove Java_Home.  I need it for other tools while using Cognos.

Finally resolved issue.
- ensured that JAVA_HOME setting was a directory path with no spaces in it
- ensured that <Cognos Install> was a directory path with no spaces in it
-- The Tomcat (catalina) invocation includes the <Cognos Install>\bin\jre\6.0 folder in it (for endorsed libraries)

- To fix the Java_Home problem I tried adjusting various scripts and preference files to no avail. II looked at all the files that included the Java_Home variable or its contents, in
-- <Cognos Install>\bin  and \configuration  and \tomcat
-- registry entries
- no matter what, the catalina startup kept using the old Java_Home

Finally gave up, moved my JDK and set JAVA_HOME to a space-less path, updated System Path variable
- Then de-installed Cognos
- Re-installed, making sure to provide space-less path names for all prompted info
- Re-filled in Config info, and the Tomcat server started up cleanly
- looking at log files, it is indeed using the new path

urgh
Title: Re: Cognos 10 hanging up at 'Starting service IBM Cognos'
Post by: CognosPaul on 17 Jun 2012 09:35:45 AM
You can explicitly tell Cognos to use the local java.

Open command prompt, browse to the bin directory, and use cogconfig.bat -java:local