Guest
Welcome login


TIBCOmmunity > Products > Messaging > Enterprise Message Service > Conversations
Home   Members Communities
Conversations () Resources () Blogs ()

Enterprise Message Service

Up to Conversations in Enterprise Message Service

This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)

Unable to start EMS

Created on: Feb 8, 2010 8:40 AM

Hi all

 

I was trying to start EMS, im very new to TIBCO EMS.

Faced a problem in starting EMS.

 

======================================================

TIBCO Enterprise Message Service.
Copyright 2003-2009 by TIBCO Software Inc.
All rights reserved.

Version 5.1.4 V5 11/14/2009

2010-02-08 07:21:24.231 Process started from './tibemsd'.
2010-02-08 07:21:24.231 Process Id: 639048
2010-02-08 07:21:24.231 Hostname: vcsax022
2010-02-08 07:21:24.232 Hostname IP address: 10.209.60.54
2010-02-08 07:21:24.232 Detected IP interface: 10.209.60.54 (en0)
2010-02-08 07:21:24.232 Detected IP interface: 10.209.60.225 (en0)
2010-02-08 07:21:24.232 Detected IP interface: 127.0.0.1 (lo0)
2010-02-08 07:21:24.233 Reading configuration from '/tibco/cfgmgmt/ems/data/tibemsd.conf'.
2010-02-08 07:21:24.536 FATAL: failed to open log file '/tibco/cfgmgmt/ems/data/datastore/logfile'.
2010-02-08 07:21:24.544 FATAL: Exception in startup, exiting.

======================================================

 

Machine Details

AIX

EMS : 5.1

 

In guide found it might be because of some file access problems, but in this case im able to able to read/write logfile.

 

Can anyone help me..

Click to view Yeshodhan Kulkarni's profile Dabbler 166 posts since
May 21, 2009
1. Feb 8, 2010 9:32 PM in response to: Manoranjan Reddy
Re: Unable to start EMS

Some other process has acquired a lock on the file and the EMS server is trying to gain access to the file when the lock hasn't been released by the earlier process.

 

Its quite possible that the same log file is configured within multiple EMS servers you may have configured on the server.

 

Regards ~ Yeshodhan Kulkarni

 

 

Click to view Yeshodhan Kulkarni's profile Dabbler 166 posts since
May 21, 2009
3. Feb 11, 2010 6:34 AM in response to: Manoranjan Reddy
Re: Unable to start EMS

Could you try flock -u ../datastore/async-msgs.db and flock -u ../datastore/sync-msgs.db?

 

This should release all the locks on the file. If this doesn't work perhaps you could consider a machine restart, but off-course this depends upon your environment if you could afford downtime.

 

You could also take some advice from some linux guru.

 

Regards ~ Yeshodhan Kulkarni

Click to view Konstantin Kersch's profile Dabbler 4 posts since
Oct 24, 2008
5. Feb 19, 2010 1:22 AM in response to: Manoranjan Reddy
Re: Unable to start EMS

Hi Manoranjan,

 

on unix-platforms you have filemasks on the created datastore-files and logfiles. Please check this at first.

The first user who starts ems get this files writeable. My datastore-files have 644 (rw-r--r--) and belongs to non-root user.

Therefore the root-user fail with starting EMS, because tibemsd wants to open these files and have the writeable right.

 

Regards

Konstantin

Click to view srini2008's profile Dabbler 15 posts since
Sep 30, 2008
6. Mar 17, 2010 1:11 AM in response to: Manoranjan Reddy
Re: Unable to start EMS

Hi,

I am getting the similar error and none of the ems services running , Can anyone shed a light,

Thanks in Advance.

 

 

2010-03-17 02:05:54.571 Process started from '/opt/tibco/ems/Test/ems/5.1/bin/tibemsd'.
2010-03-17 02:05:54.571 Process Id: 1261586
2010-03-17 02:05:54.571 Hostname: ceeai1t
2010-03-17 02:05:54.572 Hostname IP address: 10.98.204.112
2010-03-17 02:05:54.572 Detected IP interface: 10.98.204.112 (en3)
2010-03-17 02:05:54.572 Detected IP interface: 127.0.0.1 (lo0)
2010-03-17 02:05:54.572 Reading configuration from '/opt/tibco/ems/Test/tibco/cfgmgmt/ems/data/tibemsd-Test.conf'.
2010-03-17 02:05:54.709 Logging into file '/opt/tibco/ems/logs/ems-test.log'
2010-03-17 02:05:54.711 Server name: 'Test'.
2010-03-17 02:05:54.712 Storage Location: '/opt/tibco/ems/Test/tibco/cfgmgmt/ems/data/datastore'.
2010-03-17 02:05:54.712 Routing is disabled.
2010-03-17 02:05:54.712 Authorization is disabled.
2010-03-17 02:05:54.714 ERROR: Configuration error: Mixed mode configuration: file=/opt/tibco/ems/Test/tibco/cfgmgmt/ems/data/stores.conf, line=58
2010-03-17 02:05:54.714 FATAL: Exception in startup, exiting.
bash-2.05a$

Click to view Somesh's profile Dabbler 1 posts since
Sep 15, 2008
7. Mar 18, 2010 12:21 AM in response to: srini2008
Re: Unable to start EMS

Hi Manoranjan,

 

I suspect that your stores.conf file refers to a datastores in a specfic directory, however in tibemsd.conf file you were unable to find the path to stores.conf file. Assuming you took care of permission issues, please do the following and see if it works.

 

mkdir /opt/tibco/ems/Test/config and move tibemsd.conf & other config files to this directory.

mkdir datastore in /opt/tibco/ems/Test directory

 

In tibemsd.conf file make sure the store parameter is pointing to:

store = /opt/tibco/ems/Test/datatore.

 

The bottomline is when you have the a mismatch between the store parameter in tibemsd.conf file & datastore directory you usually get this error.

 

Try these out and let us know how it goes.

Click to view Siju Mathew's profile Dabbler 2 posts since
Mar 3, 2010
8. Mar 18, 2010 8:18 AM in response to: Manoranjan Reddy
Re: Unable to start EMS

Hi,

 

I had the same problem while starting tibemsd. I installed ems as root and used setuid option. When I started tibemsd I always got error that log file cannot be opened. When I changed permissions on the folder where ems comfiguration files are kept, I was able to start tibemsd.

 

Regards

Siju

Click to view lokanatha reddy's profile Dabbler 1 posts since
Sep 16, 2009
9. Mar 24, 2010 12:44 AM in response to: srini2008
Re: Unable to start EMS

Hi Srini,

 

structure of tibemsd.conf file for EMS 4.x and EMS 5.x is different. I think you might the using a wrong configuration file for that particular EMS version.

 

Regards,

Lokanatha Reddy



More Like This

  • Retrieving data ...