Author |
Message
|
Raveendra N |
Posted: Fri May 26, 2006 1:47 am Post subject: Log path |
|
|
Newbie
Joined: 26 May 2006 Posts: 6 Location: Bangalore
|
Can we log path of a queue manager after creating it. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri May 26, 2006 2:16 am Post subject: Re: Log path |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Raveendra N wrote: |
Can we log path of a queue manager after creating it. |
Define "path of a queue manager"
Or did you mean "Can we change the log path of a qmgr after creating it?"
Yes you can under specific circumstances and I don't believe it to be IBM supported.
- Stop the qmgr
- Move (I would suggest copy after having created a backup) all the files in the current log path to the new log path
- change the log path information (.ini file in UNIX or registry?via qmgr property editor?)
- You might still want to create a symbolic link for the default path to remain valid as some programs will need it (MS0L ?) etc... (Unix)
- restart the qmgr and check date time stamp to see which files it is using
- If it didn't work restore previous config, delete and recreate the qmgr with the right log path.
Enjoy at your own risk  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Raveendra N |
Posted: Fri May 26, 2006 2:43 am Post subject: |
|
|
Newbie
Joined: 26 May 2006 Posts: 6 Location: Bangalore
|
Actually I meant changing the logging path of queue manager after creating it.
We changed the log path in qm.ini file and copied all the log files from default path to new path. Queue manager started successfully. But we had problem in deleting the queue manager which says log path not valid. |
|
Back to top |
|
 |
euphoria |
Posted: Fri May 26, 2006 12:13 pm Post subject: |
|
|
Acolyte
Joined: 08 Feb 2004 Posts: 51
|
If you are going to delete the qmgr, you may wish to create the log directory structure (in the path it is complaining about) and then delete QMGR |
|
Back to top |
|
 |
Raveendra N |
Posted: Sun May 28, 2006 11:16 pm Post subject: |
|
|
Newbie
Joined: 26 May 2006 Posts: 6 Location: Bangalore
|
euphoria wrote: |
If you are going to delete the qmgr, you may wish to create the log directory structure (in the path it is complaining about) and then delete QMGR |
But while deleting the queue manager whose default path is changed, it doesnt display the path it is complaining about in the error message. It just displays "Log path not valid", even though the path is present. |
|
Back to top |
|
 |
Raveendra N |
Posted: Sun May 28, 2006 11:32 pm Post subject: |
|
|
Newbie
Joined: 26 May 2006 Posts: 6 Location: Bangalore
|
Raveendra N wrote: |
euphoria wrote: |
If you are going to delete the qmgr, you may wish to create the log directory structure (in the path it is complaining about) and then delete QMGR |
But while deleting the queue manager whose default path is changed, it doesnt display the path it is complaining about in the error message. It just displays "Log path not valid", even though the path is present. |
Sorry. The problem is solved. QMGR is being deleted. |
|
Back to top |
|
 |
|