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

/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


GoLive Check

$
0
0

Hi Sap Experts,

 

My clients SAP is going to be live before that I want to do pre golive check from sap.

How to do pre golive check , Please suggest the procedure

 

Thanks & Regards

Vinay Patel

DBCON connection issue - error CPDA0FF occured

$
0
0

We have the following connection defined in DBCO:

 

AS4_HOST=<host>;AS4_DB_LIBRARY=<library>;AS4_HOST_PORT=21;

 

When we check this connection via ADBC_TEST_CONNECTION we get the error:

 

B Connect to <con_name> as <user_name> with AS4_HOST=<host>;AS4_DB_LIBRARY=<library>;AS4_HOST_PORT=21;
C Secondary DB connect, user <user_name>
C Environment: AS4_HOST=<host>;AS4_DB_LIBRARY=<library>;AS4_HOST_PORT=21;
C  *** ERROR => CPDA0FF occured. Refer to job log.
 [dbsldb4dbi.c 474]
C  *** ERROR => === Secondary DB connect FAILED! ===
 [dbsldb4.cpp  15683]
C  *** ERROR => === Connection settings ===
 [dbsldb4.cpp  17806]
C  *** ERROR => connected               = FALSE
 [dbsldb4.cpp  17807]
...
C  *** ERROR => ===========================
 [dbsldb4.cpp  17849]
