Message Server not getting the initialized message (CAMS0001I) - /KahaDB/lock is locked by another server.
search cancel

Message Server not getting the initialized message (CAMS0001I) - /KahaDB/lock is locked by another server.

book

Article ID: 193247

calendar_today

Updated On: 04-22-2025

Products

COMMON SERVICES FOR Z/OS

Issue/Introduction

New installation.

Starting up the Common Services Message Server (ZMSSTART) for the first time , but not getting the CAMS0001I message after waiting at least 10 minutes.

Do see this is the ../logs/server.log :

INFO  [2020-06-16 15:39:15.726] [Message Service Server] - [com.ca.messagingservice.library.brokerservice.EmbeddedBroker:startBroker:285] [main] - Starting the broker
INFO  [2020-06-16 15:39:15.784] [Message Service Server] - [com.ca.messagingservice.library.brokerservice.EmbeddedBroker:init:164] [main] - Initializing the embeddedBrokerService
INFO  [2020-06-16 15:39:15.792] [Message Service Server] - [com.ca.messagingservice.library.brokerservice.EmbeddedBroker:init:180] [main] - Adding the connector: xx://#x#####y-#z####-#x##-##a#-##b#cd#####z#
INFO  [2020-06-16 15:39:15.825] [Message Service Server] - [org.apache.activemq.broker.BrokerService:doStartPersistenceAdapter:683] [main] - Using Persistence Adapter: KahaDBPersistenceAdapter[/usr/lpp/CADeploy/ccs150/cfgb/instance/messageService/brokerData/embeddedMaasBroker-85aab742-e3d0-4ef5-817c-cc1d1f27cf30/embeddedMaasBroker-##aab###-e#d#-#ef#-###c-cc#d#f##cf##/KahaDB]
INFO  [2020-06-16 15:39:15.830] [Message Service Server] - [org.apache.activemq.store.SharedFileLocker:doStart:70] [main] - Database /usr/lpp/CADeploy/ccs150/cfgb/instance/messageService/brokerData/embeddedMaasBroker-##aab###-e#d#-#ef#-###c-cc#d#f##cf##/KahaDB]/lock is locked by another server. This broker is now in slave mode waiting a lock to be acquired

Cause

Unable to update ../messageService/BrokerData directory

Resolution

Allow read/write access to ../instance/messageService and subdirectories, including the ./brokerData directory

Check the userid that the ZMSSTART task is running under to ensure proper group access is permitted.

Additional Information