ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Error - Attribute called InstallationName that is not valid

Post new topic  Reply to topic
 Error - Attribute called InstallationName that is not valid « View previous topic :: View next topic » 
Author Message
b_anup
PostPosted: Fri Jun 27, 2014 8:10 am    Post subject: Error - Attribute called InstallationName that is not valid Reply with quote

Novice

Joined: 26 Jun 2014
Posts: 11

After MQ upgrade to 7.5 on solaris patform we are seeing following error

AMQ7075: Unknown attribute in ini file.

EXPLANATION:
Line 40 of the configuration file /var/mqm/mqs.ini contained an attribute
called InstallationName that is not valid. This attribute is not recognized in
this context.
ACTION:
Check the contents of the file and retry the operation.

When we tried removing InstallationName from mqs.ini queue manager shows status as STATUS(Status not available)

Then we tried to restart queue manager but mqs.ini got updated with InstallationName parameter again.

What could be the resolution to this error?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Fri Jun 27, 2014 8:28 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Have you defined the primary installation as instructed in the documentation?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
b_anup
PostPosted: Fri Jun 27, 2014 10:28 pm    Post subject: Reply with quote

Novice

Joined: 26 Jun 2014
Posts: 11

Thanks Jedi for your reply.

We tried with ./setmqinst -x -p /opt/mqm/ command but still we are getting same error.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jun 27, 2014 11:40 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

So when you run dspmqinst, what is the InstName and is it in the same case in the mqs.ini?
Do you by any chance run multiple installations of MQ collocated on the box?
If still running WMQ 7.0 did you correctly set the default/primary instance to that installation?

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Sat Jun 28, 2014 2:49 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

fjb_saper wrote:
If still running WMQ 7.0 did you correctly set the default/primary instance to that installation?

It is my understanding that while WMQ version 7.0 is installed, you cannot change which installation is the primary installation - it will always be the WMQ V7.0 version.

b_anup, it would be helpful if you could post the content of your mqs.ini file, complete with the 'offending' line.
_________________
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
View user's profile Send private message
b_anup
PostPosted: Sat Jun 28, 2014 2:55 am    Post subject: Reply with quote

Novice

Joined: 26 Jun 2014
Posts: 11

Grand, we did not run multiple installations.

Following is the output of dspmqinst

InstName: Installation1
InstDesc:
Identifier: 1
InstPath: /opt/mqm
Version: 7.5.0.2
Primary: Yes
State: Available

and following is entry in /var/mqm/mqs.ini

Code:
DefaultPrefix=/var/mqm

LogDefaults:
   LogPrimaryFiles=3
   LogSecondaryFiles=2
   LogFilePages=1024
   LogType=CIRCULAR
   LogBufferPages=0
   LogDefaultPath=/var/mqm/log
QueueManager:
   Name=XXXXXX
   Prefix=/var/mqm
   Directory=XXXXXX
   InstallationName=Installation1


where XXXXXX is a queue manager name.

Also we have used setmqinst -i -p /opt/mqm to set primary instance.
Back to top
View user's profile Send private message
exerk
PostPosted: Sat Jun 28, 2014 3:12 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

You stated, "...Line 40 of the configuration file /var/mqm/mqs.ini contained an attribute called InstallationName that is not valid...", so what's in Line 40, because there aren't 40 lines in the content you've posted?
_________________
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
View user's profile Send private message
b_anup
PostPosted: Sat Jun 28, 2014 3:29 am    Post subject: Reply with quote

Novice

Joined: 26 Jun 2014
Posts: 11

Code:
#********************************************************************#
#*                                                                  *#
#* <N_OCO_COPYRIGHT>                                                *#
#* Licensed Materials - Property of IBM                             *#
#*                                                                  *#
#* 63H9336                                                          *#
#* (C) Copyright IBM Corporation 1994, 2003                         *#
#*                                                                  *#
#* <NOC_COPYRIGHT>                                                  *#
#*                                                                  *#
#********************************************************************#
#***********************************************************************#
#* Module Name: mqs.ini                                                *#
#* Type       : WebSphere MQ Machine-wide Configuration File           *#
#* Function   : Define WebSphere MQ resources for an entire machine    *#
#*                                                                     *#
#***********************************************************************#
#* Notes      :                                                        *#
#* 1) This is the installation time default configuration              *#
#*                                                                     *#
#***********************************************************************#
AllQueueManagers:
   #********************************************************************#
   #* The path to the qmgrs directory, below which queue manager data  *#
   #* is stored                                                        *#
   #********************************************************************#
   DefaultPrefix=/var/mqm

LogDefaults:
   LogPrimaryFiles=3
   LogSecondaryFiles=2
   LogFilePages=1024
   LogType=CIRCULAR
   LogBufferPages=0
   LogDefaultPath=/var/mqm/log
QueueManager:
   Name=XXXXXX
   Prefix=/var/mqm
   Directory=XXXXXX
   InstallationName=Installation1
Back to top
View user's profile Send private message
exerk
PostPosted: Sat Jun 28, 2014 6:09 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

OK, thank you, that makes things clearer. I wasn't sure if you were omitting the stuff at the top or had multiple queue managers specified. Worth your while opening a PMR with this one I think.
_________________
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
View user's profile Send private message
fjb_saper
PostPosted: Sat Jun 28, 2014 2:40 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Make sure there is no space after the installation name... and you should probably have a blank line after that too.

Alternatively run setmqm -n installationname -m qmgrname

This should update the mqs.ini
make sure to only leave a single space between installation name and qmgr name.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Philip_Morten
PostPosted: Sun Jun 29, 2014 11:06 am    Post subject: Reply with quote

Newbie

Joined: 11 Dec 2006
Posts: 5
Location: Hursley Park

It might be of interest to check the contents of /etc/opt/mqm/mqinst.ini and see if the values there match what it is in your mqs.ini.
_________________
--
Philip Morten
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Error - Attribute called InstallationName that is not valid
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.