B  ***LOG BYI=> connect failed for connection DEPLIS     [dbds#1 @ 1052] [dbds    1052 ]
B  ***LOG BZY=> unexpected return code 8192       calling DBACDS     [dbacds#2 @ 1471] [dbacds  1471 ]

 

In SM21 - system log - we have 2 entries:

 

Connect to the databzse with ID <con_name> failed

Unexpeted return value 8192 when calling up DBACD

 

Any idea on how we can solve this?

Setting EM/initial_size_MB

$
0
0

Dear Experts,

 

we have opened an incident message with SAP support regarding some performance issue on our system,

 

and the recommendation they gave us is that we modify the parameter : EM/initial_size_MB but they didn't recommend any value and said its customer specific.

 

my question is : what is the equation for setting this parameter correctly ?

 

we have 154 GB physical RAM 

and the parameter EM/initial_size_MB is set to : 59000

 

OS: IBMI v7.1

 

Kindly advise.

 

Many Thanks In advance.

 

Regards,

Ahmed Salam.

SAPCAR: can not set permissions for /EPS/in/SIGNATURE.SMF

$
0
0

We are running SUM 1.0 SP10 on IBM i with V7R1 to put EHP6 and SP's on an ERP 6.0 system.  Phase PREP_PRE_CHECK/SCANDIR_EPS0 repeatedly ends with multiple errors that SAPCAR: can not set permissions for /EPS/in/SIGNATURE.SMF file.  We tried increasing the sidADM and R3GROUP authority to the file, but it changes them back and ends with a different number of errors each time, see example:

 

SAPup> Starting subprocess with PID 4295601 in phase 'SCANDIR_EPS0' at 20140319101619
    ENV: DIR_LIBRARY=/usr/sap/Y60/SUM/abap/bin
    ENV: ILE_PATH=/usr/sap/Y60/SUM/abap/bin:/usr/sap/Y60/SYS/exe/run:/usr/bin:.
    ENV: LIBPATH=/usr/sap/Y60/SUM/abap/bin:/usr/sap/Y60/SUM/jvm/jre/lib/ppc64/server:/usr/sap/Y60/SUM/jvm/jre/lib/ppc64:/usr/sap/Y60/SUM/jvm/jre/../lib/ppc64:/usr/sap/Y60/SUM/jvm/jre/lib/ppc64/jli:/usr/sap/Y60/SUM/jvm/jre/../lib/ppc64/jli:/usr/sap/Y60/SYS/exe/run:/usr/sap/Y60/hdbclient:/sapdb/clients/Y60/lib/lib64:/sapdb/clients/Y60/lib:/sapdb/programs/lib/lib64:/sapdb/programs/lib
    ENV: PASE_LANG=en_US
    ENV: PASE_LC__FASTMSG=true
    ENV: PASE_LIBPATH=/usr/sap/Y60/SUM/abap/bin:/usr/sap/Y60/SYS/exe/run:/usr/sap/Y60/hdbclient:/sapdb/clients/Y60/lib/lib64:/sapdb/clients/Y60/lib:/sapdb/programs/lib/lib64:/sapdb/programs/lib
    ENV: PASE_LOCPATH=/usr/lib/nls/loc
    ENV: PASE_NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/en_US/%N:/usr/lib/nls/msg/en_US/%N.cat
    ENV: PASE_PATH=/usr/sap/Y60/SUM/abap/bin:/usr/sap/Y60/SYS/exe/run:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:/usr/bin:.:/usr/sap/Y60/hdbclient:/sapdb/clients/Y60/bin:/sapdb/programs/bin
    ENV: PASE_STDIO_ISATTY=N
    ENV: PASE_THREAD_ATTACH=Y
    ENV: PASE_TZ=<EST>5<EDT>,M3.2.0,M11.1.0
    ENV: PASE_USRGRP_LIMITED=
    ENV: PATH=/usr/sap/Y60/SUM/abap/bin:/usr/sap/Y60/SYS/exe/run:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:/usr/bin:.:/usr/sap/Y60/hdbclient:/sapdb/clients/Y60/bin:/sapdb/programs/bin
    ENV: SAPSYSTEMNAME=Y60
    ENV: dbms_type=db4
    ENV: dbs_db4_schema=R3Y60DATA
    ENV: ILE_DIR_LIBRARY=/usr/sap/Y60/SUM/abap/bin
    ENV: PASE_DIR_LIBRARY=/usr/sap/Y60/SUM/abap/bin
    ENV: DIR_LIBRARY_RMT=/usr/sap/Y60/SUM/abap/bin
    ENV: ILE_DIR_LIBRARY_RMT=/usr/sap/Y60/SUM/abap/bin
    ENV: PASE_DIR_LIBRARY_RMT=/usr/sap/Y60/SUM/abap/bin
    ENV: ILE_LIBPATH=/usr/sap/Y60/SUM/abap/bin

EXECUTING /usr/sap/Y60/SUM/abap/bin/SAPCAR -flat -R /usr/sap/transD60/EPS/in -xvf /tmp/NO_SAVE/ERP_EHP6_Download/K-60609INECCDIMP.SAR
SAPCAR: processing archive /tmp/NO_SAVE/ERP_EHP6_Download/K-60609INECCDIMP.SAR (version 2.01)
x CSR0120031469_0080800.PAT
x SIGNATURE.SMF
SAPCAR: can not set permissions for /usr/sap/transD60/EPS/in/SIGNATURE.SMF (error 13). No such file or directory
SAPup> Process with PID 4295601 terminated with status 13 at 20140319101623!


Has anyone lse exprienced this and can share a fix?

 

Thank you,

-Margie

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

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?

GoLive Check

$
0
0

Hi Sap Experts,

 

My clients SAP is going to be live before that I want to do pre golive check from sap.

How to do pre golive check , Please suggest the procedure

 

Thanks & Regards

Vinay Patel


Logon during upgrade not possible

$
0
0

Hi guys,

 

I'am doing an upgrade to ECC 6.0 on a slow 820. (but that's not the real porblem )

 

Now I got stuck in ACT_700, when he tries to activate a structure that has some fields defined twice:

 

ACTUPG.ELG:

DO519 "Table" "MC02M_0SCL" could not be activated

Field BANFN in table MC02M_0SCL is specified twice. Please check

Field BNFPO in table MC02M_0SCL is specified twice. Please check

 

No OSS or SDN notes about this problem

 

Normaly I would log in into the shadow instance, and adjust the stucture myself. But only DDIC and SAP* are allowed to logon, and those users are not allowed to make changes in customer's system

 

So I created an extra 'normal' user as a copy of DDIC in the shadow instance as mentioned in the upgrade manual. But that user can not logon: 'Upgrade still running: Logon not possible'

Even after 'tp unlocksys'

 

SE06 and SCC4 settings do allow for changes

 

How can I logon as a normal user so I can change a structure during an upgrade?

 

Help appreciated, Paul Hoogendoorn

R47 Delete session 003 after error 023

$
0
0

Hi all,

 

Some of our users are experiencing disconnections when running a

customized upload program. The details for the SM21 logs are as follows:

 

R0H Error handling canceled

R47 Delete session 001 after error 023

Q0G Request (type DIA) cannot be processed

 

I can't find any appropriate SAP note for the error. Please help. Thanks.

ERROR IN PHASE PREP_INIT/VALCHK_INI EHP4 INSTALLATION THROUGH EHPI

$
0
0

Hello,

 

We are facing problem in EHP4 installation.

Error:

START OF PHASE PREP_INIT/VALCHK_INI

 

SEVERE ERROR: SAP_ABA                        is in an undefined state,

              that is not safe to be upgraded !!!

              Reason: Upgrade wasn't completed.

              Call the SAP Support!!!

           - "continue"

            - "cancel"

Enter one of these options [continue] := continue

ERROR: Component 'SAP_ABA'' is in an undefined state 'Upgrade wasn't completed' - maybe upgrade was not reset?

We realized the problem was caused due to termination of EHPI gui(Staging server reboot).

Now as we trying to start it again we are facing above issus.

We reffered note:Note 1251735 - Add. Info. - SAP Enhancement Package Installer (7.10/5)

**************************************************************************************************************************************************

Phase: VALCHK_INI

Description: In this phase, an error can occur when you have incorrectly tried to reset the enhancement package installation. For example, you have not used the "Back" button on the GUI or the "Reset Installation" command from the menu bar. Instead, you have just aborted SAPehpi and deleted the installation directory. This results in an inconistent state in the system and a failure in phase VALCHK_INI when you start the installation program again.

 

 

If you were in one of the preparation roadmap steps when you tried to reset the installation, proceed as follows:

Procedure for UNIX and Windows:

 

      1. Change to the EHPI/abap/bin directory (Windows: EHPI\abap\bin)

 

      2. Enter the following command:

 

           ./SAPehpi reset prepare (Windows: .\SAPehpi. exe reset prepare)

 

      3. Delete the EHPI directory.

 

      4. Start SAPehpi again.

 

Procedure for IBM i:

 

      1. Start Qshell by entering the command QSH.

 

      2. Enter the following commands:

 

           cd <base directory>/EHPI/abap/bin

 

           export LIBPATH=.

 

           ./SAPehpi reset prepare

 

      3. Delete the EHPI directory.

 

      4. Start SAPehpi again.

 

 

If you already had reached the Preprocessing roadmap step, then contact SAP Support.

************************************************************************************************************************************************

As suggested we raised the OSS Message but i guess SAP is taking time to solve their mess.

Due to urgency, we appreciate your inputs.

 

Regards,

Prasad

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

ABAP programming standards for SELECT...ORDER BY....

$
0
0

I recently saw a set of programming standards that stated it was better not to use an ORDER BY clause on a SELECT statement. Instead SELECT into an internal table and use SORT. The actual statement was....."In most cases it is preferable to do the sorting within the ABAP program instead of on the database server.  That means: fill the internal table via a SELECT statement and then sort via the SORT statement instead of coding a SELECT u2026 ORDER BY.  The sorting of large amounts of data on the database server affects the performance of all users on the system, whereas the sorting within the ABAP program u2018onlyu2019 affects the application server.  However, if an index exists on the table that can be used for the sorting then the SELECT u2026 ORDER BY doesnu2019t cause any undue strains on the system."

 

I think this is no longer correct particularily with regards to Systemi/iSeries which we normally run in 2 tier mode.

 

What are people opinion on this?

DBCON connection issue...

$
0
0

Hi,

 

I'm trying to setup DBACOCKPIT in our Solution Manager to check the database in the other SAP systems, some of them live in remote iSeries. I've seen that a DBCON entry is created like this one:

 

AS4_HOST=<host>;AS4_CON_TYPE=SOCKETS;AS4_DB_LIBRARY=R3<SID>DATA;AS4_NQE_OPTIMIZE_METHOD=F;AS4_DB_RDBNAME=<SID>;

 

I've setup the connection with user <SID>ADM.

 

This connection is failing:

 

ERROR Database connection %_E30_CS02: ADBC error 'Internal error         16  has occured'

 

But I cannot find any reason in logs. In SAP wp appears a generic message like 'CPFB752 occured. Refer to job log', but the corresponding log for QXDARECVR is not saved.

 

If I change the user of connection and I use QSECOFR, the connection works. But I don't know the way to find what authorizations are missing.

 

Any idea ?

 

Regards,

Joan

/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


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.

 

SWDC and available KERNEL components 7.21 7.41

$
0
0

what about the (red marked) missing software-components within Kernel_7.41 download areas ?

i compared all available downloads (on may, 07  2015)

SAP_download_Kernel-components.png

 

in Kernel_7.41 - why are these components missing in Kernel 7.41 downloads ?

should customer use older components from Kernel 7.21 or 7.20_EXT ? - or are these separate downloads now obsolete ?

 

what about SAPSLDREG

 

what about SNMPLIB

 

what about MDX

 

what about SAPEVT

 

what about SAPKPROTP

 

what about SAPLICENSE

 

what about SAPPFPAR

 

what about SAPROUTER

 

what about SAPXPG

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

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?

GoLive Check

$
0
0

Hi Sap Experts,

 

My clients SAP is going to be live before that I want to do pre golive check from sap.

How to do pre golive check , Please suggest the procedure

 

Thanks & Regards

Vinay Patel

Viewing all 524 articles
Browse latest View live


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