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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Error -998 on Solaris

Post new topic  Reply to topic
 Error -998 on Solaris « View previous topic :: View next topic » 
Author Message
tomsal
PostPosted: Sat Feb 01, 2003 1:02 pm    Post subject: Error -998 on Solaris Reply with quote

Newbie

Joined: 10 Oct 2002
Posts: 9

$ fmcamain -y FMCDES &
[1] 15296
$
$ FMC31020E The server could not be started.
FMC31000E A database error occurred. SQL code: -998.

[1] + Done fmcamain -y FMCDES &

----------------------------------------------------------------

$ tail -f /export/home/db2inst1/sqllib/db2dump/db2diag.log

2003-02-01-15.14.25.140334 Instance:db2inst1 Node:000
PID:15296(fmcamain) Appid:*LOCAL.db2inst1.030201211424
XA DTP Support sqlxa_start_branch Probe:100
DIA4700E AX interface could not be loaded. Transaction not registered.

---------------------------------------------------------------------------
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
clindsey
PostPosted: Sun Feb 02, 2003 7:08 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Take a look at this url. It will give you a few possibilities.

http://www.developer.ibm.com/tech/faq/individual/0,,2:28057,00.html

Charlie
Back to top
View user's profile Send private message
tomsal
PostPosted: Sun Feb 02, 2003 11:59 am    Post subject: Reply with quote

Newbie

Joined: 10 Oct 2002
Posts: 9

Thanks Charlie, but I keep receiving the same error code!!!
I've checked all of the parameters pointed at the URL you posted, and the only difference I have is that when I start the QMGR with the user fmc and the process is running the user is mqm!!!
This is how I checked it:

$ ps -flu fmc |grep amq
8 S fmc 29375 29076 0 53 20 ? 203 ? 14:28:27 pts/1 0
:00 grep amq
$ ps -flu mqm |grep amq
8 S mqm 29369 29366 0 41 20 ? 1749 ? 14:28:13 ? 0
:00 amqzllp0 -mFMCQM ?
8 S mqm 29367 29366 0 44 20 ? 2060 ? 14:28:12 ? 0
:00 /opt/mqm/bin/amqzfuma -m FMCQM
8 S mqm 29370 29366 0 41 20 ? 1503 ? 14:28:16 ? 0
:00 /opt/mqm/bin/amqrrmfa -t2332800 -s2
8 S mqm 29372 29366 0 47 20 ? 2427 ? 14:28:17 ? 0
:00 amqzlaa0 -mFMCQM -fip0
8 S mqm 29368 29366 0 41 20 ? 1080 ? 14:28:12 ? 0
:00 amqhasmx FMCQM /var/mqm
8 S mqm 29366 1 0 41 20 ? 4158 ? 14:28:11 ? 0
:00 amqzxma0 -m FMCQM

The user I've logged in is fmc, and I started the QMGR with this same user.


Hope this help!!!

Thanks in advance.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
vennela
PostPosted: Sun Feb 02, 2003 2:12 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

From what you have posted it is very evident that mqm started the MQGR.
Stop the QMGR and start it under fmc.
Everything should work fine.


-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tomsal
PostPosted: Sun Feb 02, 2003 2:37 pm    Post subject: Reply with quote

Newbie

Joined: 10 Oct 2002
Posts: 9

Thanks Venny.
The output you saw on the previous post was under the user fmc!!
We've even created the QMGR with this user, and the funniest part is that when we issue the strmqm command, the processes of mqseries are running under mqm!!

I'm logged as fmc and the result has kept the same for all this time.
We are trying everythig at this point, anything could help.

Thanks anyway.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
vennela
PostPosted: Sun Feb 02, 2003 4:08 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Tomsal:

Login as root and try to start the queue manager. If mqm still starts the qmgr then there is something wrong.

Can you post (or PM) the fmcrc and qm.ini files. Do an "id" and confirm that you are fmc before starting the qmgr.

Have you done all the verifications mentioned in the URL posted by charlie. It's pretty comprehensive.

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
clindsey
PostPosted: Sun Feb 02, 2003 5:57 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

I just did some testing on solaris and it appears you cannot verify that
fmc started the queue manager by looking at the owner of the mq processes. This is only valid on aix.

First, let me ask, is this a new installation that has never come up or has this been working and you just began getting this error?

Is there more in your db2diag.log? There is not much available on DIA4700E. Can you post a few more lines? Also look in /var/mqm/errors. You should be logging a message in AMQERR01.LOG at queue manager startup. Does it give the xa_open return code?

Charlie
Back to top
View user's profile Send private message
vennela
PostPosted: Sun Feb 02, 2003 6:42 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Oh ok.
In that case (verification of whether or not fmc has started the qmgr) I have a bunch of other things that I can suggest you.

1. Is DB2 started (db2start)
2. Is the db2 tp_mon_name set to mqmax
3. Did you change the password of the user-id that you have specified as the user accessing the RuntimeDB( or may be it is expired ). In the qm.ini file in the XAResourceManager stanza the password is specified. Verify that the "user" (specified in the open string) can connect to the DB using the password.

For example:
If it says something like
XAResourceManager:
Name=db2inst1 FMCDB
SwitchFile=/usr/lpp/fmc/db2swit/db2swit
XAOpenString=FMCDB, fmc, fmcdbpasswd

then on the db2 command propmt try to connect to FMCDB
db2> connect to FMCDB user fmc using fmcdbpasswd.
This user-id (if it's fmc) should be in db2iadm1 (or whatever the group is)group.

If you have applied patches to DB2 then use fmczutil to rebind the databases.

Also the versions:
If it's MQ 5.3 then there is a new db2swit file that you need to use.

(Forgive my ignorance about Solaris -- I always do it on HP and AIX and I thought it would do the same on Solaris)


-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tomsal
PostPosted: Tue Feb 04, 2003 8:33 am    Post subject: Reply with quote

Newbie

Joined: 10 Oct 2002
Posts: 9

Thanks Venny and Charlie.
I tried the test again with root and the trouble was the same.
The versions we are using are:
MQSeries 5.2.1
WorkFlow 3.3.2
Solaris 2.8
DB2 7.2 FixPack 8
MQSeries is not reporting any error on the logs, only the usual start and stop of the QMGR.
I'm running out of time, and we are trying almost everything to start the workflow in Solaris.
If there is anything you could help me would be great.
Thanks in advance.
Later on I'll post the output from the log files.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
clindsey
PostPosted: Tue Feb 04, 2003 9:36 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

The sql0998N should show up in the db2diag.log. It should also contain a reason code. From a command shell, enter 'db2 ? sql0998'. This will list all the reason codes for -998 and what they mean. This should give the actual reason for your failure.

Charlie
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Error -998 on Solaris
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.