Quantcast
Channel: SCN : Popular Discussions - SAP on IBM i
Viewing all 524 articles
Browse latest View live

SAP SNC Error in SSO

$
0
0

Hi

We implemented SAP Single Sign on last year using Kerberos and it was working beautifully until last Friday.

 

Since Last friday, we are getting a weird error on our development system( We are lucky that it has not started happening on our Production systems)...

 

 

Sapgui 710 [Build 9003] Tue Aug 24 16:27:16 2010

: 'SAP System Message:

Security Network Layer (SNC) error

 

 

Our configuration is:

 

snc/enable                                  1                                           

snc/gssapi_lib                              /lib/libgssapi_krb5.a(libgssapi_krb5.a.so)  

snc/identity/as                             p:SAPservice/sapdev.<domain_name>@<i5_REALM>

snc/accept_insecure_gui                     1                                           

snc/accept_insecure_rfc                     1                                           

snc/accept_insecure_r3int_rfc               1                                           

snc/permit_insecure_start                   1

                                             

 

 

Now the funny part is that we know what the fix is..We have to advance our PC clocks on the PC to maybe a couple of minutes ahead and then it lets us log into the system.

 

 

The Work process trace file shows us the following :

 

 

 

 

N Sun Aug 22 10:45:10 2010                                                                            

N  *** ERROR => SncPEstablishContext()==SNCERR_GSSAPI  [sncxxall.c 3357]                              

N        GSS-API(maj): Miscellaneous failure                                                          

N        GSS-API(min): Clock skew too great          <<<<<<========================                                                 

N      Unable to establish the security context                                                       

N  <<- SncProcessInput()==SNCERR_GSSAPI                                                               

M  *** ERROR => ThSncIn: SncProcessInput (SNCERR_GSSAPI) [thxxsnc.c    976]                           

M  *** ERROR => ThSncIn: SncProcessInput [thxxsnc.c    981]                                           

M  in_ThErrHandle: 1                                                                               

M  *** ERROR => ThSncIn: SncProcessInput (step 4, th_errno 44, action 1, level 1) [thxxhead.c   10631]

 

Looking at it, someone will wonder that its the clcok skew and that its off.

But we have looked at the iSeries clock, the domain controller clock and the PC clcok, which are all within minutes of each other. The iseries is synced to the domain using CHGNTPA every 60 minutes using (*MAXADJ).

 

 

Also Our domain controller setting for Kerberos Policy for Maximum tolerance for computer clock synchronization is set to 5 minutes.

 

 

 

Now it even get's more interesting. We have three SAP systems on the same lpar configured for SAP SNC SSO.

one of them works and two of them gies us this error. When we advance our PC times by  only a couple of minutes, then these two also start working.

 

So that make us believe, it must be something within the SAP application, as all three share the same OS configuration.(time, REALMS, krb5 settings etc). The one that works is a BI system and is at SPS 15, but the two that give us trouble are at SPS11.

 

Any advise on where i should look further inside SAP??? System i??

I am all stumped...

 

Thanks in advance for all your help.

 

Abhi

 

Edited by: ABHI GUPT on Aug 27, 2010 11:23 AM


SQL error "-904" occurred when accessing table "A073 ".

$
0
0

Hi Guys,

We have many dumps when run a program in our system R/3 4.6C over V5R3M0.

The many dumps is:

DBIF_RSQL_SQL_ERROR

SQL error "-904" occurred when accessing table "A073 ".

 

OSS SAP say that i have to delete SQLPKG when the error appear.

I execute this deletion all weekend with DLTR3PKG; but the packages overflow quickly and i can close the system only the sunday.

 

Any suggestions? i try delete the A073 SQLPKG with the command:

WRKOBJ OBJ(ALL/A073) OBJTYPE(SQLPKG) on-line the last week; and we have many errors after this delete (all process with access to this table not run).

 

I increase the SQLPKG´s size to 1 GB (note 306823), but the problem persist.

 

