Error log not getting written

Hello there,
I had to edit the errors file in DS7.0 version but after that DS7.0 is not writing anything into errors file, although i dd not change any permission. I just opened the file and deleted few lines and now errors logs are not written anymore.
Any idea how to solve this issue?

Usually restarting slapd does the trick. Worst case, you might need to stop the server, move all files out of the logs directory, and restart. If that doesn't work, then there's probably something wrong with the system or the configuration.
I've never tried it, but the rotate-now function might fix it too.

Similar Messages

  • OSD Logs not getting written to SLShare

    We have the SLShare defined in the CustomSettings.ini as..
    SLShare=\\<servername>\Logs$
    SLShareDynamicLogging=\\<servername>\OSDLogs$
    Logs used to get written to both locations with no issue.  Over the past couple of months, no logs get written to either location.  Shares have been recreated and still nothing.. Checked the permissions, nothing has changed. 
    Ideas?

    I do apologize for not getting a lot more info
    Been a bad week with other issues and trying to clear up some old questions and concerns - this being one of them....
    During the WinPE phase of the deployment, we’ve connected to the SLSHare with the account that we use for joining the domain, that account connects without any issue.
    In the ZTIGather.log what we see when we compare existing logs taken from the local drive on a machine that’s been imaged or in the process of imaging, to the logs up on the server that were centrally stored shows that the Property
    SLSHare is now = \\<servername>\Logs$
    In the logs extracted from the local drives(..Windows\CCM\Logs\) of machines that have been imaged in the past couple of months, that Property value does not exist, but we also see the following highlighted errors in the logs
    which are not in the logs centrally stored on the server from a couple of months back.  We have verified that the file
    Microsoft.BDD.Utility.dll is in the correct location for
    … Toolkit Package\Tools\x86 and …Toolkit Package\Tools\x64.
    Finished getting network info    ZTIGather            11/5/2014 10:29:11 AM  0 (0x0000)
    Getting DP info ZTIGather            11/5/2014 10:29:11 AM  0 (0x0000)
    Unable to determine ConfigMgr distribution point           ZTIGather            11/5/2014 10:29:11 AM  0 (0x0000)
    Finished getting DP info                ZTIGather            11/5/2014 10:29:11 AM  0 (0x0000)
    Getting WDS server info               ZTIGather            11/5/2014 10:29:11 AM  0 (0x0000)
    Unable to determine WDS server name, probably not booted from WDS.             ZTIGather            11/5/2014 10:29:11
    AM  0 (0x0000)
    Finished getting WDS server info              ZTIGather            11/5/2014 10:29:11 AM  0 (0x0000)
    Property HostName is now = MININT-PUPTGTH               ZTIGather            11/5/2014 10:29:11 AM 
    0 (0x0000)
    Getting asset info            ZTIGather            11/5/2014 10:29:11 AM  0 (0x0000)
    FindFile: The file x86\Microsoft.BDD.Utility.dll could not be found in any standard locations.   ZTIGather           
    11/5/2014 10:29:13 AM       0 (0x0000)
    FindFile(...\Microsoft.BDD.Utility.dll)  Result : 1              ZTIGather            11/5/2014
    10:29:13 AM  0 (0x0000)
    RUN: regsvr32.exe /s ""                ZTIGather            11/5/2014 10:29:13 AM 
    0 (0x0000)
    FindFile: The file x64\Microsoft.BDD.Utility.dll could not be found in any standard locations.   ZTIGather           
    11/5/2014 10:29:13 AM       0 (0x0000)
    FindFile(...\Microsoft.BDD.Utility.dll)  Result : 1              ZTIGather            11/5/2014
    10:29:13 AM  0 (0x0000)
    RUN: regsvr32.exe /s ""                ZTIGather            11/5/2014 10:29:13 AM 
    0 (0x0000)
    FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object           ZTIGather               
    11/5/2014 10:29:13 AM  0 (0x0000)
    Property AssetTag is now = No Asset Information            ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property SerialNumber is now = R900VB6B          ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property Make is now = LENOVO             ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property Model is now =***      ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property Product is now =***   ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property UUID is now = 08136381-5318-11CB-8777-F9DA97025E14            ZTIGather            11/5/2014 10:29:13 AM 
    0 (0x0000)
    Property Memory is now = 7851               ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property Architecture is now = X86          ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property ProcessorSpeed is now = 2701                ZTIGather            11/5/2014 10:29:13 AM 
    0 (0x0000)
    Property CapableArchitecture is now = AMD64 X64 X86 ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property IsLaptop is now = True                ZTIGather            11/5/2014 10:29:13 AM 
    0 (0x0000)
    Property IsDesktop is now = False            ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property IsServer is now = False               ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property IsUEFI is now = False   ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property IsOnBattery is now = False        ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property SupportsX86 is now = True       ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property SupportsX64 is now = True       ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property SupportsSLAT is now = True     ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Finished getting asset info           ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Getting OS SKU info        ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Unable to determine Windows SKU while in Windows PE.            ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Determining the Disk and Partition Number from the Logical Drive X:\windows  ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property OriginalArchitecture is now =   ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Getting virtualization info             ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    FindFile: The file x86\Microsoft.BDD.Utility.dll could not be found in any standard locations.   ZTIGather            11/5/2014 10:29:13 AM      
    0 (0x0000)
    FindFile(...\Microsoft.BDD.Utility.dll)  Result : 1              ZTIGather            11/5/2014
    10:29:13 AM  0 (0x0000)
    RUN: regsvr32.exe /s ""               ZTIGather            11/5/2014 10:29:13 AM 
    0 (0x0000)
    FindFile: The file x64\Microsoft.BDD.Utility.dll could not be found in any standard locations.   ZTIGather            11/5/2014 10:29:13 AM      
    0 (0x0000)
    FindFile(...\Microsoft.BDD.Utility.dll)  Result : 1              ZTIGather            11/5/2014
    10:29:13 AM  0 (0x0000)
    RUN: regsvr32.exe /s ""               ZTIGather            11/5/2014 10:29:13 AM 
    0 (0x0000)
    FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object           ZTIGather               
    11/5/2014 10:29:13 AM  0 (0x0000)
    FAILURE (Err): 424: GetVirtualizationInfo for Gather process - Object required  ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Connection succeeded to MicrosoftVolumeEncryption  ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    There are no encrypted drives   ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Property IsBDE is now = False     ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Processing the  phase.   ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Determining the INI file to use. ZTIGather            11/5/2014 10:29:13 AM  0 (0x0000)
    Finished determining the INI file to use.                ZTIGather            11/5/2014 10:29:13
    AM  0 (0x0000)

  • Error is not getting logged in error file while running dataload maxl

    Hello All,
    I am running a Maxl to load data in a database which is running fine but noted a weird issue that the errors are not getting logged in error file. Suppose i changed the name of data file then it should give error something like
    ERROR - {Error no.} - Unable to open file {filename} which should be logged in error file but my error file is still empty.
    I am using the Maxl -
    import database {dbname} data from data_file {filename} on error append to "D:/Error/errorfile.err";
    Any inputs please...
    Thanks

    Try to use single quotes and the backslash. It may depend on the operating system and /or the version of essbase used. This is an example from one of my maxls:
    on error append to 'D:\Hyperion\logfiles\myload.err';
    cheers, chris

  • Error: Could not get markup. The cookie or session is invalid or ...

    When I run the portlet getting the below error:
    Error: Could not get markup. The cookie or session is invalid or there is a runtime exception.
    I have gone through the log, it's processing the request.
    Any help on this ...

    first can you give us some idea about which product/component/platform/version are you working with. and how did you edit the 'portal prefs'.
    thanks!

  • JPA Error:Could not get a value to be injected from the factory

    HI friends ,
    I am  trying to replicate the example JPAEXample01 using JPA in CE1 from  the blogs written by
    Sabine Heider/Adrian Görler.
    During the testing of the method create employee i am getting the following error.
    "Could not get a value to be injected from the factory."
    I tried couple of examples using the above process, still held up with same error.
    Any pointers to trouble shoot this ?
    Thanks in advance
    Chandra Dasari

    HI Isaias Cristiano Barroso,
    There are lot of enries most of them pertaining to properties set to yes or no.
    out of which therre are tow errors. the log is as follows
    Message Info: Failed (javax.management.MBeanPermission,#[:j2eeType=trace,name=EndToEndCentralMBean,],isActive,getGuidByName,getTraceLevelByName,getTraceLevelByName,importTrace,isFileExistsLocally,removeTraceFile)java.lang.reflect.InvocationTargetException
    Failed (javax.management.MBeanPermission,*,DISPLAY)java.lang.reflect.InvocationTargetException
    category: com.sap.security.core.role.PermissionData
    Location:com.sap.security.core.role.PermissionData.get(ClassLoader)
    Frankly the above log is above my understanding ,Prob it may help to you undertand my the issue
    Thanks once again

  • JAPEXample01 published in sdn:error Could not get a value to be injected

    HI friends ,
    I am  trying to replicate the example JPAEXample01 using JPA in CE1 from  the blogs written by
    Sabine Heider/Adrian Görler.
    During the testing of the method create employee i am getting the following error.
    "Could not get a value to be injected from the factory."
    I tried couple of examples using the above process, still held up with same error.
    Any pointers to trouble shoot this ?
    Thanks in advance
    Chandra Dasari.

    HI Pritya Ranjan,
    Let me know the entities  and their relations ships you are using for quicker response.
    To know the proper error, use the path as mentioned
    nwa->problem management ->logs & traces->locks.
    Email the error code,
    The issue might be because of some many probabilities mentioned below.
    Point no 1
    Are you using Named queries  : If so check the queries syntax, the syntax used here is different from regulat sql queries.
    Point no 2:
    Are you using Java DIctionary  or generic  db and connecting to max db?
    check this part also
    Point no 3:
    Check your connection profile parameters:
    Point no 4 :
    Check the data-source-alias,persistence.xml and data-source.xml parameters..
    Beacuse i trouble shooted a lot on JPA's and found why the typical error's occurs.
    Regards
    chandra dasari

  • IMS-exception type "Other errors" is not getting triggered

    Hi experts,
                     I am trying out some scenarios in IMS. I want to check exception type- "Other Errors" which is a most generic exception type. I have tried many options like- removed country from partner id address, tried posting invoice after removing account assignment category but for all these invoice triggers exception- duplicate invoice which i am unable to understand. can anybody please tell me what are the settings required for exception type- other errors?
    2. I even tried exception type "missing goods receipt". Excption type is getting triggered but after creation of confirmation- the status of the exception is not getting changed to clarified. Instead it gives an error- User is locked please try after some time.
    Please help
    Regards
    Kapil

    Hi Friend,
    Please read the possible exception types in IMS
    Have you set these exception in Settings for Invoice Monitor
    Purpose
    In the Settings for Invoice Monitor application, you can make settings directly on the user interface for every exception that you wish to adjust.
    Digital signature
    For each exception, you can define whether you want to use a digital signature.
    If you use a digital signature, the field Digital Signature is active on the Adobe PDF form and the processor of the form has to sign it before sending it back.
    The system then checks that the signature is valid.
    If the signature is invalid, or the processor does not sign the form, an error message is written to the log and the e-mail is closed.
    You can assign a digital signature to a vendor in two different ways.
    ·        The user assigns a partner certificate and sends it to the vendor.
    ·        The user uses the vendor’s signature certificate. This certificate has to be registered on the ADS server. For more information, see the SAP NetWeaver Configuration Guide Interactive Forms based on Adobe Software on the SAP Service Marketplace under service.sap.com/instguidesNW2004s.
    Additionally, you can make settings for the following exceptions:
       Invoice duplicate
    This exception is triggered if you try to post an invoice that has already been posted. The two invoices are compared using criteria that you have specified. In the settings, you can define whether a notification e-mail is automatically sent in the case of an invoice duplicate exception, and to whom this e-mail is sent. Furthermore, you can tailor the duplicate check to suit your requirements. The following criteria are available:
        Consider special characters in the vendor invoice number
         Check the number of items and purchase order number
         Additionally, you can define that the invoice is automatically deleted as soon as the vendor confirms that a duplicate invoice exists.
    ¡        Fields for duplicate check
    On this tab page, you can activate the fields that are relevant for the duplicate check. Furthermore, you can define a maximum variance for each field. In other words, you define whether the data in the fields should be an exact match, or whether small differences are acceptable.
    ¡        Exclude vendor values and or invoice values
    On this tab page, you can exclude certain vendors and/or invoice values from the duplicate check. If, for example, you always receive invoices from one vendor for the same amount, you can enter this here so as to prevent unnecessary checks.
    ¡        Group vendors
    On this tab page, you can group vendors that have several vendor numbers together in a data record to facilitate the duplicate check. Entries in this table cause an update in the TREX database which might lead to a short delay.
    Regardless of your settings, the system performs a standard duplicate check (for vendor invoice numbers or vendor numbers that match exactly, for a +/- 7 day period) to ensure that these duplicates are found. If this standard check is not successful, a further check is performed using the settings that you made.
    ·        Missing external information
    This exception is triggered if you try to post an invoice that contains incomplete or incorrect information. In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by missing external information, and to whom this e-mail is sent. Furthermore, you can define whether the e-mail contains a link to the SRM System, where the missing/incorrect information can be entered directly in an interactive form.
    ·        Missing internal information
    This exception is triggered if you try to post an invoice that contains incomplete or incorrect information. In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by missing internal information, and to whom this e-mail is sent. Furthermore, you can define whether the e-mail contains a link to the SRM System, where the missing/incorrect information can be entered directly in an interactive form.
    ·        Missing goods receipt
    If no digital signature is used, two additional fields are displayed in the PDF form. The processor has to enter his first and last name into these fields before he/she sends the e-mail back.
    In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by a missing goods receipt, and to whom this e-mail is sent. You can define how long the invoice should remain with status 'Waiting for Preceding Documents' before it receives the status 'To be Corrected Manually’. Furthermore, you can define how many days pass before an e-mail is sent to the goods recipient. When the goods recipient then confirms that no goods delivery has taken place, an e-mail is automatically sent to the vendor. If the goods receipt has already taken place, you can either define that the goods recipient confirms this automatically in an interactive form, or that the goods recipient uses a link in the e-mail to confirm the goods receipt in the SRM system.
    ·        Incorrect reference
    This exception is triggered if you try to post an invoice that refers to an incorrect reference. In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by an incorrect reference, and to whom this e-mail is sent. Furthermore, you can define whether the e-mail contains a link to the SRM System.
    ·        Approval overdue
    This exception is triggered if an invoice remains in approval status for longer than allowed. You can define how long an invoice can remain in approval status before the exception is triggered.
    ·        Other errors
    This exception is triggered if you try to post an invoice that contains errors. In the settings, you can define whether a notification e-mail is automatically sent in the case of an exception caused by other errors, and to whom this e-mail is sent. Furthermore, you can define whether the e-mail contains a link to the SRM System.
    Note that the invoice is checked in accordance with the vendor tolerance limits in the case of the following exceptions: If these are exceeded, an error message is output.
    ·        Price variance
    This exception is triggered if you try to post an invoice that contains price variance that exceeds the tolerance limit. In the settings, you can define whether a notification e-mail is automatically sent in the case of a price variance, and to whom this e-mail is sent. You can stipulate that the invoice is posted automatically if the price variance is approved on account of the e-mail. Furthermore, you can define whether the e-mail contains a link to the SRM System.
    ·        Quantity variance
    This exception is triggered if you try to post an invoice that contains quantity variance that exceeds the tolerance limit. In the settings, you can define whether a notification e-mail is automatically sent in the case of a quantity variance, and to whom this e-mail is sent. You can stipulate that the invoice is posted automatically if the quantity variance is approved on account of the e-mail. Furthermore, you can define whether the e-mail contains a link to the SRM System.
    ·        Tax variance
    This exception is triggered if you try to post an invoice that contains tax variance that exceeds the tolerance limit. In the settings, you can define whether a notification e-mail is automatically sent in the case of a tax variance, and to whom this e-mail is sent. You can stipulate that the invoice is posted automatically if the tax variance is approved on account of the e-mail. Furthermore, you can define whether the e-mail contains a link to the SRM system.
    In Invoice monito system pls check the what setting is done for Duplicate  invoice, Missing GR and other invoice.
    Based on these setting only system identifies what type of exception it is.
    In other errors you should mention in Settings for Invoice Monitor  what are the fileds your consider for other exception.
    Hope this information will help.
    Thanks & Best regards
    Girish

  • Weblogic Access Logs not getting generated / updated only for Admin server

    Hi All,
    I have a query ,
    We recently noticed that the weblogic access logs for our admin server are not getting generated.
    However we checked that the access logs are getting generated for the managed servers that we have.
    There is not much difference between the logging settings between the admin and the managed servers.
    We thought that there might be some problem with the buffering and that the data might not be written to the files immediately.
    So after researching we found the parameter "-Dweblogic.logging.bufferSizeKB=0" and added that to the java options however it did not make any difference.
    Also we tried modifying the config script as ,
    <server>
    <web-server>
    <web-server-log>
    <buffer-size-kb>0</buffer-size-kb>
    </web-server-log>
    </web-server>
    </server>
    However no luck .....
    We are using weblogic 9.2 MP3 and think there might be some bug with this version , however its hard to believe that the logs are generated and updated for managed servers and not for the admin servers.
    The only thing we notice in the access logs of the admin server is 404 errors.
    Any suggestions ?
    Regards,
    Stacey.

    This has come up recently here:
    access log not writing to disk in a timely fashion
    I didn't find that buffer-size-kb capability in the docs in 9.2. I recommend checking with support.

  • Problem in BADI, error message not getting displayed

    Hello Experts,
    I am facing a strange problem in BADI.
    The requirement is that the user should not be allowed to change the plant field
    on the screen of standard MM transctions for PO/PR amendment.
    I have written the code in separate BADIs for PO and PR.
    I am displaying an error message if the user tries to change the field.
    For PO, it is working fine.But for PR, the same code is not working.
    The control is going over to the BADI for PR and rest of the code is working fine.
    But the error message is not getting displayed for PR amendment.
    Can anybody please suggest the possible cause of problem and some solution to it.
    Thanks in advance.

    Hi
    See the sample BADI code for PR which raises an exceptions and do accordingly
    BAdI Name: ZPUR_RFQ (Implementation name) Purchase Requisitions
    Definition Name: ME_REQ_POSTED
    Interface Name : IF_EX_ME_REQ_POSTED
    Implementing Class: ZCL_IM_PUR_REQ
    Method :            POSTED
    METHOD if_ex_me_req_posted~posted .
      DATA : v_mtart TYPE mtart.
      DATA l_s_eban TYPE ueban.
      LOOP AT im_eban INTO l_s_eban.
        IF l_s_eban-estkz NE 'B'.
          CLEAR v_mtart.
          SELECT SINGLE  mtart INTO v_mtart FROM mara WHERE matnr = l_s_eban-matnr.
          IF v_mtart EQ 'ZERS' OR v_mtart EQ 'FHMI' OR v_mtart EQ 'UNBW'.
            MESSAGE e000(zm_msg) WITH 'You are not allowed' 'to create PR for stock items'.
          ENDIF.
        ENDIF.
        IF  l_s_eban-knttp NE 'F' OR l_s_eban-pstyp NE '9'.
          IF l_s_eban-knttp NE 'A'.
            IF ( l_s_eban-pstyp NE '9' AND l_s_eban-pstyp NE 'D' ) 
               AND l_s_eban-matnr EQ space.
              MESSAGE e000(zm_msg) WITH 'You cannot create'
                'a PR without material number'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Error Message not getting clear while creation of purchase order

    Hi All,
    I am facing one problem while creating purchasing order.
    I have written one user-exit for purchase order. User has to enter purchase requisition number for certain purchase order type. If he doesn’t enter PR number, we have to throw an error message.
    I have used the MM06E005 for the same. User exit is working fine, but the problem is, all error messages are collected in log and it will be displayed in a dialog screen when you check the document (Transaction ME21N).
    When I enter PR number and check the document, the error message is still there, system is not clearing the error log. I have created “Z” message class and have used in User exit.
    Do you guys have any solution for this? Am I using the right user exit? What should I do to clear the error message?
    If you don’t have answer, please pass it to your friends also….
    Thanks a lot in advance…

    Hi Rob,
    Your inforamtion was good enough to start. thanks a lot for that. I tried to implement the same but no luck this time also.
    FYI..
    The FM exit name is EXIT_SAPMM06E_012 and see the following code, i used.
    TYPES:  BEGIN OF type_my,
            subrc TYPE sysubrc,
            msgid TYPE symsgid,
            msgty TYPE symsgty,
            msgno TYPE symsgno,
            msgv1 TYPE symsgv,
            msgv2 TYPE symsgv,
            msgv3 TYPE symsgv,
            msgv4 TYPE symsgv,
            END   OF type_my.
    DATA:  my TYPE type_my.
    DATA : GV_PO(10) TYPE I.
      if I_EKKO-BSART = 'Z005'.
      GV_PO = I_EKKO-EBELN.
        loop at TEKPO.
          if TEKPO-BANFN is initial.
           message E000(ZBC_MESSAGES) with TEKPO-EBELP.
            my-subrc = sy-subrc.
           my-msgid = sy-msgid.
           my-msgty = sy-msgty.
           my-msgno = sy-msgno.
            my-msgid = 'ZBC_MESSAGES'.
            my-msgty = 'E'.
            my-msgno = '000'..
            my-msgv1 = sy-msgv1.
            my-msgv2 = sy-msgv2.
            my-msgv3 = sy-msgv3.
            my-msgv4 = sy-msgv4.
      Cleaning
            CLEAR:
            sy-subrc,
            sy-msgid,
            sy-msgty,
            sy-msgno,
            sy-msgv1,
            sy-msgv2,
            sy-msgv3,
            sy-msgv4.
      Generate message
            mmpur_message my-msgty my-msgid my-msgno
            my-msgv1 my-msgv2 my-msgv3 my-msgv4.
      Remove message from message list
            mmpur_remove_messages_by_id GV_PO.
          endif.
        endloop.
    It is still not working. Moreover i don't have PO number at run time.
    I hope this clarify the problem in more detail.
    Meanwhile i am searching for OSS as suggested by Michael Bennett.

  • MV Logs not getting purged in a Logical Standby Database

    We are trying to replicate a few tables in a logical standby database to another database. Both the source ( The Logical Standby) and the target database are in Oracle 11g R1.
    The materialized views are refreshed using FAST REFRESH.
    The Materialized View Logs created on the source ( the Logical Standby Database) are not getting purged when the MV in the target database is refreshed.
    We checked the entries in the following Tables: SYS.SNAP$, SYS.SLOG$, SYS.MLOG$
    When a materialized view is created on the target database, a record is not inserted into the SYS.SLOG$ table and it seems like that's why the MV Logs are not getting purged.
    Why are we using a Logical Standby Database instead of the Primary ? Because, the load on the Primary Database is too much and the machine doesn't have enough resources to support MV based replication. The CPU usage is 95% all the time. The appplication owner won't allow us to go against the Primary database.
    Do we have to do anything different in terms of Configuration/Privileges etc. because we are using a Logical Standby Database as a source ?
    Thanks in Advance.

    We have a 11g RAC database in solaris OS where there is huge gap in archive log apply.
    Thread Last Sequence Received Last Sequence Applied Difference
    1 132581 129916 2665
    2 108253 106229 2024
    3 107452 104975 2477
    The MRP0 process seems not to be working also.Almost 7000+ archives lag in standby if compared with primary database.
    i suggest you to go with Incremental rollforward backups to make it SYNC, use this below link for step by step procedure.
    http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/
    Here questions.
    1) Whether those archives are transported & just not applied?
    2) Is in production do you have archives or backup of archives?
    3) What you have found errors in alert log file?
    post
    SQL> select severity,message,error_code,timestamp from v$dataguard_status where dest_id=2;
    4) What errors in primary database alert log file?
    Also post
    select     ds.dest_id id
    ,     ad.status
    ,     ds.database_mode db_mode
    ,     ad.archiver type
    ,     ds.recovery_mode
    ,     ds.protection_mode
    ,     ds.standby_logfile_count "SRLs"
    ,     ds.standby_logfile_active active
    ,     ds.archived_seq#
    from     v$archive_dest_status     ds
    ,     v$archive_dest          ad
    where     ds.dest_id = ad.dest_id
    and     ad.status != 'INACTIVE'
    order by
         ds.dest_id
    /Also check errors from standby database.

  • Opmn logs not being written

    Hi All,
    We are facing an issue.
    No logs are being written to the opmn/logs directory. It was being written correctly till 4th December and then stopped all of a sudden.
    Are there any configuration files which may have been affected.
    Best regards,
    Brinda

    To clarify.
    We are now rotating the logfiles with the linux/unix command logrotate. I suspect that this is what is causing the issue that the logs are note being filled after rotation and we need to restart opmn for the logs to start getting populated.
    So I think we need to configure rotating logs in opmn.xml.
    The Application server version is 10.1.3. This is the log line in our opmn.xml.
    <log path="$ORACLE_HOME/opmn/logs/opmn.log" comp="internal;ons;pm" rotation-size="1500000"/>
    So the question is how do we activate opmn to rotate the log so that we do not need to use logrotate.
    In this document it says that you have to activate ODL for log rotation to work:
    http://download.oracle.com/docs/cd/B25221_04/web.1013/b14432/logadmin.htm#sthref370
    Is this true or can we rotate text logs as well. This is what we would prefer.
    Best regards,
    Gustav

  • Transport Error:could not be written on output device T

    Hi,
      I transport ODS/CUBE/Transformation to QAS of BW. Error information:
       Program terminated (job: RDDEXECL, no.: 16525500)
          See job log
       Execution of programs after import (XPRA)
       End date and time : 20071217165645
       Ended with return code:  ===> 12 <===
    Click "See job log" display these information:
    Job started
    Step 001 started (program RDDEXECL, variant , user ID DDIC)
    All DB buffers of application server janapbq1 were synchronized
    STDO: Log  could not be written on output device T
    Replication completed successfully
    InfoSource 8ZSFE_O21 was successfully created
    Communication Structure /BIC/CS8ZSFE_O21 activated
    Transfer Rule(s) 8ZSFE_O21_AA activated
    STDO: Log  could not be written on output device T
    STDO: Log  could not be written on output device T
    STDO: Log  could not be written on output device T
    STDO: Log  could not be written on output device T
    STDO: Log  could not be written on output device T
    STDO: Log  could not be written on output device T
    STDO: Log  could not be written on output device T
    STDO: Log  could not be written on output device T
    STDO: Log  could not be written on output device T
    Replication completed successfully
    InfoSource 8ZSFE_O33 was successfully created
    Communication Structure /BIC/CS8ZSFE_O33 activated
    Transfer Rule(s) 8ZSFE_O33_AA activated
    ABAP/4 processor: OBJECTS_OBJREF_NOT_ASSIGNED
    Job cancelled
    My BI System information:
    SAP_ABA                     700                     0013
    SAP_BASIS     700                     0013
    PI_BASIS                    2005_1_700     0013
    ST-PI                    2005_1_700     0003
    SAP_BW                    700                     0015
    FINBASIS                    600                     0005
    SEM-BW                    600                     0005
    BI_CONT                   703                     0004
    ST-A/PI                   01I_BCO700     0000
    This is urgent..
    Any Thoughts.....
    Thanks.

    Hi,
    Once again try to activate all the object and retry the transport, this is due to inactive object or object not properly activate.
    since nothing is mentioned activate all object incluging data target and transformation also.
    if this success don't forget to assign points
    Thanks,
    Ravi - IM
    Edited by: Ravi Kumar P S on Dec 18, 2007 5:37 AM

  • Complete error message not getting displayed

    Hi All,
    I've built a custom webadi integrator which loads into a custom staging table.
    All fine with the webadi but the error messages are getting truncated to only 45 characters. The variable size is 4000 characters and a debug message before RAISE_APPLICATION_ERROR indicates there is no truncation of the message in the PL SQL package.
    Where and how is my message getting truncated?
    Any pointers highly appreciated !

    Hi
    See the sample BADI code for PR which raises an exceptions and do accordingly
    BAdI Name: ZPUR_RFQ (Implementation name) Purchase Requisitions
    Definition Name: ME_REQ_POSTED
    Interface Name : IF_EX_ME_REQ_POSTED
    Implementing Class: ZCL_IM_PUR_REQ
    Method :            POSTED
    METHOD if_ex_me_req_posted~posted .
      DATA : v_mtart TYPE mtart.
      DATA l_s_eban TYPE ueban.
      LOOP AT im_eban INTO l_s_eban.
        IF l_s_eban-estkz NE 'B'.
          CLEAR v_mtart.
          SELECT SINGLE  mtart INTO v_mtart FROM mara WHERE matnr = l_s_eban-matnr.
          IF v_mtart EQ 'ZERS' OR v_mtart EQ 'FHMI' OR v_mtart EQ 'UNBW'.
            MESSAGE e000(zm_msg) WITH 'You are not allowed' 'to create PR for stock items'.
          ENDIF.
        ENDIF.
        IF  l_s_eban-knttp NE 'F' OR l_s_eban-pstyp NE '9'.
          IF l_s_eban-knttp NE 'A'.
            IF ( l_s_eban-pstyp NE '9' AND l_s_eban-pstyp NE 'D' ) 
               AND l_s_eban-matnr EQ space.
              MESSAGE e000(zm_msg) WITH 'You cannot create'
                'a PR without material number'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Wlproxy.log not getting generated

    Hi
    I am trying to proxy the weblogic requests through IIS 7.5, it is working. but wlproxy logs are not getting generated. Please fnd below my iisproxy.init file contents.
    Could any one tell me if I am missing any thing.
    Steps followed.
    1. created website in IIS
    2. added isapi filter by giving the iisforward.dll path, name given is wlforward
    3. added handler mappings by giving *.wlforward as the path and giving iisproxy.dll path
    4. added the file iisproxy.ini file
    iisproxy.ini contents
    WebLogicHost=xx.xx.xx.xx
    WebLogicPort=7002
    WLForwardPath=/
    DefaultFileName=/TEST/index.jsp
    WLproxySSL=ON
    SecureProxy=OFF
    RequireSSLHostMatch=false
    Debug=ALL
    DebugConfigInfo=ON
    WLTempDir=D:/Temp
    Regards
    PPK

    It is working. It is something to do with admin rights on that file clreation. I got full admin access. now it works.

