Database Engine won't start - master DB log file issue

I had a server patched and reboot yesterday and now the SQL services won't start because it's saying it can't find the master log file. I checked the path and the log file is present. Any suggestions.
2014-04-21 09:48:55.22 Server      Microsoft SQL Server 2008 R2 (SP2) - 10.50.4000.0 (X64)
 Jun 28 2012 08:36:30
 Copyright (c) Microsoft Corporation
 Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
2014-04-21 09:48:55.22 Server      (c) Microsoft Corporation.
2014-04-21 09:48:55.22 Server      All rights reserved.
2014-04-21 09:48:55.22 Server      Server process ID is 4008.
2014-04-21 09:48:55.22 Server      System Manufacturer: 'HP', System Model: 'ProLiant DL380 G5'.
2014-04-21 09:48:55.22 Server      Authentication mode is MIXED.
2014-04-21 09:48:55.22 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG'.
2014-04-21 09:48:55.22 Server      This instance of SQL Server last reported using a process ID of 4080 at 4/21/2014 9:47:41 AM (local) 4/21/2014 2:47:41 PM (UTC). This is an informational message only; no user action is required.
2014-04-21 09:48:55.22 Server      Registry startup parameters:
  -d C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\master.mdf
  -e C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\ERRORLOG
  -l C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf -g512
2014-04-21 09:48:55.22 Server      SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2014-04-21 09:48:55.22 Server      Detected 4 CPUs. This is an informational message; no user action is required.
2014-04-21 09:48:55.33 Server      Using dynamic lock allocation.  Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node.  This is an informational message only.  No user action is required.
2014-04-21 09:48:55.35 Server      Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational
message only. No user action is required.
2014-04-21 09:48:55.38 spid7s      Starting up database 'master'.
2014-04-21 09:48:55.39 spid7s      Error: 17204, Severity: 16, State: 1.
2014-04-21 09:48:55.39 spid7s      FCB::Open failed: Could not open file C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf -g512 for file number 2.  OS error: 2(The system cannot find the file
specified.).
2014-04-21 09:48:55.39 spid7s      Error: 5120, Severity: 16, State: 101.
2014-04-21 09:48:55.39 spid7s      Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\mastlog.ldf -g512". Operating system error 2: "2(The system cannot find the
file specified.)".

