DB2 logs are full

Hi All,
We install SRM system with DB2 9.1, We have using logarchmeth1. The log directory /db2/SID/log_dir is getting full every time.
We are taking full online backup including logs every week for the Development server.
Can i delete the logs in the log_dir..? as we are taking full online backup including logs. And we dont have tape to take backup of archive logs.
Please suggest..
Regards,
Sreekanth

Hi All,
Please find the db2 config parameters below. please suggest is it ok or need to change any thing.
H:\db2\db2srd\db2_software\BIN>db2 get db cfg for SRD
       Database Configuration for Database SRD
Database configuration release level                    = 0x0b00
Database release level                                  = 0x0b00
Database territory                                      = en_US
Database code page                                      = 1208
Database code set                                       = UTF-8
Database country/region code                            = 1
Database collating sequence                             = IDENTITY_16BIT
Alternate collating sequence              (ALT_COLLATE) =
Database page size                                      = 16384
Dynamic SQL Query management           (DYN_QUERY_MGMT) = DISABLE
Discovery support for this database       (DISCOVER_DB) = ENABLE
Restrict access                                         = NO
Default query optimization class         (DFT_QUERYOPT) = 5
Degree of parallelism                      (DFT_DEGREE) = 1
Continue upon arithmetic exceptions   (DFT_SQLMATHWARN) = NO
Default refresh age                   (DFT_REFRESH_AGE) = 0
Default maintained table types for opt (DFT_MTTB_TYPES) = SYSTEM
Number of frequent values retained     (NUM_FREQVALUES) = 10
Number of quantiles retained            (NUM_QUANTILES) = 20
Backup pending                                          = NO
Database is consistent                                  = NO
Rollforward pending                                     = NO
Restore pending                                         = NO
Multi-page file allocation enabled                      = YES
Log retain for recovery status                          = NO
User exit for logging status                            = YES
Self tuning memory                    (SELF_TUNING_MEM) = ON
Size of database shared memory (4KB)  (DATABASE_MEMORY) = 2795520
Database memory threshold               (DB_MEM_THRESH) = 10
Max storage for lock list (4KB)              (LOCKLIST) = AUTOMATIC
Percent. of lock lists per application       (MAXLOCKS) = AUTOMATIC
Package cache size (4KB)                   (PCKCACHESZ) = AUTOMATIC
Sort heap thres for shared sorts (4KB) (SHEAPTHRES_SHR) = AUTOMATIC
Sort list heap (4KB)                         (SORTHEAP) = AUTOMATIC
Database heap (4KB)                            (DBHEAP) = 25000
Catalog cache size (4KB)              (CATALOGCACHE_SZ) = 2560
Log buffer size (4KB)                        (LOGBUFSZ) = 1024
Utilities heap size (4KB)                (UTIL_HEAP_SZ) = 10000
Buffer pool size (pages)                     (BUFFPAGE) = 10000
Max size of appl. group mem set (4KB) (APPGROUP_MEM_SZ) = 128000
Percent of mem for appl. group heap   (GROUPHEAP_RATIO) = 25
Max appl. control heap size (4KB)     (APP_CTL_HEAP_SZ) = 1600
SQL statement heap (4KB)                     (STMTHEAP) = 5120
Default application heap (4KB)             (APPLHEAPSZ) = 4096
Statistics heap size (4KB)               (STAT_HEAP_SZ) = 15000
Interval for checking deadlock (ms)         (DLCHKTIME) = 10000
Lock timeout (sec)                        (LOCKTIMEOUT) = 3600
Changed pages threshold                (CHNGPGS_THRESH) = 40
Number of asynchronous page cleaners   (NUM_IOCLEANERS) = AUTOMATIC
Number of I/O servers                   (NUM_IOSERVERS) = AUTOMATIC
Index sort flag                             (INDEXSORT) = YES
Sequential detect flag                      (SEQDETECT) = YES
Default prefetch size (pages)         (DFT_PREFETCH_SZ) = 32
Track modified pages                         (TRACKMOD) = ON
Default number of containers                            = 1
Default tablespace extentsize (pages)   (DFT_EXTENT_SZ) = 2
Max number of active applications            (MAXAPPLS) = AUTOMATIC
Average number of active applications       (AVG_APPLS) = AUTOMATIC
Max DB files open per application            (MAXFILOP) = 1950
Log file size (4KB)                         (LOGFILSIZ) = 16380
Number of primary log files                (LOGPRIMARY) = 20
Number of secondary log files               (LOGSECOND) = 40
Changed path to log files                  (NEWLOGPATH) =
Path to log files                                       = H:\db2\SRD\log_dir\NO
DE0000\
Overflow log path                     (OVERFLOWLOGPATH) =
Mirror log path                         (MIRRORLOGPATH) =
First active log file                                   = S0002249.LOG
Block log on disk full                (BLK_LOG_DSK_FUL) = YES
Percent max primary log space by transaction  (MAX_LOG) = 0
Num. of active log files for 1 active UOW(NUM_LOG_SPAN) = 0
Group commit count                          (MINCOMMIT) = 1
Percent log file reclaimed before soft chckpt (SOFTMAX) = 300
Log retain for recovery enabled             (LOGRETAIN) = OFF
User exit for logging enabled                (USEREXIT) = OFF
HADR database role                                      = STANDARD
HADR local host name                  (HADR_LOCAL_HOST) =
HADR local service name                (HADR_LOCAL_SVC) =
HADR remote host name                (HADR_REMOTE_HOST) =
HADR remote service name              (HADR_REMOTE_SVC) =
HADR instance name of remote server  (HADR_REMOTE_INST) =
HADR timeout value                       (HADR_TIMEOUT) = 120
HADR log write synchronization mode     (HADR_SYNCMODE) = NEARSYNC
First log archive method                 (LOGARCHMETH1) = DISK:H:\db2\SRD\log_d
ir\NODE0000\
Options for logarchmeth1                  (LOGARCHOPT1) =
Second log archive method                (LOGARCHMETH2) = OFF
Options for logarchmeth2                  (LOGARCHOPT2) =
Failover log archive path                (FAILARCHPATH) =
Number of log archive retries on error   (NUMARCHRETRY) = 5
Log archive retry Delay (secs)         (ARCHRETRYDELAY) = 20
Vendor options                              (VENDOROPT) =
Auto restart enabled                      (AUTORESTART) = ON
Index re-creation time and redo index build  (INDEXREC) = SYSTEM (RESTART)
Log pages during index build            (LOGINDEXBUILD) = OFF
Default number of loadrec sessions    (DFT_LOADREC_SES) = 1
Number of database backups to retain   (NUM_DB_BACKUPS) = 12
Recovery history retention (days)     (REC_HIS_RETENTN) = 60
TSM management class                    (TSM_MGMTCLASS) =
TSM node name                            (TSM_NODENAME) =
TSM owner                                   (TSM_OWNER) =
TSM password                             (TSM_PASSWORD) =
Automatic maintenance                      (AUTO_MAINT) = ON
   Automatic database backup            (AUTO_DB_BACKUP) = OFF
   Automatic table maintenance          (AUTO_TBL_MAINT) = ON
     Automatic runstats                  (AUTO_RUNSTATS) = ON
     Automatic statistics profiling    (AUTO_STATS_PROF) = OFF
       Automatic profile updates         (AUTO_PROF_UPD) = OFF
     Automatic reorganization               (AUTO_REORG) = OFF
