Friday, January 15, 2016

ERROR: sending message to MANAGER (Timeout waiting for message)

On GoldenGate  11.1 when you try to stop the manager it may get timeout message as follows:


GGSCI (prod.com) 23> stop mgr
Manager process is required by other GGS processes.
Are you sure you want to stop it (y/n)? y

Sending STOP request to MANAGER ...

ERROR: sending message to MANAGER (Timeout waiting for message).


Check it from ggsci, manager still alive:


GGSCI (prod.com) 38> info all

Program     Status      Group       Lag           Time Since Chkpt

MANAGER     RUNNING                                           
EXTRACT     STOPPED     PSSS        00:00:00      00:00:12    
EXTRACT     STOPPED     XSSS        00:05:47      00:00:11    
REPLICAT    ABENDED     RLLL        00:00:00      00:48:55    
REPLICAT    STOPPED     RTTT        00:01:13      00:00:09    


The only solution is to find the sid of linux and kill the process:


$ ps -ef|grep ocfsmnt

 oraprod     3931     1  0 17:09 ?        00:00:00 ./mgr PARAMFILE /ocfsmnt/gg/dirprm/mgr.prm REPORTFILE /ocfsmnt/gg/dirrpt/MGR.rpt PROCESSID MGR PORT 7809


$ kill -9 3931    

Let's check the status:


GGSCI (prod.com) 42> info all

Program     Status      Group       Lag           Time Since Chkpt

MANAGER     STOPPED                                           
EXTRACT     STOPPED     PSSS        00:00:00      00:00:12    
EXTRACT     STOPPED     XSSS        00:05:47      00:00:11    
REPLICAT    ABENDED     RLLL        00:00:00      00:48:55    
REPLICAT    STOPPED     RTTT        00:01:13      00:00:09 


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.