Best Regards,

Ernesto Castro.

 

DB4COCKPIT and Logon for DB-Admin ???

$
0
0

using transaction DB4COCKPIT first time after EHP6-Upgrade,

a (new) logon-screen appears "Logon DB-Admin"

 

for what and why or ignore it ?

 

what to type-in?   the IBM-i/OS-Admin-User or the SAP-Admin-User

SQL error "-904" occurred when accessing table "A073 ".

$
0
0

Hi Guys,

We have many dumps when run a program in our system R/3 4.6C over V5R3M0.

The many dumps is:

DBIF_RSQL_SQL_ERROR

SQL error "-904" occurred when accessing table "A073 ".

 

OSS SAP say that i have to delete SQLPKG when the error appear.

I execute this deletion all weekend with DLTR3PKG; but the packages overflow quickly and i can close the system only the sunday.

 

Any suggestions? i try delete the A073 SQLPKG with the command:

WRKOBJ OBJ(ALL/A073) OBJTYPE(SQLPKG) on-line the last week; and we have many errors after this delete (all process with access to this table not run).

 

I increase the SQLPKG´s size to 1 GB (note 306823), but the problem persist.

 

Best Regards,

Ernesto Castro.

 

i5/OS - Operating system file details

$
0
0

I have to set the file systems of i5/OS and DB2 for SAP installation. I expect your vaulable guidance to set up file system for i5/OS( OS file system) like what we do for linux & windows (os,translog & datafile)

Extension index

$
0
0

I am creating some secondary indexes for performance.  I see now there is the option of an "extension" index which I do not remmeber since the last time I added some additional indexes.  Does anyone know the difference between the normal index option and the extension index option?  I am thinking perhaps that the extension index option is the same except that it is not considered a midifcation to the table.

 

Best regards,

Russ

SQL error "-904" occurred when accessing table "A073 ".

$
0
0

Hi Guys,

We have many dumps when run a program in our system R/3 4.6C over V5R3M0.

The many dumps is:

DBIF_RSQL_SQL_ERROR

SQL error "-904" occurred when accessing table "A073 ".

 

OSS SAP say that i have to delete SQLPKG when the error appear.

I execute this deletion all weekend with DLTR3PKG; but the packages overflow quickly and i can close the system only the sunday.

 

Any suggestions? i try delete the A073 SQLPKG with the command:

WRKOBJ OBJ(ALL/A073) OBJTYPE(SQLPKG) on-line the last week; and we have many errors after this delete (all process with access to this table not run).

 

I increase the SQLPKG´s size to 1 GB (note 306823), but the problem persist.

 

Best Regards,

Ernesto Castro.

 

DB4COCKPIT and Logon for DB-Admin ???

$
0
0

using transaction DB4COCKPIT first time after EHP6-Upgrade,

a (new) logon-screen appears "Logon DB-Admin"

 

for what and why or ignore it ?

 

what to type-in?   the IBM-i/OS-Admin-User or the SAP-Admin-User


direct read causing locks in Table - NRIV

$
0
0

Hi Guys,  since the kernel upgrade the system has been having a huge number of dumps & the performance has gone down drastically.  did some checking on SM50 & DB01, i can see so many locks on the NRIV table.

 

Has anyone come across this issue before ?

 

Thanks in advance

Chris

 

 

Termination occurred in the ABAP program "SAPLSNR3" - in "READ_NRIV".

The main program was "RBDAPP01 ".

 

In the source code you have the termination point in line 245

of the (Include) program "LSNR3F01".

The program "SAPLSNR3" was started as a background job.

Job Name....... "Z_AUTOBILL"

Job Initiator.. "BATCHADM"

Job Number..... 15174905

The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in

procedure "READ_NRIV" "(FORM)", but it was neither handled locally nor declared

in the RAISING clause of its signature.

 

The procedure is in program "SAPLSNR3 "; its source code begins in line

