cancel
Showing results for 
Search instead for 
Did you mean: 

SM21 System log record

Former Member
0 Kudos

Hi Experts,

My SAP system not recording the SAP system log for 24 hours. 

I see that the following time only system records its sap log files.

Start time: 06:51:23

End time : 20:00:24

After operation mode change switch to night mode, its not recording.

But its records after day mode switch.

Please let us know how to fix this issue,.

Thanks

Thiru.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Can you post the current WP Distribution in your system ( After Op. Mode switch ).

I think we need to have at least 1 DIA Process to update the System log.

Regards,

Mudasir.

Former Member
0 Kudos

Hi Mudasir,Vimal,

Thank you for your quick info.

The following are my SM21 log file.

Date : 17.02.13

20:00:06 BTC 22 701 SAP_XXXX       R0K Mode 001 of user XXXx manually terminated
20:00:06 BTC 22 701 SAP_XXXX       R0K Mode 001 of user XXXX manually terminated
20:00:06 BTC 22 701 SAP_XXXX       R0K Mode 001 of user XXXX manually terminated
20:00:06 BTC 22 701 SAP_XXXXX       R0K Mode 001 of user XXXX manually terminated
20:00:07 DIA 00 701 RXEXNA         VA03 R47 Delete session 001 after error 020
20:00:07 DIA 01 701 CxHIxE         VA03 R47 Delete session 001 after error 020
20:00:07 DIA 04 701 Y-IxNAxBxA      STAR R47 Delete session 001 after error 020
20:00:07 DIA 10 701 KxKxxO       VL10 R47 Delete session 001 after error 020
20:00:38 DIA 01 000 SAPSYS            EEA OPERATION MODES: Switch to operation mode


20:00:38 DP                           Q0V Work process 0 was switched from request type DIA to BTC
20:00:38 DP                           Q0V Work process 2 was switched from request type DIA to BTC
20:00:38 DP                           Q0V Work process 3 was switched from request type DIA to BTC
20:00:38 DP                           Q0V Work process 4 was switched from request type DIA to BTC
20:00:38 DP                           Q0V Work process 5 was switched from request type DIA to BTC
20:00:38 DP                           Q0V Work process 6 was switched from request type DIA to BTC

                     System Log: Local Analysis of XXXXXXX                    6
Date : 18.02.13

Time     Ty. Nr Cl. User         Tcod MNo Text

06:51:15 DIA 08 000 SAPSYS            BYM SQL error 11 . Work processes in reconnect status
06:51:15 DIA 08 000 SAPSYS            R68 Perform rollback
06:51:15 DIA 08 000 SAPSYS            BYY Work process has left reconnect status
06:51:18 DIA 08 000 SAPSYS            AB0 Run-time error "DBIF_REPO_SQL_ERROR" occurred
06:51:18 DIA 08 000 SAPSYS            BY2 Database error 0 at EXE

2.

Productive instances and their WP distribution

Host Name    Server Name          Instance Profile
                             OP Mode              Dia  BP BPA Spo Upd Up2 Enq Sum


HJLA007      HJLA007_R07_00       R07_DVEBMGS00_HJLA007
                             Day mode           16   4   -   1   5   2   1  29     [08:00 - 20:00]
                             Night mode         10  10   -   1   5   2   1  29    [20:00 - 08-00]

3. Found that this month, only one day its recorded the log around 21:20:17PM.  other days its recorded duing the night mode.

  "Connection to user xxxxxxxxxxx terminal lost".

I am not sure , whether really  is there any issues,

Our client end user will not use the system during the night mode timing.

Please advise how to fix this issue?

Thanks

Thiru

Former Member
0 Kudos

Hello,

You seems to have sufficient no. of WPs.

You can check if there is really any issue in your system by switching the Operation modes manually with RZ03 and then Log-off any user (Tcode SM04 ) / Kill any running WP ( SM50 ) and see if any entries are updated in SM21 logs.  You can kill the sessions / user-log off  for your user-id too so that others are not affected.

If the SM21 logs still doesn't updates then you can check & attach the Dispatcher / WP trace for more clues.

Please check and revert back.

Regards,
Mudasir.

Former Member
0 Kudos

Hi Thiru,

   Check whether atleast one work processes is available for each work processes.

Secondly, please check what is the last system message before the operational mode switch happens.

THanks and Regards,

Vimal