And i have cut and pasted the old logs to another location.
Regards,
Sreekanth

Similar Messages

  • File system logs are Full

    In my Database and Application Server,
    mount point /sapmnt/D01/global
    WF_LOG_000000016002_017-rwxrwxrwx   1 root       sys           2936 Jun 22  2007
    WF_LOG_000000016003_017-rwxrwxrwx   1 root       sys           2936 Jun 22  2007
    WF_LOG_000000016004_017-rwxrwxrwx   1 root       sys           2936 Jun 22  2007
    WF_LOG_000000016005_017-rwxrwxrwx   1 root       sys           2936 Jun 22  2007
    WF_LOG_000000016006_017-rwxrwxrwx   1 root       sys          26225 Jun 22  2007
    WF_LOG_000000066004_017-rwxrwxrwx   1 root       sys           5548 Jun 22  2007
    WF_LOG_000000066005_017-rwxrwxrwx   1 root       sys          29140 Jun 22  2007
    WF_LOG_000000066006_017-rwxrwxrwx   1 root       sys          24134 Jun 22  2007
    So shall I remove this logs frm database and Application Server.
    Regards,
    santosh

    Thanx SAM,  for reply message, I use swu10 remove the log.
    but in my file system  is still showing 93 % full.
    /sampmt/D01/global      following direcory are there .
    total 15730
    drwxrwxrwx   2 root       sys         152576 Apr 16 10:35 000JOBLG
    drwxrwxrwx   2 root       sys         432128 Apr 16 18:56 017BDCLG
    drwxrwxrwx   2 root       sys        4234240 Apr 17 09:50 017JOBLG
    -rwxrwxrwx   1 root       sys              0 Jun 22  2007 ABAPPROT
    -rw-rr   1 d01adm     sapsys      416440 Apr 17 09:48 SLOGJ
    -rwxrwxrwx   1 root       sys         639432 Jun 24  2007 SLOGJ.SAV
    -rw-rr   1 d01adm     sapsys      999920 Apr 14 10:27 SLOGJO
    -rwxrwxrwx   1 d01adm     sapsys      999920 Jun 23  2007 SLOGJO.SAV
    -rw-rw----   1 d01adm     sapsys        2515 Apr 15 12:35 WF_LOG_000000125004_017
    -rwxrwxrwx   1 d01adm     sapsys         160 Jun 25  2007 dev_sapstart
    -rwxrwxrwx   1 d01adm     sapsys         270 Jun 24  2007 ms_acl_info
    drwxrwxrwx   2 d01adm     sapsys        1024 Apr 13 09:26 sapcontrol
    drwxrwxrwx   4 d01adm     sapsys          96 Jun 24  2007 security
    pwd
    /sapmnt/D01/global
    shall I remove this logs directory..
    Regards,
    Santosh

  • LiveCach problem with log Area

    In LiveCache monitoring I can see the message: "Log area full - back up log!"
    I use the RSLVCBACKUP interactively with the parameter "Complete Data Backup". After running an error is displayed:
    "Failed to determine media (Database connection: LCA)
    Message no. LVC505 ".
    Is it true I'm doing taking such measures for Log Area Backup. And if all true, how can I avoid mistakes LVC505?

    Sounds like you did not configure a backup medium for your liveCache.
    To get rid of the log-full situation you may just use DBMGUI now and take a full backup and activate autolog backup afterwards.
    Once this is done you may check what's wrong with your report usage.
    regards,
    Lars

  • Log area is full

    Hi SAPDB Gurus,
    Our quality box live cache log area has become full and when I try to run a log backup I get below message.
    -24755,ERR_SESSIONLIMIT: No session of type 'User' available
    -24994,ERR_RTE: Runtime environment error
    2,utility session is already in use
    I had increased the MAXUSERTASKS parameter dynamically , again I am unable to take log backup.
    I tried shutting down the live cache, but this is also not stopping.
    can somebody help me here ?, as currently my quality APO box down because of this.
    My APO version is SCM5.0, LIVE cache 7.6.04 and OS is windows server 2003.
    Thanks,
    Chetan

    Chetan Ramachandra wrote:>
    > Hi SAPDB Gurus,
    >
    > Our quality box live cache log area has become full and when I try to run a log backup I get below message.
    >
    > -24755,ERR_SESSIONLIMIT: No session of type 'User' available
    > -24994,ERR_RTE: Runtime environment error
    > 2,utility session is already in use
    Hmm... Did you start another backup before?
    > I had increased the MAXUSERTASKS parameter dynamically , again I am unable to take log backup.
    You may modify the parameter value for MAXUSERTASKS while the instance is up and running, but this would only become active with the next restart of the liveCache. This parameter is in fact not dynamically changeable.
    Besides, since your UTILITY session is already in use, changing this parameter value does not do a thing about your problem.
    There's always just one utility session possible, regardless of the MAXUSERTASKS value!
    > I tried shutting down the live cache, but this is also not stopping.
    Did you try db_stop ?
    > can somebody help me here ?, as currently my quality APO box down because of this.
    >
    > My APO version is SCM5.0, LIVE cache 7.6.04 and OS is windows server 2003.
    Well, you have to perform a log backup to resolve this issue.
    For that you have to have performed a complete data backup before.
    Alternatively you may switch the logmode to OVERWRITE if this liveCache instance does not need to be recovered at all.
    regards,
    Lars

  • DB2, Log File has reached its saturation point" DIA8309C Log file was full,

    Hello Experts,
    I have successfully installed a ECC 6.0 System-ABAP + JAVA (DB2 v9.5 windows server 2008-x64 bit).
    Kernel: 700 , Patch: 185 ; SP level : rel 700 , level 17.
    However now i suddenly cannot connect to database and SAP is down.
    C:\Users\dsqadm.DUCATI>r3trans -d
    This is r3trans version 6.14 (release 700 - 16.10.08 - 16:26:00).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = DB6                              --- DB2DB
    DFT = 'DSQ'"
    r3trans finished (0012).
    db2diag.log:-
    ADM1823E  The active log is full and is held by application handle "51886".  Terminate this application by COMMIT, ROLLBACK or FORCE APPLICATION.
    "Log File has reached its saturation point" DIA8309C Log file was full.
    "Backup pending.  Database has been made recoverable.  Backup now required."  DIA8168C Backup pending for database .
    Also, regarding DB2 licensing,i have a query:
    db2licm -l gives the following:
    C:\Users\db2dsq.DUCATI>db2licm -l
    Product name:                     "DB2 Enterprise Server Edition"
    License type:                     "CPU Option"
    Expiry date:                      "Permanent"
    Product identifier:               "db2ese"
    Version information:              "9.5"
    Enforcement policy:               "Soft Stop"
    Features:
    DB2 Database Partitioning:        "Licensed"
    DB2 Performance Optimization ESE: "Licensed"
    DB2 Storage Optimization:         "Licensed"
    DB2 Advanced Access Control:      "Not licensed"
    DB2 Geodetic Data Management:     "Not licensed"
    IBM Homogeneous Replication ESE:  "Not licensed"
    Product name:                     "DB2 Connect Server"
    License type:                     "Trial"
    Expiry date:                      "10/19/2009"
    Product identifier:               "db2consv"
    Version information:              "9.5"
    I have applied both sap and DB2 license. Is everything ok regarding licensing of DB v9.5 for using with SAP?
    I am new to DB2 database and looking for expert guidance regarding the above mentioned issues.
    Thanks,
    Rakesh

    C:\Users\db2dsq.DUCATI>db2 get dbm cfg
              Database Manager Configuration
         Node type = Enterprise Server Edition with local and remote clients
    Database manager configuration release level            = 0x0c00
    Maximum total of files open               (MAXTOTFILOP) = 16000
    CPU speed (millisec/instruction)             (CPUSPEED) = 4,723442e-007
    Communications bandwidth (MB/sec)      (COMM_BANDWIDTH) = 1,000000e+002
    Max number of concurrently active databases     (NUMDB) = 8
    Federated Database System Support           (FEDERATED) = NO
    Transaction processor monitor name        (TP_MON_NAME) =
    Default charge-back account           (DFT_ACCOUNT_STR) =
    Default database monitor switches
       Buffer pool                         (DFT_MON_BUFPOOL) = ON
       Lock                                   (DFT_MON_LOCK) = ON
       Sort                                   (DFT_MON_SORT) = ON
       Statement                              (DFT_MON_STMT) = ON
       Table                                 (DFT_MON_TABLE) = ON
       Timestamp                         (DFT_MON_TIMESTAMP) = ON
       Unit of work                            (DFT_MON_UOW) = ON
    Monitor health of instance and databases   (HEALTH_MON) = OFF

  • Maxdb Log Area is full

    When I tried to use tcode  sgen to compile 59nnn programs (sap_aba, sap_basis), the  log area got 100% full and the job stopped.  The last time I checked prior to this was more than 40K programs were compiled.
    Should have  splitted up into two batches:
    Pi_basis, sap_aba
    Sap_basis, sap_bw
    Because pi_basis and sap_bw have much less objects to be generated.
    Set Auto Log On. The good thing is system knows to pick up where it left off. Smart MiniSAP.
    Edited by: Passing By on Nov 17, 2011 4:14 AM

    Chetan Ramachandra wrote:>
    > Hi SAPDB Gurus,
    >
    > Our quality box live cache log area has become full and when I try to run a log backup I get below message.
    >
    > -24755,ERR_SESSIONLIMIT: No session of type 'User' available
    > -24994,ERR_RTE: Runtime environment error
    > 2,utility session is already in use
    Hmm... Did you start another backup before?
    > I had increased the MAXUSERTASKS parameter dynamically , again I am unable to take log backup.
    You may modify the parameter value for MAXUSERTASKS while the instance is up and running, but this would only become active with the next restart of the liveCache. This parameter is in fact not dynamically changeable.
    Besides, since your UTILITY session is already in use, changing this parameter value does not do a thing about your problem.
    There's always just one utility session possible, regardless of the MAXUSERTASKS value!
    > I tried shutting down the live cache, but this is also not stopping.
    Did you try db_stop ?
    > can somebody help me here ?, as currently my quality APO box down because of this.
    >
    > My APO version is SCM5.0, LIVE cache 7.6.04 and OS is windows server 2003.
    Well, you have to perform a log backup to resolve this issue.
    For that you have to have performed a complete data backup before.
    Alternatively you may switch the logmode to OVERWRITE if this liveCache instance does not need to be recovered at all.
    regards,
    Lars

  • DB2 Log file Management is not happening properly

    Hi experts,
    I am running SAP ERP6.0 EHP4 on DB2 9.5 FP4
    I have enabled Archive log by providing First Log Archive Method (LOGARCHMETH1) =DISK: /db2/PRD/log_archive
    I have brought down SAP & Database and started database .After starting DB ,  taken full offline backup.
    Didnu2019t change below parameters as these are replaced by LOGARCHMETH1 in newer versions as per documents.
    Log retain for recovery enabled=OFF
    User exit for logging enabled =OFF
    /db2/PRD/log_dir (Online transaction Logs) is 25% full but I couldnu2019t find even single file in /db2/PRD/log_archive
    I am suspecting DB2 Log file Management is not happening properly as I couldnu2019t find any offline transaction logs in /db2/PRD/log_archive file system
    Request you let me know where it went wrong & what could be the issue
    thanks

    Hello,
    From your post it seems that there is a space character between "DISK:" and the path you have provided.
    Maybe this is only a wrong display here in the forum.
    Nevertheless, can you check it in your system, it should rather look like DISK:/db2/PRD/log_archive.
    Can you initiate an archive command with the "db2 archive log for db prd" command.
    What does the db2diag.log tell for this archiving attempt?

  • Error in db2 log

    Dear Experts,
    I am getting error in DBACOCKPIT> Diagnostics>DB2 LOGS
    2012-02-19-12.22.14.147990   Instance:db2hsp   Node:000
    PID:6655(db2evmgi (DB2DETAILDEADLOCK) 0)   TID:13542   Appid:*LOCAL.DB2.120219065223
    database monitor  sqmEvmonWriter::activate Probe:40   Database:HSP
    ADM2017C  The Event Monitor "DB2DETAILDEADLOCK" has reached its file capacity.
    Delete the files in the target directory
    "/db2/HSP/db2hsp/NODE0000/SQL00001/db2event/db2detaildeadlock" or move them to
    another directory.
    2012-02-19-12.22.14.146817+330 I172908594A805     LEVEL: Error
    PID     : 6655                 TID  : 13542       PROC : db2sysc 0
    INSTANCE: db2hsp               NODE : 000         DB   : HSP
    APPHDL  : 0-61796              APPID: *LOCAL.DB2.120219065223
    AUTHID  : DB2HSP
    EDUID   : 13542                EDUNAME: db2evmgi (DB2DETAILDEADLOCK) 0
    FUNCTION: DB2 UDB, database monitor, sqmEvmonWriter::initTarget, probe:40
    MESSAGE : ZRC=0x800D002B=-2146631637=SQLM_RC_EVFULL "monitor full of data"
              DIA8052C The Event Monitor "" has reached its file capacity. Delete
              the files in the target directory "" or move them to another
              directory.
    DATA
    1 : String, 17 bytes
    DB2DETAILDEADLOCK
    DATA
    2 : String with size, 60 bytes
    /db2/HSP/db2hsp/NODE0000/SQL00001/db2event/db2detaildeadlock
    Please check and suggest the action ,
    Detail of the dir
    pwd
    /db2/HSP/db2hsp/NODE0000/SQL00001/db2event/db2detaildeadlock
    ll
    total 71922
    -rw-rr   1 db2hsp     dbhspadm   1759884 Sep  8 16:10 00000000.evt
    -rw-rr   1 db2hsp     dbhspadm   1848227 Sep  8 16:11 00000001.evt
    -rw-rr   1 db2hsp     dbhspadm   1961878 Sep  8 16:12 00000002.evt
    -rw-rr   1 db2hsp     dbhspadm   1632094 Sep  8 16:13 00000003.evt
    -rw-rr   1 db2hsp     dbhspadm   1851709 Sep  9 12:35 00000004.evt
    -rw-rr   1 db2hsp     dbhspadm   1212326 Sep  9 12:35 00000005.evt
    -rw-rr   1 db2hsp     dbhspadm   1961115 Sep  9 12:36 00000006.evt
    -rw-rr   1 db2hsp     dbhspadm   1260247 Sep  9 12:36 00000007.evt
    -rw-rr   1 db2hsp     dbhspadm   1726979 Sep 12 16:35 00000008.evt
    -rw-rr   1 db2hsp     dbhspadm    732948 Sep 12 17:11 00000009.evt
    -rw-rr   1 db2hsp     dbhspadm   3414664 Sep 12 17:11 00000010.evt
    -rw-rr   1 db2hsp     dbhspadm   2085314 Dec 14 17:50 00000011.evt
    -rw-rr   1 db2hsp     dbhspadm   1648997 Dec 22 18:25 00000012.evt
    -rw-rr   1 db2hsp     dbhspadm   2090323 Dec 22 18:27 00000013.evt
    -rw-rr   1 db2hsp     dbhspadm   1942290 Dec 22 18:43 00000014.evt
    -rw-rr   1 db2hsp     dbhspadm   2085419 Dec 22 18:53 00000015.evt
    -rw-rr   1 db2hsp     dbhspadm   1710761 Dec 22 18:56 00000016.evt
    -rw-rr   1 db2hsp     dbhspadm   1734018 Dec 22 18:58 00000017.evt
    -rw-rr   1 db2hsp     dbhspadm   2061125 Dec 22 18:59 00000018.evt
    -rw-rr   1 db2hsp     dbhspadm   2094507 Dec 22 19:03 00000019.evt
    -rw-r-----   1 db2hsp     dbhspadm        41 Dec 22 18:59 db2event.ctl
    Thanks
    Sadiq
    Edited by: sadiq iqbal on Feb 20, 2012 11:57 AM

    Hi ,
    You may delete the old event files or move the older event files to other location.
    Alternatively you may de-activate the events.
    select evmonname, autostart, target from syscat.eventmonitors;
    This will give you the list of defined monitors, along with their autostart flag ('Y' means it starts automatically), and directories where their output goes.
    You can then check each monitor's status by:
    values (event_mon_state('<monitor name, case sensitive>'));
    1 means the corresponding monitor is active.
    Deactivate it by:
    set event monitor <monitor name> state 0;
    Regards,
    Deepak Kori

  • Logs are creating frequently

    Our production server logs are creating frequently and system is down simultaneously.
    Any suggestions

    Hi,
    you could also consider using infinite logging, (as of DB2 v 8). This means is possible to support environments with large jobs that require more log space than you would normally allocate to the primary logs. For this, the database configuration parameter LOGSECOND must be set to -1
    Please refer to SAP note  1493587
    regards, Javier

  • How to determine which archive logs are needed in flashback.

    Hi,
    Let's assume I have archive logs 1,2,3,4, then a "backup database plus archivelogs" in RMAN, and then archive logs 5+6. If I want to flashback my database to a point immediately after the backup, how do I determine which archive logs are needed?
    I would assume I'd only need archive logs 5 and/or 6 since I did a full backup plus archivelogs and the database would have been checkpointed at that time. I'd also assume archive logs 1,2,3,4 would be obsolete as they would have been flushed to the datafiles in the checkpoint.
    Are my assumptions correct? If not what queries can I run to determine what files are needed for a flashback using the latest checkpointed datafiles?
    Thanks.

    Thanks for the explanation, let me be more specific with my problem.
    I am trying to do a flashback on a failed primary database, the only reason why I want to do a flashback is because dataguard uses the flashback command to try and synchronize the failed database. Specifically dataguard is trying to run:
    FLASHBACK DATABASE TO SCN 865984
    But it fails, if I run it manually then I get:
    SQL> FLASHBACK DATABASE TO SCN 865984;
    FLASHBACK DATABASE TO SCN 865984
    ERROR at line 1:
    ORA-38754: FLASHBACK DATABASE not started; required redo log is not available
    ORA-38761: redo log sequence 5 in thread 1, incarnation 3 could not be accessed
    Looking at the last checkpoint I see:
    CHECKPOINT_CHANGE#
    865857
    Also looking at the archive logs:
    RECID STAMP THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIM NEXT_CHANGE# RESETLOGS_CHANGE# RESETLOGS
    25 766838550 1 1 863888 10-NOV-11 863892 863888 10-NOV-11
    26 766838867 1 2 863892 10-NOV-11 864133 863888 10-NOV-11
    27 766839225 1 3 864133 10-NOV-11 864289 863888 10-NOV-11
    28 766839340 1 4 864289 10-NOV-11 864336 863888 10-NOV-11
    29 766840698 1 5 864336 10-NOV-11 865640 863888 10-NOV-11
    30 766841128 1 6 865640 10-NOV-11 865833 863888 10-NOV-11
    31 766841168 1 7 865833 10-NOV-11 865857 863888 10-NOV-11
    How can I determine what archive logs are needed by a flashback command? I deleted any archive logs with a SCN less than the checkpoint #, I can restore them from backup but I am trying to figure out how to query what is required for a flashback. Maybe this coincides with the point that flashbacks have nothing to do with the backups of datafiles or the checkpoints?

  • Whether t-logs are truncated in DB's particpating in High Availability. SQLAlways On 2012

    Hi,
    How the transaction logs are cleared for DB's participating in SQL AlwaysOn.I have a DB participating in HA.Now in order to use alwaysON DB recovery model should be set to full. NOw  with this recovery model my transaction logs will grow continuously.
    How t-logs can be cleared for the DB's participating in AG. Is there any recommendation?
    Thanks
    Manish

    Hello,
    Have you scheduled log backup on primary.Secondary replica might be  applying transaction log records of this database to a corresponding secondary database.
    Whats does below query returns
    select name,log_resuse_wait_desc from sys.databases where name='db_name'
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Archive The Log When Full Disabled

    Currently I'm having problem in setting up auto archive log for "Applications and Services Logs > Microsoft > Windows > Application Server - Applications > Debug", because the option is disabled (I've disabled the log to setup the properties).
    Please take a look screenshot below:
    How to choose "Archive the log when full, do not overwrite events"? Thanks in advance.

    Hi ,
    "How to choose "Archive the log when full, do not overwrite events"?"
    Generally , you need to enable logging then you can choose the action after the log size is reached .
     If this machine is domain joined , you can edit the domain policy on DC :
    computer configuration \windows settings \security settings \event log
    The Retention method for event log policy settings determine the wrapping method for the application, security, and system logs .
    Best Regards
    Elton JI
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.
    I've tried to enable the log and make the maximum size reached, but I still can't choose automatically archive log:
    and also take a look a screenshot below, it is a different type of event (Operational) and it shows us that I can choose Archive the log when full without activating it and make it reach its maximum log size:
    How to solve this issue? Thanks in advance.

  • Transation log is full in QAS server

    Hi gurus
    Need ur help. os windows 2003 database sql2005 sap ver ECC6.0. Transation log is full in QAS server. How can i shrink the transaction log of qas server. for that should we have to take full backup of database. please give me the step of shrink transation log file .
    Thanks in advance
    Regards,
    Jayant

    Hi,
    Pls follow the steps
    1. Back up the transaction log file to make most of the active virtual log files inactive. Therefore, the inactive virtual log files can be removed in a later step. To do this, run a Transact-SQL statement that is similar to the following Transact-SQL statement.
    BACKUP LOG <DatabaseName> TO DISK = '<BackupFile>'
    Note In this statement, <DatabaseName> is a placeholder for the name of the database that you are backing up. In this statement, <BackupFile> is a placeholder for the full path of the backup file.
    For example, run the following Transact-SQL statement.
    BACKUP LOG TestDB TO DISK='C:\TestDB1.bak'
    2. Shrink the transaction log file. To do this, run a Transact-SQL statement that is similar to the following Transact-SQL statement.
    DBCC SHRINKFILE (<FileName>, <TargetSize>) WITH NO_INFOMSGS
    Note In this statement, <FileName> is a placeholder for the name of the transaction log file. In this statement, <TargetSize> is a placeholder for the target size that you want the transaction log file to be. The target size must be reasonable.
    For example, you cannot shrink the transaction log file to a size that is less than 2 virtual log files.
    3. If the DBCC SHRINKFILE statement does not shrink the transaction log file to the target size, run the BACKUP LOG statement that is mentioned in step 1 to make more of the virtual log files inactive.
    4. Run the DBCC SHRINKFILE statement that is mentioned in step 2. After this operation, the transaction log file should be similar to the target size.
    Hope it helps
    Regards
    KT

  • The system log is full with this !!!   Can you help me?

    Hi gurus, please, I need your help.
    Our log is fulled with an error ( I mean aroung 10 MB of logs with the same error)
    Please, !! We are in SP15 EP 7.0
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:111)
         at java.util.zip.ZipFile.<init>(ZipFile.java:127)
         at com.sapmarkets.bam.jmxadapter.AbstractLog.getArchiveInfo(AbstractLog.java:328)
         at com.sapmarkets.bam.jmxadapter.AbstractLog.getArchives(AbstractLog.java:455)
         at com.sapmarkets.bam.jmxadapter.AbstractLog.getArchives(AbstractLog.java:478)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.getAttribute(DefaultMBeanInvoker.java:129)
         at javax.management.StandardMBean.getAttribute(StandardMBean.java:229)
         at com.sap.pj.jmx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1296)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.getAttribute(MBeanServerWrapperInterceptor.java:181)
         at com.sap.engine.services.jmx.CompletionInterceptor.getAttribute(CompletionInterceptor.java:309)
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.getAttribute(BasicMBeanServerInterceptor.java:169)
         at com.sap.jmx.provider.ProviderInterceptor.getAttribute(ProviderInterceptor.java:195)
         at com.sap.engine.services.jmx.RedirectInterceptor.getAttribute(RedirectInterceptor.java:232)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.getAttribute(MBeanServerSecurityWrapper.java:234)
         at com.sap.engine.services.jmx.ClusterInterceptor.getAttribute(ClusterInterceptor.java:522)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
         at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.getLogInfo(LogControllerFacade.java:227)
         at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.getLogInfosWithPattern(LogControllerFacade.java:193)
         at com.sapmarkets.bam.logcontroller.jmx.LogControllerFacade.getLogInfos(LogControllerFacade.java:174)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.getAttribute(DefaultMBeanInvoker.java:129)
         at javax.management.StandardMBean.getAttribute(StandardMBean.java:229)
         at com.sap.pj.jmx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1296)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.getAttribute(MBeanServerWrapperInterceptor.java:181)
         at com.sap.engine.services.jmx.CompletionInterceptor.getAttribute(CompletionInterceptor.java:309)
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.getAttribute(BasicMBeanServerInterceptor.java:169)
         at com.sap.jmx.provider.ProviderInterceptor.getAttribute(ProviderInterceptor.java:195)
         at com.sap.engine.services.jmx.RedirectInterceptor.getAttribute(RedirectInterceptor.java:232)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.getAttribute(MBeanServerSecurityWrapper.java:234)
         at com.sap.engine.services.jmx.ClusterInterceptor.getAttribute(ClusterInterceptor.java:522)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.getAttribute(MBeanServerInterceptorChain.java:124)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.tc.logviewer.mbean.LocalLVMBeanServer.invoke(LocalLVMBeanServer.java:73)
         at $Proxy165.getAttribute(Unknown Source)
         at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.getAttribute(AbstractLogDepot.java:236)
         at com.sapmarkets.bam.application.logdepot.AbstractLogDepot.getLogDescriptors(AbstractLogDepot.java:84)
         at com.sap.tc.logviewer.mbean.ServerModelLogDepot.getLogDescriptors(ServerModelLogDepot.java:79)
         at com.sap.tc.logviewer.mbean.ServerModelLogDepotGroup$GetLogDescriptorsTask.run(ServerModelLogDepotGroup.java:60)
         at com.sap.tc.logviewer.mbean.ServerModelLogDepotGroup.execute(ServerModelLogDepotGroup.java:173)
         at com.sap.tc.logviewer.mbean.ServerModelLogDepotGroup.getLogDescriptors(ServerModelLogDepotGroup.java:119)
         at com.sap.tc.logviewer.mbean.LogviewerServer.getLogs(LogviewerServer.java:137)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
         at javax.management.StandardMBean.invoke(StandardMBean.java:286)
         at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
         at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
         at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:409)
         at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
         at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:258)
         at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
         at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:776)
         at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
         at com.sap.tc.logviewer.client.j2ee.J2EELogviewerServerInvoker.invoke(J2EELogviewerServerInvoker.java:111)
         at com.sap.tc.logviewer.client.j2ee.J2EELogviewerServerProxy.getLogs(J2EELogviewerServerProxy.java:105)
         at com.sap.tc.logviewer.client.base.LogviewerClientImpl.getLogs(LogviewerClientImpl.java:114)
         at com.sap.lm.webadmin.logviewer.impl.LV_View.getLogs(LV_View.java:865)
         at com.sap.lm.webadmin.logviewer.impl.LV_View.fetchLogs(LV_View.java:834)
         at com.sap.lm.webadmin.logviewer.impl.LV_View.fetchView(LV_View.java:516)
         at com.sap.lm.webadmin.logviewer.impl.LV_View.fetchView(LV_View.java:496)
         at com.sap.lm.webadmin.logviewer.impl.LV_View.fetchView(LV_View.java:492)
         at com.sap.lm.webadmin.logviewer.impl.LVUI.openView(LVUI.java:609)
         at com.sap.lm.webadmin.logviewer.impl.LVUI.openView(LVUI.java:577)
         at com.sap.lm.webadmin.logviewer.impl.LVUI.openView(LVUI.java:573)
         at com.sap.lm.webadmin.logviewer.LVView.onActionOpenSingleView(LVView.java:1648)
         at com.sap.lm.webadmin.logviewer.wdp.InternalLVView.wdInvokeEventHandler(InternalLVView.java:1560)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Thanks in advance

    Hi,
    have you take a look at SAP Note 701330 ?
    One thread looking like your problem :
    Re: error in opening zip file after Patch 4 HF6 install
    Fabien.

  • APO: Message number 999999 reached. Log is full

    Hi,
    We are running program in background to close order with FM BAPI_SALESORDER_CHANGE.
    The job is failing with messages in Job Log
    APO: Message number 999999 reached. Log is full
    APO: Task handler for transaction IZVSlIkXAQxX0000bkikP 0 has not been registered
    Please can you provide some pointer to stop these messages in LOG or disable the LOG. These messages are coming after FM AVAILABILITY_CHECK (Include LATP4FA0).
    What is reason for these messages and what is solution for this problem.
    Thanks,
    Dipak

    how many line items in that SO ?...i think its a prob with ur coding /way of calling that BAPI.
    i think u cannt deactivate application log creation.
    tcode: SLG0
    regards
    Prabhu

Maybe you are looking for

  • My macbook pro isn't connecting to any wifi. HELP?!

    My macbook had all of a sudden stopped connecting to my wifi, I've restarted it and still nothing worked. I've tried to connect my macbook to other wifi's and still the same, it has a tick next to the correct wifi but says 'no internet connection' bu

  • Service command in Preview.app - Send PDF as attachment doesn't work

    I have used the following workflow for month on all my three macs. I open up a PDF file in Preview and select "eMail PDF as attachment" from the Edit menu at the top of the screen. This will attach the current viewed PDF file to a new mail message. I

  • Zero Balance to call

    Hi Friends, M confused with things happening with my Curve 8500! Few weeks back I downloaded some Blackberry supported themes and since then, whenever I try to call someone, the call automatically gets disconnected stating Zero balance! But at the sa

  • What is image dpi after "Reduce Image File Size"

    Does anyone know the resulting image dpi after using the "Reduce Image File Size" command in pages? My mother is trying to prepare some things for pre-press, and can't send her document to the printing press, because the pages docs are friggin huge!

  • Make a word doc

    I have a to enter data into a word document and then email it out. So far, I have Saved the word document as htm, which created 5 extra files of the header and images within it. Edited the main document to include db sourced data, and pointed the ori