240 of the (Include program "LSNR3F01 ".

 

>>>>>     SELECT SINGLE FOR UPDATE * FROM NRIV WHERE

  246                                      OBJECT    = P_OBJECT

  247                                  AND SUBOBJECT = P_SUBOBJECT

  248                                 AND NRRANGENR = P_NR_RANGE_NR

  249                                  AND TOYEAR    = '0000'.

SAP EHP Installer not working

$
0
0

Hi

I've installed EHP installer, but when I go in through the web gui <host>4239, I manage to get to the initial page. When clicking on the EHP Installer link, it opens up Java 6 and I then get the following message:

Unable to launch application:

com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://I5SAP:4239/sdtdsu.jnlp

     at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)

     at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)

     at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)

     at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)

     at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)

     at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)

     at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)

     at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)

     at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

     at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

     at com.sun.javaws.Launcher.launch(Unknown Source)

     at com.sun.javaws.Main.launchApp(Unknown Source)

     at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

     at com.sun.javaws.Main$1.run(Unknown Source)

     at java.lang.Thread.run(Unknown Source)

Any ideas?

Remoted DB2 connection from SAP

$
0
0

Hello Experts,

 

We have a requirement to connect the remote DB DB2 (No SAP) which is on I series from our SAP ECC EHP 5 system so I made a below entry in table DBCON -

 

Database connection - PRMS_TEST

DBS                            - DB4

Username                   - SAP

*Password                    ***********

Connection Information - AS4_HOST=S1031993;AS4_DB_LIBRARY=RMTLIB

 

but while doing the test connection, it gives the below error-

 

B  Loading DB library '/usr/sap/ECD/DVEBMGS00/exe/dbdb4slib.so' ...
M  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/ECD/DVEBMGS00/exe/dbdb4slib.so") FAILED  "/usr/sap/ECD/DVEBMGS00/exe/dbdb4slib.so: cannot open shared object file: No such file or directory"  [dlux.c       445]
M  {root-id=000C298267DF1EE0BBC9171365715368}_{conn-id=00000000000000000000000000000000}_0
B  *** ERROR => Couldn't load library '/usr/sap/ECD/DVEBMGS00/exe/dbdb4slib.so'
 [dbcon.c      5263]
B  {root-id=000C298267DF1EE0BBC9171365715368}_{conn-id=00000000000000000000000000000000}_0
B  ***LOG BYG=> could not load library for database connection PRMS_TEST  [dbds         886]
B  ***LOG BZY=> unexpected return code 8192       calling DBDS       [dbacds       1536]

 

My SAP environment is -

 

SAP - ECC EHP 5

Kernel Release 720 patch 90

OS     - Red Hat Linux 5.5 - 64 bit

Database - DB2 (DB6)

 

Kindlly let us know if I have to put the file dbdb4slib.so in kernel directory and from where I can get this file and if my DBCON entry is correct ?

 

Regards

Saurabh Mishra

What is DBSL?

$
0
0

Note 705888 references DBSL but I have no clue how to access it or what patch level we have.

 

What does DBSL do?

 

And...when we're done with that...can anyone point me to a glossary of terms on the SAP web site?

 

Thanks in advance,

Robert

CUUC on OS-400 and DB2 from SAP ERP 5.0 to SAP ERP 6.0 EHP 7

$
0
0

Hello All,

 

I need to perform CUUC on OS-400 (OS) and DB2-400(DB) from SAP ERP 5.0 to ERP 6.0 EHP7. Please guide me though the steps. I have downloaded the CUUC guide from SAP Market place. But still i need overview of steps to be performed for it.

Thanks

Saurabh

/usr/sap/trans/log cleanup

$
0
0

I was looking at usr/sap/trans/log and see a lot of old logs.

I ran tp check all and it created a report

The report showed more than 8,000 log files that can be deleted in the usr/sap/trans/log

 

Can I delete these old log files or is this going to create more problems for me.

 

THanks

Joe

DB4COCKPIT and Logon for DB-Admin ???

