Unix Technical Forum

SQL1131N DARI (Stored Procedure) problem

This is a discussion on SQL1131N DARI (Stored Procedure) problem within the DB2 forums, part of the Database Server Software category; --> I have a problem registering Stored Procedures. I tried diferent stored procedure and non of them work. Not even ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 04:21 AM
dromuss via DBMonster.com
 
Posts: n/a
Default SQL1131N DARI (Stored Procedure) problem

I have a problem registering Stored Procedures.
I tried diferent stored procedure and non of them work.

Not even an empty stored procedure like the following:

CREATE PROCEDURE DB2INST1.PRUEBA ()
LANGUAGE SQL
BEGIN
END


I always get "SQL1131N DARI (Stored Procedure) process has been terminated
abnormally. SQLSTATE=38503"

I have looked in the db2diag.log file and I found the message: "An non-EDU
child crashed"

En vironment:
O.S Linux 7.3(Redhat)
DB2 7.1


Any idea ?

Thanks in advance..

--
Message posted via http://www.dbmonster.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 04:21 AM
Sean McKeough
 
Posts: n/a
Default Re: SQL1131N DARI (Stored Procedure) problem

Most often this is caused by access permissions making ipc communication
impossible...check that the id you chose to run fenced stored procedures
'owner of sqllib/adm/.fenced file' has read access to the sqllib directory.

dromuss via DBMonster.com wrote:
> I have a problem registering Stored Procedures.
> I tried diferent stored procedure and non of them work.
>
> Not even an empty stored procedure like the following:
>
> CREATE PROCEDURE DB2INST1.PRUEBA ()
> LANGUAGE SQL
> BEGIN
> END
>
>
> I always get "SQL1131N DARI (Stored Procedure) process has been terminated
> abnormally. SQLSTATE=38503"
>
> I have looked in the db2diag.log file and I found the message: "An non-EDU
> child crashed"
>
> En vironment:
> O.S Linux 7.3(Redhat)
> DB2 7.1
>
>
> Any idea ?
>
> Thanks in advance..
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 04:21 AM
dromuss via DBMonster.com
 
Posts: n/a
Default Re: SQL1131N DARI (Stored Procedure) problem

This is my permission configuration:

../db2inst1/sqllib/
drwxrwsr-t 14 db2inst1 db2iadm1 4096 Mar 31 12:48 sqllib

../db2inst1/sqllib/adm/.fenced
-r--r--r-- 1 db2fenc1 db2fadm1 0 Oct 23 2003 .fenced


I think it's ok.
Isn't it?

I also tried to run a CREATE PROCEDURE with root user. It didn't work.

--
Message posted via http://www.dbmonster.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 04:21 AM
Sean McKeough
 
Posts: n/a
Default Re: SQL1131N DARI (Stored Procedure) problem

It can often be one of the directories leading up to sqllib that has the
problem...try backtracking. One foolproof way to check this out is to su
to db2fenc1 and try looking into sqllib/bin. If you can see the contents
of that directory, then you'll need to open a pmr...

dromuss via DBMonster.com wrote:
> This is my permission configuration:
>
> ./db2inst1/sqllib/
> drwxrwsr-t 14 db2inst1 db2iadm1 4096 Mar 31 12:48 sqllib
>
> ./db2inst1/sqllib/adm/.fenced
> -r--r--r-- 1 db2fenc1 db2fadm1 0 Oct 23 2003 .fenced
>
>
> I think it's ok.
> Isn't it?
>
> I also tried to run a CREATE PROCEDURE with root user. It didn't work.
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 04:27 AM
dromuss via DBMonster.com
 
Posts: n/a
Default Re: SQL1131N DARI (Stored Procedure) problem

I solved the problem installing the library gcc-c++-2.96-110.i386.rpm

Hope this help to others!

--
Message posted via http://www.dbmonster.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com