Jobs Failed in database planning Calendar

Hello Guru's
We are facing prblem in our solman server frequently these days ; In DB13 jobs failed
frequently I am attaching the log
Job started
Step 001 started (program RSDBAJOB, variant &0000000000024, user ID BCBASELL)
Execute logical command BRCONNECT On host bassolp1
Parameters: -u / -jid STATS20070329050000 -c -f stats -t ALL
BR0801I BRCONNECT 7.00 (24)
BR0805I Start of BRCONNECT processing: cdyjogou.sta 2008-07-17 05.00.40
BR0484I BRCONNECT log file: D:\oracle\PBC\sapcheck\cdyjogou.sta
BR0280I BRCONNECT time stamp: 2008-07-17 05.15.01
BR0301E SQL error -12560 at location db_connect-2, SQL statement:
'CONNECT /'
ORA-12560: TNS:protocol adapter error
BR0310E Connect to database instance PBC failed
BR0280I BRCONNECT time stamp: 2008-07-17 05.18.11
BR0301E SQL error -12560 at location db_connect-2, SQL statement:
'CONNECT /'
ORA-12560: TNS:protocol adapter error
BR0310E Connect to database instance PBC failed
BR0806I End of BRCONNECT processing: cdyjogou.sta2008-07-17 05.15.01
BR0280I BRCONNECT time stamp: 2008-07-17 05.18.11
BR0804I BRCONNECT terminated with errors
External program terminated with exit code 3
BRCONNECT returned error status E
Job finished
Please help me in regards to this issue
thanks & reagrds
Shishir

Are this job  worked earlier ? Are you implement the sapdba_role.sql script? Are your Server works fine?
Try to execute the Brtools from CMD on os level and check any job.
P.S. Dear read rules on this forum! Directly about point system (2,6,10) as i can see you only ask questions .
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement
Regards.