$
0
0

using transaction DB4COCKPIT first time after EHP6-Upgrade,

a (new) logon-screen appears "Logon DB-Admin"

 

for what and why or ignore it ?

 

what to type-in?   the IBM-i/OS-Admin-User or the SAP-Admin-User


sql -129 during a simple select statement

$
0
0

I've got a problem on a system running 4.6c where a statement

 

 

SELECT * FROM afvv

         INTO TABLE afvv_tab

         FOR ALL ENTRIES IN aufpl_pre_tab

         WHERE aufpl EQ aufpl_pre_tab-aufpl.

 

returns an error code SQL -129  (which means sql statement contains too many tables).

It clearly does not contain too many tables in the SQL statement, and there is only one entry in the internal table aufpl_pre_tab.

 

If I use strsql to execute the statement

 

select * from afvv where aufpl='<the value from aufpl_pre_tab>'

 

it returns correctly the 3 entries that it should.

 

The system has recently been recovered from a backup after a series of disk failures occurred. I'm told the restore was successful and clean.

 

Does anyone have any idea what could cause this?

 

[and yes, I know 4.6c is not supported any longer...]

/usr/sap/trans/log cleanup

$
0
0

I was looking at usr/sap/trans/log and see a lot of old logs.

I ran tp check all and it created a report

The report showed more than 8,000 log files that can be deleted in the usr/sap/trans/log

 

Can I delete these old log files or is this going to create more problems for me.

 

THanks

Joe

How to delete job logs XXXBDCLG, XXXJOBLG for deleted client XXX

$
0
0

Dear All,

 

Is there a standard way to delete the job logs XXXBDCLG, XXXJOBLG for a deleted client XXX, in directory    '/sapmnt/<SID>/global',  or this could only be done at the OS level ?

 

Thank you in advance for your cooperation.

 

 

Best regards.

 

Reda

sql -129 during a simple select statement

$
0
0

I've got a problem on a system running 4.6c where a statement

 

 

SELECT * FROM afvv

         INTO TABLE afvv_tab

         FOR ALL ENTRIES IN aufpl_pre_tab

         WHERE aufpl EQ aufpl_pre_tab-aufpl.

 

returns an error code SQL -129  (which means sql statement contains too many tables).

It clearly does not contain too many tables in the SQL statement, and there is only one entry in the internal table aufpl_pre_tab.

 

If I use strsql to execute the statement

 

select * from afvv where aufpl='<the value from aufpl_pre_tab>'

 

it returns correctly the 3 entries that it should.

 

The system has recently been recovered from a backup after a series of disk failures occurred. I'm told the restore was successful and clean.

 

Does anyone have any idea what could cause this?

 

[and yes, I know 4.6c is not supported any longer...]

SAP Restart to Delete SQL Packages

$
0
0

I am starting this discussion on behalf of a client:

 

Especially the "veterans" of AS/400 remember, that in the beginning of SAP on AS/400 it was often necessary to stop the SAP instance and delete the SQL packages in order to overcome database errors that usually showed up as SQL -901 errors. This way of "fixing" SQL -901 became like a habit, so that support employees often recommended to stop the SAP instance and delete SQL packages when a simple restart of the failing work process would have fixed the problem. Later we recommended to use profile parameter rdisp/wp_auto_restart to restart work processes automatically once a day (for example), and that seemed to have solved the problem. However, my client is not quite convinced that this works and does not want to "play" with the production system. They are using an ECC 6.0 system with a 10 TB database and about 4000 active users.

 

Question to this group: Do you have systems with a similary size that run several weeks (or even months) without interruption for deleting SQL packages? If so, do you use profile parameter rdisp/wp_auto_restart, and what value is configured? Also "negative" answers are welcome, i.e. if you have the experience that the SQL packages must be deleted on a regular base for the sytem to work properly, please let us know, too.

 

Thanks a lot for your cooperation.

 

Kind regards,

Christian Bartels.

Viewing all 524 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>