Author |
Message
|
ramkumarm83 |
Posted: Fri Sep 12, 2008 2:14 am Post subject: [SOLVED] /opt/mqm/ files missing |
|
|
Apprentice
Joined: 16 May 2007 Posts: 27
|
Hi,
I tried to start the one queue manager on hp-ux server. but the runmqsc command isn't working. it showing not found. I checkd the runmqsc executable in /opt/mqm/bin folder. but the bin folder is missing.
Can i just copy the folder from other servers. Will it work ?
Pls any one help on this.
Thanks.
Last edited by ramkumarm83 on Fri Sep 12, 2008 8:04 am; edited 1 time in total |
|
Back to top |
|
 |
exerk |
Posted: Fri Sep 12, 2008 2:21 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
If something is missing find out why, find out when, find out who, so you can (hopefully) stop it happening again.
Check another installation for permissions etc. before copying stuff over (if it can be done). _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
ramkumarm83 |
Posted: Fri Sep 12, 2008 3:17 am Post subject: |
|
|
Apprentice
Joined: 16 May 2007 Posts: 27
|
Hi,
Thanks.
I am not able to findout why the files are missing. I think some one had deleted those files. Still investigating.
I found all the /var/mqm files are existing. but only missing /opt/mqm files.
I am trying to copy the whole /opt/mqm folder from other server to this.
Hopfully it should work.
Thanks. |
|
Back to top |
|
 |
Philip Morten |
Posted: Fri Sep 12, 2008 3:25 am Post subject: |
|
|
Master
Joined: 07 Mar 2002 Posts: 230 Location: Hursley Park
|
Why don't you just reinstall it ? That way you should be sure everything is set up correctly. _________________ Philip Morten
The postings on this site are my own and do not necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
ramkumarm83 |
Posted: Fri Sep 12, 2008 5:05 am Post subject: |
|
|
Apprentice
Joined: 16 May 2007 Posts: 27
|
Hi Philip,
Thanks for suggestion.
Its better to reinstall mq..
But How could I take a backup of queue manager.
Untill execute any command like saveqmgr.
I need to take back up of one queue manager also
Please give any idea.
Thanks. |
|
Back to top |
|
 |
ramkumarm83 |
Posted: Fri Sep 12, 2008 5:17 am Post subject: |
|
|
Apprentice
Joined: 16 May 2007 Posts: 27
|
Hi all,
Could any one clear my doubts.
If the mqm user and group is not exist on HP-UX server, does it mean that mq is not insatalled?
Thanks. |
|
Back to top |
|
 |
ranganathan |
Posted: Fri Sep 12, 2008 5:23 am Post subject: |
|
|
 Centurion
Joined: 03 Jul 2008 Posts: 104
|
|
Back to top |
|
 |
exerk |
Posted: Fri Sep 12, 2008 5:40 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
ramkumarm83 wrote: |
Hi all,
Could any one clear my doubts.
If the mqm user and group is not exist on HP-UX server, does it mean that mq is not insatalled?
Thanks. |
No...but it may mean that the group and user have been deleted. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
ramkumarm83 |
Posted: Fri Sep 12, 2008 5:52 am Post subject: |
|
|
Apprentice
Joined: 16 May 2007 Posts: 27
|
Hi,
Thanks all for reply.
sorry for the confusion.
Initially I checked the mqm username and group. It was nt listed. Bcz its configured under NIS server. Later I found, using ypwhich and ypcat passwd command.
Thanks. |
|
Back to top |
|
 |
ramkumarm83 |
Posted: Fri Sep 12, 2008 6:45 am Post subject: |
|
|
Apprentice
Joined: 16 May 2007 Posts: 27
|
Found that the /opt/mqm/ file system is corrupted. creating a filesystem and tried to copy the file from other server.
Any idea, Will it work?
I dont want to reinstall the mq as of now.
Thanks. |
|
Back to top |
|
 |
ramkumarm83 |
Posted: Fri Sep 12, 2008 7:37 am Post subject: |
|
|
Apprentice
Joined: 16 May 2007 Posts: 27
|
Unbelievable. But true.
I have successfuly copied into /opt/mqm files from other mq server /opt/mqm path.
Able to start the queue manager.
Before when I try runmqsc, it was showing not found. bcz of the /opt/mqm fils were missing.
Great and so proud of mqseries.net folks and me.
Many thanks for all.
 |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Sep 14, 2008 8:28 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
I hope the other server was at exactly the same MQ level, or you may have problems with MQ software compatibility. Compare output of dspmqver command. _________________ Glenn |
|
Back to top |
|
 |
ramkumarm83 |
Posted: Mon Sep 15, 2008 4:18 am Post subject: |
|
|
Apprentice
Joined: 16 May 2007 Posts: 27
|
Yes. I checked that both server is exactly the same MQ Level.
Thanks. |
|
Back to top |
|
 |
|