Author |
Message
|
ae06425 |
Posted: Tue Apr 24, 2007 10:46 am Post subject: recover qmanager... INI file is missing |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
the qmanager was in running state before I reboot the server.
After reboot the qmanager is in ended normal state.
I try to restart qmanager with strmqm and it says
AMQ6166: An INI file is missing
there is the /var/mqm/qmgrs/qmgr_name/ directory and files but
there is no qm.ini file under /var/mqm/qmgrs/qmgr_name/
drwxrwxr-x 7 mqm mqm 512 Jan 05 2005 @ipcc
drwxrwxr-x 7 mqm mqm 512 Aug 04 2006 @qmpersist
drwxrwxr-x 6 mqm mqm 512 Aug 04 2006 auth
drwxrwxr-x 2 mqm mqm 512 Aug 04 2006 dce
drwxrwxrwx 2 mqm mqm 512 Apr 24 14:08 errors
drwxrwxr-x 2 mqm mqm 512 Apr 24 14:08 esem
drwxrwxr-x 2 mqm mqm 512 Apr 24 14:08 isem
drwxrwxr-x 2 mqm mqm 512 Aug 04 2006 msem
drwxrwxr-x 2 mqm mqm 512 Aug 04 2006 plugcomp
-rw-rw-r-- 1 mqm mqm 288 Apr 24 14:08 qmstatus.ini
drwxrwxr-x 2 mqm mqm 512 Apr 24 14:08 shmem
drwxrwxrwx 2 mqm mqm 512 Aug 04 2006 ssem
drwxrwxr-x 2 mqm mqm 512 Aug 04 2006 ssl
drwxrwxr-x 2 mqm mqm 512 Aug 04 2006 startprm
drwxr-xr-x 2 mqm mqm 512 Aug 04 2006 zsocketEC
drwxrwxrwx 2 mqm mqm 512 Aug 04 2006 zsocketapp
how can I recover
possible scenerios? Thnks... |
|
Back to top |
|
 |
wschutz |
Posted: Tue Apr 24, 2007 1:50 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Err,,,recover it from your last file system backup? _________________ -wayne |
|
Back to top |
|
 |
ae06425 |
Posted: Tue Apr 24, 2007 2:01 pm Post subject: |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
recovered it from saveqmgr file but having
inconsistencies, authentication problems, synchronization problems....
any more suggestions to fix these? |
|
Back to top |
|
 |
wschutz |
Posted: Tue Apr 24, 2007 2:16 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Did you create a new queue manager from the saveqmgr backup? _________________ -wayne |
|
Back to top |
|
 |
ae06425 |
Posted: Tue Apr 24, 2007 2:19 pm Post subject: |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
what i did is to delete existing qmanager
then created one wirth crtmqm
and run
runmqsc QMGR <xxx.tst
should I have used the existing one? |
|
Back to top |
|
 |
wschutz |
Posted: Tue Apr 24, 2007 2:22 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
So exactly what problems are you having?
Quote: |
inconsistencies, authentication problems, synchronization problems....
|
??? _________________ -wayne |
|
Back to top |
|
 |
ae06425 |
Posted: Tue Apr 24, 2007 2:35 pm Post subject: |
|
|
Centurion
Joined: 02 Apr 2007 Posts: 100
|
I can restore the old qmanager directory(before I delete corrupt qmanager) from backups and return from saveqmgr backup.
Is it the right thing to do?
error messages I get:
MQJE007: IO error reading message data
MQJE001: Completion Code 2, Reason 2195
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2195
MQJMS2013: invalid security authentication supplied for MQQueueManager
AMQ9526: Message sequence number error for channel...
The local and remote queue managers do not agree on the next message sequence number. A message with sequence number 71892 has been sent when sequencenumber 1 was expected.
ACTION:
Determine the cause of the inconsistency. It could be that the synchronization information has become damaged, or
AMQ9999: Channel program ended abnormally.
AMQ9557: Queue Manager User ID initialization failed. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 24, 2007 11:53 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
If you're restoring from a system backup (i.e. a file level restore) you should not use the saveqmgr script to recreate the objects (which should have returned as part of the backup).
If you do use such a script, you'll likely recreate the channel objects, causing this sequence number issues. I'd re-restore the file system, but you could also just reset the channel to get over that issue. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|