Similar Messages

  • SQL Server agent job failing to back up database

    I have set up a SQL server agent job to back up database on regular basis.. For some reason the back up fails.. Could not find any meaningful info in the logs.. Transaction logs are getting created for the same DB but not the database back up..
    The below is my environment..
    MS SQL Server 2005 - 9.00.1399.06
    Windows 2003 server SP2
    Any pointers would be helpful.. I checked the event logs and the agent logs and did not see obvious error.
    Thanks

    I have set up a SQL server agent job to back up database on regular basis.. For some reason the back up fails.. Could not find any meaningful info in the logs.. Transaction logs are getting created for the same DB but not the database back up..
    The below is my environment..
    MS SQL Server 2005 - 9.00.1399.06
    Windows 2003 server SP2
    Any pointers would be helpful.. I checked the event logs and the agent logs and did not see obvious error.
    Thanks
    NO answer can be provided unless you show us the error message. There can be numerous reasons for backup job to fail. See job history for details please post complete information present in job history.
    Check errorlog and note what error message is there at time when the backup job failed. You could find something useful. Please learn how to post question in forum just saying I have a problem will not help both of us.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • " The job failed" in copying database SQL SERVER 2012

    I'm trying to copy a database. When going through the Copy Database Wizard, I'm getting a Execute SQL Server Agent Job error. The error states " The job failed. Check the event log on the destination server for details". See below:
    Performing operation
    Add log for package (Success)
    Add task for transferring database objects (Success)
    Create package (Success)
    Start SQL Server Agent Job (Success)
    Execute SQL Server Agent Job (Error) Messages
    The job failed. Check the event log on the destination server for details. (Copy Database Wizard)
    I can't seem to find what causing this problem. Am I using the correct approach? I just need to copy this database. Thank in advance.

    Hi mohammad2050,
    When using Copy Database Wizard, please make sure that the SQL Server Agent account or Integration Services Proxy account is a member of sysadmin fixed server role, and has access permission on both of source and target file system.
    There is a blog about using SQL Server Copy Database Wizard for your reference .
    http://reddy25.blogspot.com/2013/12/copy-database-from-one-server-to.html
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • ERROR running PLANNING CALENDAR JOB on DBACOCKPIT

    Hi Master,
    I have some problems with my dbacockpit, I cannot run any job planning calendar on dbacockpit..anyone can help me to resolved the problem?
    Thanx,
    Luki

    Hi Luku
    did you performed "self-Monitoring" and applied the master note with SNOTE?
    Sem

  • DBA Cockpit: Planning calendar and remote Oracle databases- which method?

    For using DBA Planning Calendar to schedule BR*Tools for remote Oracle database AS Java systems I have successfully implemented both the Secure Shell and SAP gateway methods in [Note 1025707 - DBA Cockpit: Planning calendar and remote Oracle databases|https://service.sap.com/sap/support/notes/1025707] and was interested in which of these two methods others have found to be more supportable and maintainable?
    In more detail, the note has these two methods for non-ABAP remote systems:
    2. Connection through Remote/Secure Shell
    Specifically Secure Shell. Rejecting remote shell as too old and insecure a protocol.
    3 Connection through SAP gateway
    The note provides clues as to how these methods work. Expanding on that:
    With #2, central ABAP system calls out to its OS user level to execute the ssh client (after gw/rem_start has been set to the non-default value SSH_SHELL) which it finds in the location specified in gw/ssh (default value is /usr/bin/ssh). It must use password-less authentication and the key-based authentication must also not require a passphrase. (Using ssh-agent is not an option since this is being called from SAP, not from your own script.)
    It remotely runs via ssh a command, sapxpg, which must be found in the PATH of the remote user. (This is why the note, which has you place this exe sapxpg and a subset of the BR*Tools in the home dir of the remote user, also has you make sure the home dir is included in the path--your OS might or might not include the user's home dir in the path in the default shell environment for a new user.)
    Then via sapxpg, the BR*Tools are invoked.
    One thing that may be confusing here is you have to check at least one gateway parameter 'gw/...' in the central system to get the method #2 the non-gateway method to work--this is because the two methods are technically almost the same: in #2, secure shell is used to basically start a gateway on the fly with sapxpg in order to call the BR*Tools each time a DBA Planning Calendar action runs or you view DBA or Backup logs of the remote system from the central system. With #3, the gateway runs continuously on the remote system.
    With #3, central system connects to remote SAP standalone gateway, which executes the BR*Tools installed in the standard SAP kernel directory of the SAP gateway. This method is simpler to describe so it sounds like it has less components than the secure shell method, however you do have an entire SAP system running, although it is just a standalone gateway.
    Thoughts:
    These pros/cons are UNIX/Linux-oriented since I assume most Windows environments do not have added 3rd-party products that provide secure shell so SAP gateway is the only method.
    Secure shell
    + Less software required (not counting secure shell which comes with the operating system distribution): just a few SAP executables placed in the home dir of an ordinary user on the remote system.
    + Secure shell service probably automatically starts upon boot of the remote system operating system.
    + Secure shell is a widely used tool outside of SAP for executing commands remotely without passwords.
    - Installation is non-standard: shell environment of remote user is not adapted by SAP installer since SAP installer is not used, SAP executables in the home dir of the remote user is non-standard. Has to be setup manually.
    - Requires setting up secure shell key-based authentication, which should be known by UNIX/Linux admins or combined Basis/UNIX/Linux admins, but might be less familiar to SAP Web AS only admins.
    - If your admin config policy is to have SAP interact as little possible with the OS level for interfaces with other systems, here you are relying on the OS-level secure shell.
    - Using a private key that does not require a passphrase on the central system may not fit with your security policies if you have standards for secure shell configuration.
    SAP gateway
    + The gateway is a standard installation, performed with SAP installation tool, with the exception of a few additional environment settings that have to be added after the installation. BR*Tools are installed in the standard location. Can use standard procedures for updating this software.
    + Only uses SAP software.
    - More software on remote system: standalone gateway just to run BR*Tools and view logs.
    - SAP Kernel of remote gateway should probably be updated whenever you do SAP kernel updates across your systems for consistency. One more system to update.
    - Shell environment of remote user that runs the gateway looks like something setup by the SAP installer but is not standard because it has a few additional environment variables added.
    - Need to make sure the SAP gateway is started on the remote system.

    Hi Joe,
    I configured a monitoring/dba landscape for two SAP Portals and one SAP BusinessObjects system on a SAP landscape by using DBACOCKPIT, at a customer site. These systems are running on AIX, Windows 2003/2008 servers and attached to the central monitoring system with standalone SAP gateway installations.
    One another reason to not use OS based commands or 3rd party tools is security. We are stopping and disabling most of the services on OS where SAP system is running on, because of the security reasons. I faced more security gaps on rsh/ssh and the other tools than standalone SAP Gateway installations. As you can figure out that rsh/ssh is getting more attack than standalone SAP Gateway, because of well known by the IT world.
    As a summary of it, this depends to point of view and policy of the IT organization. I applied both ssh and standalone SAP Gateway solutions at my customers, but I choose standalone SAP Gateway installation among of them.
    Best regards,
    Orkun Gedik

  • DB13 job failed due to SXPG_COMMAND_EXECUTE error

    Hi,
    I received an error when I try run the BRCONNECT Database Action Calendar (tx. DB13), either it's a Database check, statistics updates, etc. The error messages are as follows:
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000166, user ID SETIR0)
    No application server found on database host - rsh/Gateway will be used
    Execute logical command BRCONNECT On host tdcwsxd1
    Parameters: -u / -c -f check
    SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: program_start_error: For More Information, See SYS
    Job cancelled after system exception ERROR_MESSAGE
    FYI, we're using DB instance (DB) and Central Instance (CI) on each separate box in the unix environments. SAP Basis rel. 620 with SP level SAPKB62053.
    If I execute the command directly in DB instance, it works fine but not from SAP trx DB13.
    Command: brconnect -u / -c -f check.
    Thanks and best regards,
    Mark

    Hi Mark,
    Sorry I see you are running on Unix, I am only familiar with Windows environment, but however on Windows I would do the following:
    1) Install a so called Standalone Gateway on the DB-host.
    2) copy the sapxpg executable to the directory where the gateway is installed.
    2) Change the SAPXPG_DBDEST... RFC connection to point to, or use this gateway (gateway options).
    That's all....
    (How to Install a standalone gateway or Gateway instance is normally described in the SAP installation guide).
    But as I sad, I am not sure if this is possible under Unix also, and the way to go...
    Regards
    Rolf

  • Backup Job Fails

    Dear All,
    I received an error in maintenace plan regarding the backup Job Fails.
    Executed as user: IPROINDIA\sqlservice. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  1:30:27 AM  Could not load
    package "Maintenance Plans\Daily_BACKUP" because of error 0xC0014062.  Description: The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired).  The SQL statement that was issued has failed. 
    Source:   Started:  1:30:27 AM  Finished: 1:30:43 AM  Elapsed:  15.297 seconds.  The package could not be loaded.  The step failed.
    Anyone please Help What is the issue

    Can you log in as PROINDIA\sqlservice to SQL Server and issue BACKUP DATABASE dbname ........? Still
    have a error?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • SQL Server Agent Job Failing on Job Step

    Hi,
    Firstly, apologies if this post has been made in the wrong group.  Running SQL Server 2012.  I'm attempting to add a SQL Server Agent Job which calls a stored procedure that sends a Database Mail message.  The SQL Server and SQL Server Agent
    both run under the NT AUTHORITY\NETWORK SERVICE account.  The Database Mail service has been enabled, and a public profile created.  When running the stored procedure manually, I receive no errors - everything runs as expected and I do receive an
    email containing the expected information.
    I've created the job, job step, job schedule, attached the schedule to the job, and assigned the job to server, all using T-SQL without error.  I've also enabled the mail profile on the SQL Server Agent, and I know that part is working because when
    the job fails, I get an email notification of the failure.
    I've checked the command text in the job step and parsed it within the SQL Job Step Edit window to confirm, it shows as parsing correctly.  However, when I manually run the job itself, I get the following:
    Execution of job failed.  See the history log for details.
    I check the history log and it shows:
    [474] Unable to refresh Database Mail profile Database Mail Profile. (reason: ) (Not a typo, the history log shows no reason)
    [260] Unable to start mail session.
    [396] An idle CPU condition has not been defined - OnIdle job schedules will have no effect
    The command text on the failing job step is as follows:
    DECLARE @date [varchar](10)
    SET @date = CAST(GETDATE() AS [varchar](10))
    EXEC [dbo].[GetExceptions]
    @company = 'MyCompany',
    @checkDate = @date
    With regard to the date value being passed as varchar: This stored procedure is used to check for exceptions against multiple databases on this server (hence the company parameter) via dynamic SQL.  I'd much prefer to use proper data typing but this
    is the only way I could get it to work.
    Does anyone have any suggestions on anything else I could check, or insights into why this is failing?  Any help is greatly appreciated!
    Best Regards
    Brad

    I am not sure if this really helps but I would do follow the below steps:
    1. make sure sql server agent has database mail enabled(rigt click on server agent--properties--alert system--enable database mail and choose right profile.) and RESTART THE SQL SERVER AGENT.(i know you said it i working, but sometimes,  restart the
    sql server agent might fix)
    2. check agent error log and check if any error messages.
    3. run the command text you mentioned in sql server and see if it is working.(i know you said it is working but just to make sure).
    4. make sure sql server agent service user has permissions to run database mail in msdb. check this https://msdn.microsoft.com/en-us/library/ms186358.aspx
    5. Check the output from select * from msdb.dbo.sysmail_log and if it says anything
    6.it does not look like the job log is getting truncated but to make sure, get the job step output to a text file.to do this, edit the job step and on the job step properties click on advanced,  enter path to the output file. this will give the complete
    output for the step.
    Hope it Helps!!

  • Data Collection Jobs fail to run

    Hello,
    I have installed three servers with SQL Server 2012 Standard Edition, which should be identically installed and configured.
    Part of the installation was setting up Data Collection which worked with out problems on two of the servers, but not on the last where 5 of the SQL Server Agent Jobs fails.
    The jobs failing are:
    collection_set_1_noncached_collect_and_upload
    Message:
    Executed as user: NT Service\SQLSERVERAGENT. The step did not generate any output.  Process Exit Code -1073741515.  The step failed.
    collection_set_2_collection
    Step 1 message:
    Executed as user: NT Service\SQLSERVERAGENT. The step did not generate any output.  Process Exit Code -1073741515.  The step failed.
    collection_set_2_upload
    Step 2 message:
    Executed as user: NT Service\SQLSERVERAGENT. The step did not generate any output.  Process Exit Code -1073741515.  The step failed.
    collection_set_3_collection
    Step 1 message:
    Executed as user: NT Service\SQLSERVERAGENT. The step did not generate any output.  Process Exit Code -1073741515.  The step failed.
    collection_set_3_upload
    Step 2 message:
    Executed as user: NT Service\SQLSERVERAGENT. The step did not generate any output.  Process Exit Code -1073741515.  The step failed.
    When I try to execute one of the jobs, I get the following event in the System Log:
    - <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    - <System>
      <Provider
    Name="Application Popup"
    Guid="{47BFA2B7-BD54-4FAC-B70B-29021084CA8F}" />
      <EventID>26</EventID>
      <Version>0</Version>
      <Level>4</Level>
      <Task>0</Task>
      <Opcode>0</Opcode>
      <Keywords>0x8000000000000000</Keywords>
      <TimeCreated
    SystemTime="2013-06-04T11:23:10.924129800Z" />
      <EventRecordID>29716</EventRecordID>
      <Correlation
    />
      <Execution
    ProcessID="396" ThreadID="1336" />
      <Channel>System</Channel>
      <Computer>myServer</Computer>
      <Security
    UserID="S-1-5-18" />
      </System>
    - <EventData>
      <Data Name="Caption">DCEXEC.EXE - System Error</Data>
      <Data Name="Message">The program can't start because SqlTDiagN.dll
    is missing from your computer. Try reinstalling the program to fix this
    problem.</Data>
      </EventData>
     </Event>
    I have tried removing and reconfiguring the Data Collection two times using the stored procedure msdb.dbo.sp_syscollector_cleanup_collector and removing the underlying database.
    Both times with the same result.
    Below are the basic information about the setup of the server:
    Does any one have any suggestions about what the problem could be and what the cure might be?
    Best regards,
    Michael Andy Poulsen

    I tried running a repair on the SQL Server installation.
    This solved the problem.
    Only thing is that now I have to figure out the mening of these last lines in the log of the repair:
    "The following warnings were encountered while configuring settings on your SQL Server.  These resources / settings were missing or invalid so default values were used in recreating the missing resources.  Please review to make sure they don’t require
    further customization for your applications:
    Service SID support has been enabled on the service.
    Service SID support has been enabled on the service."
    /Michael Andy Poulsen

  • SSIS job fails on connection to target db - works in debug

    the ongoing saga...
    I have a web application developed through VS 2012 which has a button on a form that when operated starts a SQL Server agent job on the server that runs an SSIS package.  The website and the instance of SQL Server with the agent and SSIS package are
    on the same windows 2008 r2 server.  When the button is operated no exceptions are raised but the SSIS package did not execute.  The SQL Server Agent job owner is sa ...that seemed to resolve some issues as originally I had the owner being another
    admin on the same box.  Now the job seems to be failing on connect to the target database on an IBM iSeries DB2 server.  The job runs fine in debug connecting to the db and doing its task successfully. 
    The log indicates that the user specified in the connection manager is using an invalid password or is otherwise unable to connect, although it works fine in debug mode and save password is specified.  I use BIDS remote desktoped to the server
    when developing and debuging.
    Can anyone show me whats wrong now?  Thanks much in advance for any help, Roscoe                                           
    The log shows as follows...
    The job failed.  The Job was invoked by User DOMAINNAME\myuserid.  The last step to run was step 1 (Step1).,00:00:00,0,0,,,,0
    06/12/2014 13:34:50,runWebDevSmall,Error,1,NTSVR59,runWebDevSmall,Step1,,Executed as user: WINDOWSSERVRNAME\SYSTEM. Microsoft (R) SQL Server Execute Package Utility  Version 10.0.5500.0 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights
    reserved.    Started:  1:34:50 PM  Error: 2014-06-12 13:34:50.31     Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Password"
    with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error:
    2014-06-12 13:34:50.84     Code: 0xC0202009     Source: vbTestsmall Connection manager "iSeriesname.DBNAME.iSeriesuserid"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE
    DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "IBMDA400 Session"  Hresult: 0x80004005  Description: "CWBSY0002 - Password for user iSeriesuser on system iSeriesname is not
    correct ".  End Error  Error: 2014-06-12 13:34:50.86     Code: 0xC00291EC     Source: clear iSeriesname libraryname tablename Execute SQL Task     Description: Failed
    to acquire connection "iSeriesname.DBNAME.iSeriesuserid". Connection may not be configured correctly or you may not have the right permissions on this connection.  End Error  DTExec: The package execution returned DTSER_FAILURE (1). 
    Started:  1:34:50 PM  Finished: 1:34:50 PM  Elapsed:  0.703 seconds.  The package execution failed.  The step failed.,00:00:00,0,0,,,

    Hi Arthur, Thanks for the reply,
    BIDS would not let me save the package with ProtectionLevel of ServerStorage giving error...
    Failed to apply package protection with error 0xC0014061 "The protection level, ServerStorage, cannot be used when saving to this destination. The system could not verify that the destination supports secure storage capability.". This error occurs when saving
    to Xml.
     (vbTestsmall)
    ...but it would let me change the ProtectionLevel to EncryptSensitiveWithPassword so I did that and provided the jobstep in the agent with the password and the agent was able to run successfully.
    Thanks for all the help...I will follow your blog, Roscoe

  • LMS 3.2 Syslog purge job failed.

    We installed LMS 3.2 on windows server 2003 enterprise edition. RME version is 4.3.1. We have created daily syslog purge job from RME> Admin> Syslog> Set Purge Policy. This job failes with the following error.
    "Drop table failed:SQL Anywhere Error -210: User 'DBA' has the row in 'SYSLOG_20100516' locked 8405 42W18
    [ Sat Jun 19  01:00:07 GMT+05:30 2010 ],ERROR,[main],Failed to purge syslogs"
    After server restart job will again execute normally for few days.
    Please check attached log file of specified job.
    Regards

    The only reports of this problem in the past has been with two jobs being created during an upgrade.  This would not have been something you would have done yourself.  I suggest you open a TAC service request so database locking analysis can be done to find what process is keeping that table locked.

  • SQL Server Agent job fails with error : The package execution returned DTSER_FAILURE (1).

    Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 10:00:01 AM Error: 2014-08-15 10:00:07.20
    Code: 0xC0047062 Source: Data Flow Task LEAN [6761]
    Description: Teradata.Client.Provider.TdException: [Teradata Database] [3006] Logons are disabled.
    at Teradata.Client.Provider.WpMessageManager.CheckForError()
    at Teradata.Client.Provider.WpMessageManager.ProcessResponse()
    at Teradata.Client.Provider.WpLogonManager.Action()
    at Teradata.Client.Provider.WpSession.ManagerAction(WpMessageManager manager, UtlStopwatchWrapper watch, Int32 connectionTimeout)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout, String password)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout)
    at Teradata.Client.Provider.Connection.Open(UtlConnectionString connectionString, UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.CreateConnection(UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.GetConnectionFromPool(Object owningObject)
    at Teradata.Client.Provider.ConnectionFactory.GetConnection(Object owningObject, UtlConnectionString connStr)
    at Teradata.Client.Provider.TdConnection.Open()
    at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
    at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)
    at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
    at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction)
    End Error Error: 2014-08-15 10:00:07.35 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline
    Description: component "LEAN" (6761) failed validation and returned error code 0x80004005. End Error Error: 2014-08-15 10:00:07.48
    Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation.
    End Error Error: 2014-08-15 10:00:07.60 Code: 0xC0024107 Source: Data Flow Task
    Description: There were errors during task validation. End Error
    DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:00:01 AM Finished: 10:00:07 AM
    Elapsed: 6.692 seconds. The package execution failed. The step failed.
    SQL Server agent job fails with above error, Please let me know process tohandle it.
    Thanks,
    Vishal.

    The error message suggests its the issue with Teradata source database to which SSIS tries to connect within the data flow task. Make sure Teradata database is available and LOGON is enabled.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • CO_COSTCTR Archiving Write Job Fails

    Hello,
    The CO_COSTCTR archiving write job fails with the error messages below. 
    Input or output error in archive file \\HOST\archive\SID\CO_COSTCTR_201209110858
    Message no. BA024
    Diagnosis
    An error has occurred when writing the archive file \\HOST\archive\SID\CO_COSTCTR_201209110858 in the file system. This can occur, for example, as the result of temporary network problems or of a lack of space in the fileing system.
    The job logs do not indicate other possible causes.  The OS and system logs don't have either.  When I ran it in test mode it it finished successfully after long 8 hours.  However, the error only happens during production mode where the system is generating the archive files.  The weird thing, I do not have this issue with our QAS system (db copy from our Prod).  I was able to archive successfully in our QAS using the same path name and logical name (we transport the settings). 
    Considering above, I am thinking of some system or OS related parameter that is unique or different from our QAS system.  Parameter that is not saved in the database as our QAS is a db copy of our Prod system.  This unique parameter could affect archiving write jobs (with read/write to file system). 
    I already checked the network session timeout settings (CMD > net server config) and the settings are the same between our QAS and Prod servers.  No problems with disk space.  The archive directory is a local shared folder \\HOST\archive\SID\<filename>.  The HOST and SID are variables which are unique to each system.  The difference is that our Prod server is HA configured (clustered) while our QAS is just standalone.  It might have some other relevant settings I am not aware of.  Has anyone encountered this before and was able to resolve it?
    We're running SAP R3 4.7 by the way.
    Thanks,
    Tony

    Hi Rod,
    We tried a couple of times already. They all got cancelled due to the error above. As much as we wanted to trim down the variant, the CO_COSTCTR only accepts entire fiscal year. The data it has to go through is quite a lot and the test run took us more that 8 hours to complete. I have executed the same in our QAS without errors. This is why I am bit confused why in our Production system I am having this error. Aside that our QAS is refreshed from our PRD using DB copy, it can run the archive without any problems. So I made to think that there might be unique contributing factors or parameters, which are not saved in the database that affects the archiving. Our PRD is configured with High availability; the hostname is not actually the physical host but rather a virtual host of two clustered servers. But this was no concern with the other archiving objects; only in CO_COSTCTR it is giving us this error. QAS has archiving logs turned off if it’s relevant.
    Archiving 2007 fiscal year cancels every after around 7200 seconds, while the 2008 fiscal year cancels early around 2500 seconds. I think that while the write program is going through the data in loops, by the time it needs to access back the archive file, the connection has been disconnected or timed out. And the reason why it cancels almost consistently after an amount of time is because of the variant, there is not much variety to trim down the data. The program is reading the same set of data objects. When it reaches to that one point of failure (after the expected time), it cancels out. If this is true, I may need to find where to extend that timeout or whatever it is that is causing above error.
    Thanks for all your help.  This is the best way I can describe it.  Sorry for the long reply.
    Tony

  • DBA: ANALYZETAB and DBA:CHECKOPT jobs failed.

    Hi Guys,
    Good day!
    I would like to seek an assistance on how can I deal with the issue below:
    For JOB: DBA: ANALYZETAB
    27.05.2010 04:00:20 Job started
    27.05.2010 04:00:28 Step 001 started (program RSDBAJOB, variant &0000000000113, use
    27.05.2010 04:00:28 Action unknown in SDBAP <<< Job failed due to this error.
    27.05.2010 04:00:28 Job cancelled after system exception ERROR_MESSAGE
    For JOB: DBA:CHECKOPT
    Date       Time     Message text
    26.05.2010 18:15:07 Job started
    26.05.2010 18:15:08 Step 001 started (program RSDBAJOB, variant &0000000000112)
    26.05.2010 18:15:09 Action ANA Unknown in database ORACLE <<<< Job failed due to this error.
    26.05.2010 18:15:09 Job cancelled after system exception ERROR_MESSAGE
    I also checked those DBAs and I could find any in DB13 as well as in table SDBAP.
    Appreciate your help on this matter.
    Cheers,
    Virgilio
    Edited by: Virgilio Padios on May 29, 2010 3:24 PM

    Hello,
    I may have the same scenario because I have two same jobs that are getting canceled in DB13.  I checked them and it is because that the jobs were created in a client which is no longer existing.  "Logon of user XXXX in client XXX failed when starting a step"
    DBA:ANALYZETAB
    DBA:CHECKOPT
    Can you please tell the importance of these jobs as these are not included in SAP Note 16083 - "Standard jobs, reorganization jobs" as one of the standard jobs.  If required, I need to reschedule these jobs in DB13 which I do not know how.  DB13 does not have options that will create these type of jobs.  So far, this is what I can only see from my DB13.
    Whole database offline + r
    Whole database offline bac
    Whole database online + re
    Whole database online back
    Redo log backup          
    Partial database offline b
    Partial database online ba
    Check and update optimizer - this is for DBA:UDATESTATS
    Adapt next extents - this is for DBA:NEXTEXTENT
    Check database - this is for DBA:CHECKDB        
    Verify database  - this is for DBA:VERIFYDB       
    Cleanup logs  - this is for DBA:CLEANUPLOGS           
    So where does these two jobs should be generated from?  I would appreciate any help regarding this.  
    Thanks,
    Tony

  • Db13 both the jobs failed update stats and DB check

    Dear Friends,
    Request you to look at following logs and suggest .
    Thanks in advance.
    BR0883I Table selected to collect statistics after check: SAPSR3.ALSLDCTRL (1/0:34:0)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0881I Collecting statistics for table SAPSR3.ALSLDCTRL with method/sample C ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0884I Statistics collected for table: SAPSR3.ALSLDCTRL, rows old/new: 1/1
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0883I Table selected to collect statistics after check: SAPSR3.ALTSTLOD (118/0:6940:0)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0881I Collecting statistics for table SAPSR3.ALTSTLOD with method/sample C ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0884I Statistics collected for table: SAPSR3.ALTSTLOD, rows old/new: 118/118
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0850I 9 of 102 objects processed - 0.105 of 9.323 units done
    BR0204I Percentage done: 1.12%, estimated end time: 23:11
    BR0001I *_________________________________________________
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0883I Table selected to collect statistics after check: SAPSR3.ARFCRSTATE (43/29218:7005:29195)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.50
    BR0881I Collecting statistics for table SAPSR3.ARFCRSTATE with method/sample C ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.53
    BR0884I Statistics collected for table: SAPSR3.ARFCRSTATE, rows old/new: 43/66
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.53
    BR0883I Table selected to collect statistics after check: SAPSR3.ARFCSDATA (153830/419010:0:296422)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.00.53
    BR0881I Collecting statistics for table SAPSR3.ARFCSDATA with method/sample E/P10 ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0884I Statistics collected for table: SAPSR3.ARFCSDATA, rows old/new: 153830/274700
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0850I 11 of 102 objects processed - 0.550 of 9.323 units done
    BR0204I Percentage done: 5.90%, estimated end time: 23:08
    BR0001I ***_______________________________________________
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0301W SQL error -1 at location brc_dblog_write-2, SQL statement:
    'INSERT INTO SAP_SDBAD (BEG, FUNCT, SYSID, POS, LINE) VALUES ('20090720230019', 'sta', 'WIP', '0000', 'A 00000000 00000000 00000
    ORA-00001: unique constraint (SAPSR3DB.SDBAD__0) violated
    BR0325W Writing to database log failed
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0883I Table selected to collect statistics after check: SAPSR3.ARFCSSTATE (4029/146985:38657:32482)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.12
    BR0881I Collecting statistics for table SAPSR3.ARFCSSTATE with method/sample E/P10 ...
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.27
    BR0884I Statistics collected for table: SAPSR3.ARFCSSTATE, rows old/new: 4029/119330
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.27
    BR0883I Table selected to collect statistics after check: SAPSR3.BAL_AMODAL (0/70:0:70)
    BR0280I BRCONNECT time stamp: 2009-07-20 23.01.27
    BR0881I Collecting statistics for table SAPSR3.BAL_AMODAL with method/sample C ...
    BR2.16
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSP02, rows old/new: 23263/24250
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSP02FX (1511/9606:0:9600)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSP02FX with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSP02FX, rows old/new: 1511/1517
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSP02W (1511/9606:0:9600)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSP02W with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSP02W, rows old/new: 1511/1517
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSPOPTIONS (12/0:10970:0)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.16
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSPOPTIONS with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSPOPTIONS, rows old/new: 12/12
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TSPSVI (5/0:19210:0)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TSPSVI with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TSPSVI, rows old/new: 5/5
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TST01 (31843/15941:56883:15606)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.17
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TST01 with method/sample E/P30 ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TST01, rows old/new: 31843/31640
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3.TUCNTRAW (63/83:16833:91)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3.TUCNTRAW with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3.TUCNTRAW, rows old/new: 63/55
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.19
    20.07.200 for table: SAPSR3.ZWS_POSTING_DATE, rows old/new: 582110/578840
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3DB.BC_UDDI_PARAM (82/320:4:320)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3DB.BC_UDDI_PARAM with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3DB.BC_UDDI_PARAM, rows old/new: 82/82
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0883I Table selected to collect statistics after check: SAPSR3DB.J2EE_KEYSEQUENCE (1/0:8:0)
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0881I Collecting statistics for table SAPSR3DB.J2EE_KEYSEQUENCE with method/sample C ...
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0884I Statistics collected for table: SAPSR3DB.J2EE_KEYSEQUENCE, rows old/new: 1/1
    20.07.2009     23:12:50     
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0850I 102 of 102 objects processed - 9.323 of 9.323 units done
    20.07.2009     23:12:50     BR0204I Percentage done: 100.00%, estimated end time: 23:12
    20.07.2009     23:12:50     BR0001I **************************************************
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0301W SQL error -1 at location brc_dblog_write-2, SQL statement:
    20.07.2009     23:12:50     'INSERT INTO SAP_SDBAD (BEG, FUNCT, SYSID, POS, LINE) VALUES ('20090720230019', 'sta', 'WIP', '0000', 'A 00000000 00000000 00000
    20.07.2009     23:12:50     ORA-00001: unique constraint (SAPSR3DB.SDBAD__0) violated
    20.07.2009     23:12:50     BR0325W Writing to database log failed
    20.07.2009     23:12:50     
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0879I Statistics checked for 68351 tables
    20.07.2009     23:12:50     BR0878I Number of tables selected to collect statistics after check: 102
    20.07.2009     23:12:50     BR0880I Statistics collected for 102/0 tables/indexes
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0301W SQL error -1 at location brc_dblog_write-2, SQL statement:
    20.07.2009     23:12:50     'INSERT INTO SAP_SDBAD (BEG, FUNCT, SYSID, POS, LINE) VALUES ('20090720230019', 'sta', 'WIP', '0000', 'A 00000000 00000000 00000
    20.07.2009     23:12:50     ORA-00001: unique constraint (SAPSR3DB.SDBAD__0) violated
    20.07.2009     23:12:50     BR0325W Writing to database log failed
    20.07.2009     23:12:50     
    20.07.2009     23:12:50     BR0806I End of BRCONNECT processing: cebbggbz.sta2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0280I BRCONNECT time stamp: 2009-07-20 23.12.49
    20.07.2009     23:12:50     BR0803I BRCONNECT completed successfully with warnings
    20.07.2009     23:12:50     External program terminated with exit code 1
    20.07.2009     23:12:50     BRCONNECT returned error status E
    20.07.2009     23:12:50     Job finished

    Hi Jiggi
    Are you running 2 jobs at the same time from DB13?  What do you mean by >Db13 both the jobs failed
    >ORA-00001: unique constraint
    can happen due to lot of reasons in SAP. Basically it means you are insertion of  already existing records.
    This also may happen due to bug in brtools patch level. What is your brtools patch level?
    You can also have a look at
    https://service.sap.com/sap/support/notes/421697
    https://service.sap.com/sap/support/notes/458872
    Anindya

Maybe you are looking for

  • How do I save voicenote as ringtone? iphone 5

    I'm new to the IPhone.  I just bought the Iphone5.  Recorded a voicenote and would like to use it as a ringtone.  E-mailed the file to my WINDOWs-PC, renamed it to Ringtest.m4r, then E-mailed it back to my IPhone. There's no option to save it to Ring

  • Regarding session in flex

    hi, My question is ,how i have set session in php and in flex. i could not know how to set session in flex and php.How to handle session in flex. Please provide me solution to solve the problem. Thanks and Regards, venkat.R

  • Adding a custom stamp  to a large number of files.

    I need to build a batch process to add a custom stamp to a large number of PDF files. I want to do this without displaying tne files. I'm not sure where to go to learn about how to do this. I've found some sample Jscript code for the for stamps but d

  • How to use a deployable proxy to consume a web service?

    HI Gurus, I am following this article below which helpfully explains how to create a proxy. So far so good. I have been able to create a proxy. However, the article only describes how to build a proxy. https://www.sdn.sap.com/irj/sdn/go/portal/prtroo

  • Sun Cluster + meta set shared disks -

    Guys, I am looking for some instructions that most sun administrators would mostly know i believe. I am trying to create some cluster resource groups and resources etc., but before that i am creating the file systems that is going to be used by two n