Maybe you are looking for

  • Problem between SOAP Sender and JDBC Receiver

    Hi, I have a asynchronous scenary between SOAP Sender and JDBC Receiver. The idea is sending an ID for updating one register. Table structure is: TABLE AS_PERSONA     (P_RUT                         VARCHAR2(10) NOT NULL,     P_NOMBRE                 

  • Re: Keeping my old number/ WHO CAN I COMPLAIN TO?

    Dear Sir Please accept this as a formal letter of complaint. I joined BT 6 to 8 weeks ago, and since then I have been trying my best to get my Virgin Number  ported from Virgin Media to BT. I have been in contact with BT on numerous occasions, being

  • Flash won't play in Firefox 3.63

    In using Windows 2000, FIrefox 3.63, Adobe Flash 10.3.183.7   .  On the website www.ibdtv.investors.com  I can't get the IBD TV videos to play.  I've disabled FlashBlock.   However, in Firefox 5.0 they play normally without a problem.  How do I troub

  • What's the most current version of FaceTime?

    I have FaceTime version 1.1.1 installed on my MBPro, but the Mac App Store says that 1.0.2 is the most recent version. Should I download that instead?

  • Torch Screen Problems

    The screen on my (1.5 year old) Torch is now periodically going blurry, and becoming colourful.  Help please!