That did it.  Not sure why that switch was there.
It might have been intended, but it was added incorrectly. -g512 is a legal switch. Then again, since you have 64-bit SQL Server, it is not likely that you will needed.
(The -g switch increases the area known as memtoleave, which is the virtual address space (VAS) not used for the buffer cache. On 32-bit SQL Server you may need to increase this area from the default of 256 MB. On 64-bit SQL Server the full physical memory
is available for VAS; on 32-bit it's only 2GB.)
Erland Sommarskog, SQL Server MVP, [email protected]

Similar Messages

  • CiscoWorks 3.2 ANI database engine failed to start

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    CiscoWorks ANI database engine failed to start ...
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    We suppose we have found following bug. This is output from one discussion on Netpro https://supportforums.cisco.com/message/665869#665869 .
    CSCsb52873
    ANI Server fails to start
    This problem occurs when you:
    Start ANI Server, the server is up for sometime and shuts down with RC as -2 and Info as ANI Server failed to load from the database.
    Workaround:
    Stop the Daemon Manager. Re-initialize ANI database and start the daemons.
    Enter the following command to reinitialize ANI database:
    /opt/CSCOpx/bin/perl /opt/CSCOpx/bin/dbRestoreOrig.pl dsn=ani dmprefix=ANI
    You should not be using this interface to start any CiscoWorks services.  Your statup parameters look okay.  Either your ANI database is corrupt, or your transaction log is corrupt.
    First, set the CiscoWorks Daemon Manager service to Manual, and reboot the server.  When the server reboots, delete NMSROOT\databases\ani\ani.log if it exists.  Then run:
    NMSROOT\objects\db\win32\dbsrv9 -f NMSROOT\databases\ani\ani.db
    After that, set the Daemon Manager service back to Automatic, and reboot again.  See if the ANI database engine starts.  If not, you will need to reinitialize your ANI database with the command:
    NMSROOT\bin\perl NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:10.0pt;
    font-family:"Times New Roman";
    mso-ansi-language:#0400;
    mso-fareast-language:#0400;
    mso-bidi-language:#0400;}
    We have done reinitializing:
    1. Delete NMSROOT\databases\ani\ani.log
    NMSROOT\objects\db\win32\dbsrv10 -f NMSROOT\databases\ani\ani.db
    After that done
    NMSROOT\bin\perl NMSROOT\bin\dbRestoreOrig.pl dsn=ani dmprefix=ANI
    After reinitializing ANI database took 1 hour to start, output of  pdshow command was
    INFO: Daemon manager is processing other tasks in the queue. Please try again later.
    In RME there is another problem:
    JRM Service could be down. Check whether JRM services are running .
    Tried to resolve by reinitializingRME
    NMSROOT\bin\perl.exe NMSROOT\bin\dbRestoreOrig.pl dsn=rmeng dmprefix=RME
    But did not help.
    We are attaching some log files...
    Thanks in advance...

    You are most likely seeing a port conflict between LMS and the Windows RM service.  You can either shutdown the Windows Remote Management service, then restart Daemon Manager, or do the following:
    * Shutdown Daemon Manager
    * Remove ctmregistry* from NMSROOT/MDC/tomcat/webapps/rme/WEB-INF/lib.
    * With Windows Remote Management still running, restart Daemon Manager, and EssentialsDM should skip tcp/47001 because it is already in use.

  • The Microsoft Access database engine cannot open or write to the file \\fileserver\db\access.mdb

    Hi,
    I have Windows Server 2012 with SQL 2012 Standard SP1. I am using linked server, and Access Database Engine 2010 Redistributable to access my database file made in Microsoft Access (.mdb) from network file server.
    EXEC master.dbo.sp_addlinkedserver @server = N'MyLinkedServer', @srvproduct=N'MyLinkedServer', @provider=N'Microsoft.ACE.OLEDB.12.0', @datasrc=N'\\myfileserver.mydomain.com\files\mydatabase.mdb'
    My SQL service is running with domain service account MYDOMAIN\SQL1$ , i have added Full control for file share and NTFS permission on my file server folder (C:\Files).
    When I open (as domain admin with UAC elevated permissions) on my DB server SQL Management studio, I can browse tables and everything works.
    The problem is, if I open SQL management studio (as domain admin with UAC elevated permissions) on my File server or any other computer, when trying to browse my linked server i got error:
    TITLE: Microsoft SQL Server Management Studio
    Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "Synesis_3PRO2013". (Microsoft SQL Server, Error: 7303)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.00.3000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    When I try to place simlpe Select SQL query I got error:
    OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "MyLinkedServer" returned message "The Microsoft Access database engine cannot open or write to the file '\\myfileserver.mydomain.com\files\mydatabase.mdb'. It is already opened exclusively by another
    user, or you need permission to view and write its data.".
    I do not have any other program using my access database, and user has full control. I am trying to use in security mode - "For a login not defined in the list above, connections will be made without using a security context", i have also tried all four options.
    I am confused becouse it works from SQL server but from any SQL client domain member computer/server it does not work.
    I have same problem in another environment where I have Windows Server 2008 R2 and SQL 2008 R2 SP2.
    Please help.
    -- Hrvoje Kusulja

    NTFS must be fine since it works from same server using same accounts.
    As I understand, adding my access file to Access trusted location could be a problem. I have tried now to add my access database file location to trusted locations for user which is my SQL service user (Windows Service - AD managed service account MYDOMAIN\SQL1$)
    and my test user which I use to connect to sql server as a client from sql management studio. (Account is Domain Admins and have full permissions on SQL server also)
    I have added this .reg:
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security]
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Documents]
    "LastPurgeTime"=dword:01592874
    "DisablePromptOpenNetworkTrustedDocuments"=dword:00000000
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations]
    "AllowNetworkLocations"=dword:00000001
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location0]
    "Description"="My file server"
    "AllowSubFolders"=dword:00000001
    "Path"="\\\\myfileserver.mydomain.com\\files\\"
    I have done this for SQL service account user and my personal test account as I said. I have tried to logoff and restart sql service and all servers also.
    The same problem still persists.
    Anyway, thank you for giving me a hint.

  • The Microsoft Access database engine cannot open or write to the file in Report Builder 3.0

    I am trying to build a report in Report Builder 3.0.  I created the Data Source to point to my Excel file and the Data Set.  I drag a couple of fields on to the canvas and then choose Run.  I get the error:  "The Microsoft Access
    database engine cannot open or write to the file.  It is already opened exclusively by another user".  I am using the Excel driver.  Why am I getting this message?  How can I fix this?

    No, now I am getting the error message again.  It is quite long:
    ERROR [HY000] [Microsoft][ODBC Excel Driver] The Microsoft Access database engine cannot open or write to the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view and write its data.
    ERROR [01S00] [Microsoft][ODBC Excel Driver]Invalid connection string attribute Trusted_Connection
    Please help

  • J2EE Engine won't start after PDK Deployment

    Good morning everybody,
    I tried to deploy the PDK a couple of days ago. The first file (pdkcontent6090.sca I think) deployed fine in about 15 minutes, the second one (pdkjavadoc6090.sca) however didn't. It ran three hours before I stopped the deployment. There were no error messages in any of the logfiles.
    Now my Server won't start. I've been looking through the logfiles and the only entry that shows anything wrong is in server.0.log:
    <i>#1.5#000255AB8B3B001D00000006000009D40003F9B6E70BE132#1118
    988885806#/System/Server/SLDService##com.sap.sldserv.SldServerFrame
    ######19f5ae40def711d9baed000255ab8b3b#SAPEngine_System_Thread[impl:5]_25##0#0#Warning#1#com.sap.sldserv.SldServerFrame#Plain###
    Communication configuration is incomplete. No data transfer possible until corrected.#</i>
    Everything apart from that looks normal. I can't find any documentation on what this means or what I can do
    to get everything back to running again...
    Any ideas? We're on WAS 6.40 and EP6SP9.
    Thanks!!
    Gesche

    It's not running, the page reads:
    "Application stopped!
    Details: You have requested an application that is currently stopped"

  • MacBook Air won't start up to log in screen

    MacBook Air won't start up, apple logo displays the rotating circle then displays a diagonal bar through a circle

    Restart.
    http://support.apple.com/kb/ts2570
    Start up in Safe Mode.
    http://support.apple.com/kb/PH14204?viewlocale=en_US
    Repair Disk
    Steps 2 through 8
    http://support.apple.com/kb/PH5836
    Reset PRAM.  http://support.apple.com/kb/PH4405
    Reinstall OS X
    http://support.apple.com/kb/PH10763?viewlocale=en_US

  • How to Recover database from old backup and full archive log file

    Hi Oracle expert!
    I met problem when restore my oracle database.
    In my case:
    - My database version: 10.2.0.2
    - I have a database full backup (01-Nov)
    - I have all Archived log file from (01-Nov -> 05-Nov)
    - My database drop in 05-Nov with disk error (no datafile, no redo..).
    - I have no any RMAN backup from (01-Nov -> 05-Nov)
    How can i restore my database to 05-Nov?
    Thanks

    user10280724 wrote:
    Hi Chinar.
    When i used RMAN flow as your step, but i met the problem!
    - After recover database i select sequence#, applied from v$archived_log;
    --> it apply newest archived log that i had.
    - but when I select Data from table created between 01-Nov to 05-Nov, it not found!
    Not the same way the step:
    SQL> RECOVER DATABASE USING BACKUP CONTROLFILE UNTIL CANCEL?
    It apply newest the same archived log i had table created between 01-Nov to 05-Nov.
    How can i do with RMAN to recover my table?That is not possible,if your all available archive logs applied using rman or through sqlplus(recover database using backup controlfile until cancel) and one of these logs contain your table then there are not any problems.So there are not any difference between recovery using rman and user managed(using sqlplus),but there main matter is applying all archive logs.So first check through rman list copy of archivelog all or list backup of archivelog all and identify there in rman repository is any information or not about these logs.

  • Printing all messages when WEBLOGIC starts in its log file

    Hello i am following all these steps
    Step 1. Copy log4j-1.2.9.jar & wllog4j.jar under domain_root/lib folder.
    Step 2. Create log4j.xml and drop it under domain_root folder. If you have log4j.xml inside the application(EAR/WAR), I would recommend to move outside EAR/WAR as
    changing severity (log level) would require re-deployment. To avoid this, we can move log4j.xml into domain root folder but again the server needs to be bounced.
    But there is a fix.
    Step 3. Login to weblogic server console. Go to Servers -> Admin Server-> Logging.
    Click on advanced mode. Change the logging implementation from JDK to Log4J.
    Click save.
    Step 4. Activate changes. Re-start the admin server.
    This should enable log4j and should write logging into log file mentioned in log4j.xml or properties file.
    Hang on! There is a catch here. Say now I want to change the log level from DEBUG into WARN or ERROR.
    How do i do?
    We go to log4j.xml and change the level.
    Now how does this change take into effect? It needs bouncing of the server.
    I have given below sample log4j.xml for your reference...
    log4j.xml:
    <?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE log4j:configuration SYSTEM
    "log4j.dtd">
    <log4j:configuration>
    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern"
    value="%d [%t] %-5p %c - %m%n"/>
    </layout>
    </appender>
    <appender name="FILE" class="org.apache.log4j.RollingFileAppender">
    <param name="File" value="/log/myApp.log"/>
    <param name="Append" value="true"/>
    <layout class="org.apache.log4j.PatternLayout">
    <param name="ConversionPattern" value="%d{ISO8601} %t %-5p %c{2} - %m%n"/>
    </layout>
    </appender>
    <logger name="org.apache">
    <level value="WARN"/>
    </logger>
    <logger name="org.springframework">
    <level value="WARN"/>
    </logger>
    <root>
    <level value="DEBUG"/>
    <appender-ref ref="FILE"/>
    <!-- <appender-ref ref="CONSOLE"/> -->
    </root>
    </log4j:configuration>
    I Followed all these steps , but finally i am getting an empty file myApp.log at specified destination , i want all log messages inside that file when WEBLOGIC starts , so what needs to be done for that

    I guess the issue here is that somehow the log4j configurations are not getting picked up.
    Please try adding the LOG4j configurations explicitly onto the classpath:-
    set LOG4J_CONFIG_FILE=log4j.xml
    set SAVE_JAVA_OPTIONS=%JAVA_OPTIONS% -Dlog4j.configuration=%LOG4J_CONFIG_FILE%
    @REM set SAVE_CLASSPATH=%CLASSPATH%
    set SAVE_CLASSPATH=%CLASSPATH%;C:\Oracle\Middleware\user_projects\domains\base_domain\config
    -Sandeep

  • Firefox 3.6.3 won't start with a particular file:///

    I can do {"c:\Program Files\Mozilla Firefox\firefox.exe" file:///n:\911c\OwenShow\helphtm\ohelpfrm.htm} but I can't do the same thing in a windows exec; firefox runs and hangs-up in the background. I assume this is FF's problem because when I run firefox again after killing it, the file appears correctly; or if I run firefox, and then try the exact same exec process, it works (i.e., in a 2nd tab). And I think closing "Firefox won't start after update 3.6.3 downloads and installs" was ridiculous, since the supposed solution ENDED WITH A QUESTION and WAS NOT a solution. j.g. owen * email: [email protected] * web: http://owenlabs.org

    And wonderful!
    Updated OSX (10.6.5) - and then thought what the heck, I'll trying enabling Firefox Sync. And it worked - for a couple of days. Until I accepted the update for Firefox Sync (1.5.1) - and I am back where I started, nothing works.
    I have no clue about this

  • Ias Failed to start with "OPMN log file open failed" error message.

    Hi,
    My iAS doesn't start and I get this error message. Any advice? Thanks.
    opmnctl: starting opmn and all managed processes...
    OPMN log file open failed: /.../opmn/logs/ons.log (Read-only file system).
    opmnctl: opmn start failed

    Hi,
    Haven't you re-posted your question exactly after a year?
    take a look here.
    iAS not running due to OPMN log file open failed: opmn/logs/ons.log (Read-o

  • HP PAVILLON ENTERTAINM​ENT PC WON'T START AFTER COMPRESSIN​G FILES

    MY HP WON'T START AFTER I COMPRESS THE HD AND SUBFOLDERS. THE ERROR MESSAGE IS : QLOBG IS COMPRESSED PRESS "Ctrl  Alt  Del " TO RESTART.  BUT AFTER RESTART, IT COMES BACK WITH THE SAME MESSAGE. WHAT CAN I DO TO RESTORE THE SYSTEM BACK. EVEN I PRESS THE F9 KEY TO RESTORE DEFAULT, IT CANNOT WORK. PLEASE HELP!

    Turn on/restart your computer
    Just after the options screen and before  the Windows logo appears press the F8 key on your keyboard (you might have to try  a few times!) You should now be presented with the Advanced Boot Options menu.
    Select Repair Your Computer and press Enter
    .Select your keyboard and click Next – you’ll now be presented with the System Recovery Options menu.
    Follow the steps outlined here: http://www.proposedsolution.com/solutions/windows-​7-filename-is-compressed-press-ctrl-alt-del-to-res​...
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • Bursting engine fails with NullPointerException in xdo.log file

    Hi all,
      Hi have developed a BI Publisher report but when trying to deliver it using the bursting concurrent program it fails wirh next error:
    Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..
    If I look at the xdo.log file I can see next error:
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[null], [content-type]=[text/plain;charset=UTF-8], [index]=[0], [disposition]=[inline]
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
    [122713_102535782][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.lang.NullPointerException
        at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:915)
        at javax.mail.internet.MimeUtility.encodeWord(MimeUtility.java:539)
        at javax.mail.internet.MimeUtility.encodeText(MimeUtility.java:373)
        at oracle.apps.xdo.delivery.smtp.Attachment.addAttachment(Attachment.java:354)
        at oracle.apps.xdo.delivery.smtp.Attachment.addAttachment(Attachment.java:283)
        at oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler.submitRequest(SMTPDeliveryRequestHandler.java:604)
        at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(AbstractDeliveryRequest.java:1270)
        at oracle.apps.xdo.batch.DeliveryHelper.submitRequests(DeliveryHelper.java:626)
        at oracle.apps.xdo.batch.bursting.DocumentDelivery.submitCoreDeliveryRequests(DocumentDelivery.java:147)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(BurstingProcessorEngine.java:3268)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(BurstingProcessorEngine.java:2136)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(BurstingProcessorEngine.java:2077)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1999)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1135)
        at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
        at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
    I don´t know what to do, SMTP server parameters are rigth, bursting control file is also OK, original report with XML output ends OK with a pdf output.
    Any ideas?
    Best Regards
    Javier

    Hi all,
      Hi have developed a BI Publisher report but when trying to deliver it using the bursting concurrent program it fails wirh next error:
    Error!! Could not deliver the output for Delivery channel:null . Please check the Log for error details..
    If I look at the xdo.log file I can see next error:
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[null], [content-type]=[text/plain;charset=UTF-8], [index]=[0], [disposition]=[inline]
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
    [122713_102535779][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
    [122713_102535782][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.lang.NullPointerException
        at javax.mail.internet.MimeUtility.checkAscii(MimeUtility.java:915)
        at javax.mail.internet.MimeUtility.encodeWord(MimeUtility.java:539)
        at javax.mail.internet.MimeUtility.encodeText(MimeUtility.java:373)
        at oracle.apps.xdo.delivery.smtp.Attachment.addAttachment(Attachment.java:354)
        at oracle.apps.xdo.delivery.smtp.Attachment.addAttachment(Attachment.java:283)
        at oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler.submitRequest(SMTPDeliveryRequestHandler.java:604)
        at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(AbstractDeliveryRequest.java:1270)
        at oracle.apps.xdo.batch.DeliveryHelper.submitRequests(DeliveryHelper.java:626)
        at oracle.apps.xdo.batch.bursting.DocumentDelivery.submitCoreDeliveryRequests(DocumentDelivery.java:147)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(BurstingProcessorEngine.java:3268)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(BurstingProcessorEngine.java:2136)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(BurstingProcessorEngine.java:2077)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(BurstingProcessorEngine.java:1999)
        at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(BurstingProcessorEngine.java:1135)
        at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
        at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
        at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
    I don´t know what to do, SMTP server parameters are rigth, bursting control file is also OK, original report with XML output ends OK with a pdf output.
    Any ideas?
    Best Regards
    Javier

  • Log File Issue In SQL server 2005 standard Edition

    We have database of size 375GB .The data file has 80 GB free space within .When trying to rebuild the index we had 450 GB free space on the disk where Log file is residing.The rebuild index activity failed due to space issue.added more space and got the
    job done successfully
    The Log file has grow up to 611GB to complete the rebuild index.
    version :SQL server 2005 Standard Edition .Is ther a way to estimate the space required for rebuild index in this version.
    I am aware we notmaly allocate 1.5 times of data file.But in this case It was totaly wrong.
    Any suggestion with examples would be appreciated.
    Raghu

    OK, there's a few things here.
    Can you outline for everybody the recovery model you are using, the frequency with which you take full, differential and transaction log backups.
    Are you selectively rebuilding your indexes or are you rebuilding everything?
    How often are you doing this? Do you need to?
    There are some great resources on automated index maintenance, check out
    this post by Kendra Little.
    Depending on your recovery point objectives I would expect a production database to be in the full recovery mode and as part of this you need to be taking regular log backups otherwise your log file will just continue to grow. By taking a log backup it will
    clear out information from inactive VLF's and therefore allow SQL Server to write back to those VLF's rather than having to grow the log file. This is a simplified version of events, there are caveats.
    A VLF will be marked as active if it still has an open transaction in it or there is a HA option that still requires that data to be available as that data has not been copied to another node yet.
    Most customers that I see take transaction log backups every 15 - 30 minutes, but this really does depend upon how much data your company can afford to lose. That's another discussion for another day.
    Make sure that you take a transaction log backup prior to your job that does your index rebuilds (hopefully a smart job not a sledge hammer job).
    As mentioned previously swapping to bulk logged can help to reduce the size of the amount of information logged during index rebuilds. If you do this make sure to swap back into the full recovery model straight after and perform a full backup. There are
    problems with the ability to do point in time restores whilst in the bulk logged recovery model, so you need to reduce the amount of time you use it.
    Really you also need to look at how your indexes are created does the design of them lead to them being fragmented on a regular basis? Are they being used? Are there better indexes out there that can help performance?
    Hopefully that should put you on the right track.
    If you find this helpful, please mark the post as helpful,
    If you think this solves the problem, please propose or mark it an an answer.
    Please provide details on your SQL Server environment such as version and edition, also DDL statements for tables when posting T-SQL issues
    Richard Douglas
    My Blog: Http://SQL.RichardDouglas.co.uk
    Twitter: @SQLRich

  • Standby creating archives log files issue!

    Hello Everyone,
    Working on oracle 10g R2/Windows, I have created a dataguard with one standby database, but there is a strange issue that happen, and I'll need someone to shed the light to me.
    By default archived log created from the primary database should be the  sent to the stanndby database, but I found that the standby database has plus one archived log file.
    From the primary database:
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination C:\local_destination1_orcl
    Oldest online log sequence 1021
    Next log sequence to archive 1023
    Current log sequence 1023
    contents of C:\local_destination1_orcl
    1_1022_623851185.ARC
    from the standby database:
    SQL> archive log list
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination C:\local_destination1_orcl
    Oldest online log sequence 1022
    Next log sequence to archive 0
    Current log sequence 1023
    contents of C:\local_destination1_orcl
    1_1022_623851185.ARC
    1_1023_623851185.ARC ---> this is the extra archive file created in the standby database, should someone let me know how to avoid this?
    Thanks for your help

    SELECT FROM v$version;*
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 64-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    The standby database is a physical standby database (not logical standby)
    Thanks against for your contribution, but I'm still not know why standby create and arhive files too?

  • Transactional log file issue

    Dear All,
    There have been issues in the past where the transactional log file has grown too big that it made the drive to limit its size. I would like to know the answers to the following
    please:
    1. To resolve the space issue, is the correct way to first take a backup of the transactional log then shrink the transactional log file?
    2. What would be the recommended auto growth size, for example if I have a DB which is 1060 GB?
    3. At the moment, the transactional log backup is done every 1 hour, but I'm not sure if it should be taken more regularly?
    4. How often should the update stat job should run please?
    Thank you in advance!

    Hi
    My answers might be very similar to geeks already answer, but hope it will add something more
    1. To resolve the space issue, is the correct way to first take a backup of the transactional log then shrink the transactional log file?
     --> If database recovery model is full \ bulk then tlog backup is helpful, and it doesnt help try to increase frequency of log backup and you can refer :
    Factors That Can Delay Log Truncation
    2. What would be the recommended auto growth size, for example if I have a DB which is 1060 GB?
    Auto grow for very large db is very crucial if its too high can cause active vlf and too less can cause fragmentation. In your case your priority is to control space utilizatiuon.
    i suggest you to keep minimum autogrowth and it must be in size not in percentage.
    /*******Auto grow formula for log file**********/
    Auto grow less than 64MB = 4 VLFs 
    Autogrow  of 64MB and less than 1GB = 8 VLFs 
    Autogrow of 1GB and larger = 16 VLFs
    3. At the moment, the transactional log backup is done every 1 hour, but I'm not sure if it should be taken more regularly?
    ---> If below query returns log_backup for respective database then yes you can to increase log backup frequency. But if it returns some other factor , please check above
    mention link
    "select name as [database] ,log_reuse_wait , log_reuse_wait_desc from sys.databases"
    4. How often should the update stat job should run please?
    this totaly depend on ammount of dml operation you are performing. you can select auto update stats and weekly you can do update stats with full scan.
    Thanks Saurabh Sinha
    http://saurabhsinhainblogs.blogspot.in/
    Please click the Mark as answer button and vote as helpful
    if this reply solves your problem

Maybe you are looking for

  • Batch Wise Item Cost

    Hi   Any work around for batch wise item cost at the time of issue. Thanks

  • Install of 10.1.4.0.1 OAM Identity System Console link blank AGAIN

    I am now having a similar problem to the one that started the following thread: Install of 10.1.4.0.1 OAM Identity System Console link goes to blank page When I click "Identity System Console" I get a blank page. This is a different problem than that

  • Oracle VM 3 with VM Manager

    Hello, As virt-install is not available in Oracle VM 3.0, I would like to know if there is any another way to create VMs manually in Oracle VM 3.0 (we dont want to get Oracle VM Manager) Thank you!!!

  • Using todays date as default for this function in the package

    Dear all; please find attached the following sample data and syntax create table tbl_one   id varchar2(200),   place varchar2(300),   create_date date insert into tbl_one   (id, place, create_date) values   ('D', 'MN', to_date('3/3/2011', 'MM/DD/YYYY

  • How to launch a word document through VC

    Hi All, I have requirement which is as follows: I need to provide help for the screens of my application for which there are separate word documents which describes the process of using the application. There are about 6 help documents (MS word). I n