SXPG_COMMAND_EXECUTE failed when executing cleanuplogs in TR DB13

Hi,
I am getting SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: x_error when executing cleanuplogs program in DB13. I have the correct DBHOSTNAME configured in profiles, my SAPXPG rfc  is pointing correctly to the database. Also I have the required authorizations to execute SAPXPG program.Could you pls let me know what is the cause of this error and steps to resolve it.
Thanks,
Clarence

Hi Sharath
      Have you solved your problem? i have the same situation with you,  i am very appreciate it if you can reply me
BS
Jon

Similar Messages

  • Process flow failes when executing a mapping by error ......

    hi all,
    When we executes a mapping through owb normally it works fine.
    But the same when executes throgh a process flow it get falies with the f/w error.
    *"Set based mode not supported ORA-06512"*
    The operating mode is "set based fali over to row based"
    In the mapping we are doing some transforamtion and putting the data in a flat file.
    Please help in this reagrd.
    Regards
    ashok

    Hi,
    change in processflow configuration property OPERATING_MODE for this mapping to ROW_BASED or ROW_BASED_TARGET_ONLY
    Hope this helps!

  • XMLQuery fails when executed as a job

    Hi all,
    I build a query that checks the data server connections, using the string
    server://XMII/Illuminator?Service=SystemInfo&Mode=Status&Content-Type=text/xml
    The query works fine by itself and executed in a BLS. However, when I schedule the BLS, NetWeaver Log shows an error:
    Error Processing XMLQuery A remote host refused an attempted connect operation
    ...ACTION FAILED: End Action XML_listConnectStatus : (XML Query)
    I tried to supply user and pw to the job, or pass it as parameter to the query, but the error remains. I also tried to use the "http...<server>:<port>" prefix instead of "server", but the error does not disappear. What is the difference when calling it from workbench or as a job?
    Michael

    Rick,
    that solved it.
    I used the following:
    - TAG query
    - Simulator as Data Server
    - save query without further settings
    - define a BLS with this TAG query
    - Link Mode=Status and Service=SystemInfo
    The result set is a XML which can be processed.
    Thanks and Merry Christmas.
    Michael

  • Fails when executing job called syspolicy_purge_history (SQL Server 2012)

    Hi friends i have the following  problem
    The job syspolicy_purge_history  of my database engine failed, specifically on the third step called "Erase Phantom System Health Records" that executes a powershell.  This is the sentence that executes (All job syspolicy_purge_history
    on any SQL 2012 has the same code):
    if ('$(ESCAPE_SQUOTE(INST))' -eq 'MSSQLSERVER') {$a = '\DEFAULT'} ELSE {$a = ''};
    (Get-Item SQLSERVER:\SQLPolicy\$(ESCAPE_NONE(SRVR))$a).EraseSystemHealthPhantomRecords()
    .  When i see the job history i get the following:
    Message
    Executed as user: NT Service\SQLSERVERAGENT. The job script encountered the following errors. These errors did not stop the script:  A job step received an error at line 1 in a PowerShell script. The corresponding line is 'import-module SQLPS  -DisableNameChecking'.
    Correct the script and reschedule the job. The error information returned by PowerShell is: 'The specified module 'SQLPS' was not loaded because no valid module file was found in any module directory.  '  A job step received an error at line 2 in
    a PowerShell script. The corresponding line is '(Get-Item SQLSERVER:\SQLPolicy\SRV01236$a).EraseSystemHealthPhantomRecords()'. Correct the script and reschedule the job. The error information returned by PowerShell is: 'Cannot find drive. A drive with the
    name 'SQLSERVER' does not exist.  '  A job step received an error at line 2 in a PowerShell script. The corresponding line is '(Get-Item SQLSERVER:\SQLPolicy\SRV01236$a).EraseSystemHealthPhantomRecords()'. Correct the script and reschedule the job.
    The error information returned by PowerShell is: 'You cannot call a method on a null-valued expression.  '.  Process Exit Code -1.  The step failed.
    Aditionally i tested putting the policies in powershell like unrestricted (like i see on a blog). but it didn't work.
    My SQL version is 2012 Standard SP1 X64
    Please help me with this
    Thanks for your help
    Greetings
    Aleds

    Thanks for your help princekumar8 and gona_david
    Hello Gona_david,  You are right, when i execute the powershell sentence Get-Module -ListAvailable
    the SQLPS module doesn't appear. 
    Look i have another SQL Server 2012 in another server, but this is patched on SP2 and the syspolicy_purge_history here runs OK.  Also when i execute the powershell, the SQLPS appears in the list.
    So, my question is: If i patch my server SQL Server 2012 with the error from SP1 to SP2, is Possible that the error will get away? In fact, Wouldn't be yet necessary runs the SQL install? 
    Basically what you recommend me in this case?
    Thanks in advance 
    Greetings 
    Aleds

  • Maintenance Cleanup Task fails when executed with SQL Agent but dont if executed manually

    Hello,
    I have a job that fails with the following error if exectued via the SQL Server Agent but not if executed manually.
    The error is:
     Error: 2014-03-31 21:30:14.89     Code: 0xC002F210     Source: Maintenance Cleanup Task Execute SQL Task     Description: Executing the query "EXECUTE master.dbo.xp_delete_file 0,N'\\erpfiles\b..."
    failed with the following error: "xp_delete_file() returned error 2, 'The system cannot find the file specified.'". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly,
    or connection not established correctly.  End Error
    I have checked and the user configured to run the SQL Agent has all needed accesses to the folder \\erpfiles\b....
    Have you an idea to help me go further in my troubleshooting ? Or have you an idea to solve my problem ?
    Thanks in advance

    I think reason for this is the service account having no permissions on the specified folder path. Thats when you get this error most of the times. The user logged in might have access but please keep in mind that sql agent job makes use of service account
    to execute the job which would still need access to the pat to delete the files
    What you can do is add a proxy account and give it access to folder path and use it to execute the job
    http://www.databasejournal.com/features/mssql/article.php/3789881/Proxy-Accounts-in-SQL-Server.htm
    Alternatively you can give the service account access to the folder path.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Program fails when execute two or more DSUnbind

    Hello.
    My program has five numeric controls which take data from a lookout server by datasocket. I link the controls with DSBindCtrl. The application runs correctly but when I try unlink these controls by DSUnbind to exit , it becames blocked and I must kill it by task manager whith control+Alt+Supr.  I tried whith DS_Open and DS_DiscardCtrl and the behaviour is the same.
    Can anyone suggest anything?
    Thanks.

    Thanks fot you reply,
    I try to create another "EXECUTE FORMULA" inside of package but i dont have access to reply that task, because when i was create a package i copy and paste from another package wich already exists on the "SYSTEM FILE" folder.
    If i create a new "EXECUTE PACKAGE" task and try to add the same "expression"s  that "EXECUTE FORMULA" dont have the all of that only some.
    What ii have to configured to execute a new "execute package" task?
    About the scrip, i dont know what i have to change, maybe USERDIM1 who have to change the hardcording value is a "ACCOUNT" dim in my Destination App. Thats dimension, doesnt exists in my destination app, therefore i have to use *ADD_DIM and then *PUT, but i think doesnt work that way.
    Any sugestion?
    thanks in advance

  • Select from a linked server fails when executed as a join to database tables

    Hi
    I have been using the following TSQL to update a results table for several years it is currently running on SQL Express version 11.0.2100.60 (I have successfully run this on various versions and editions from 2005 onwards)
    select c.Race_id , r.Runner_id , i.Time_secs
      from CHAMPS INPUT]...Results I
      join  [dbo].[Race] c
      on rtrim(I.Race)COLLATE SQL_Latin1_General_CP1_CI_AS
      = rtrim(c.Race_name)COLLATE SQL_Latin1_General_CP1_CI_AS
      join  [dbo].[Runner] r
      on rtrim(I.[Name]) COLLATE SQL_Latin1_General_CP1_CI_AS
      = rtrim(r.First_Name)COLLATE SQL_Latin1_General_CP1_CI_AS + ' '
      + rtrim(r.Surname)COLLATE SQL_Latin1_General_CP1_CI_AS
     where i.Time_secs > 0
    This worked earlier today then with no obvious change stopped working
    No error is given but no rows are returned
    running select * from [CHAMPS INPUT]...Results where Time_secs > 0 returns the expected rows
    Any ideas where to look for the problem

    Erland thanks for your reply. I have resolved the issue, it was caused by an error in updating the joined race table. I was looking for a problem with the linked server and missing the obvious.
    Hi philpits,
    You can try to use SQL Profiler to capture some events while run your query.
    In addition, can you get expected result while run the query on remote server? Please also check your underlying tables.
    Regards,
    Elvis Long
    TechNet Community Support

  • R30RBE32.EXE failed when executing GDI.EXE. Rpts 5 runtime.

    One of my customers is getting the above error whenever they try
    starting a report. This had been working fine on their machine
    for about 6 months and suddenly this started. Many other
    clients are accessing these same files and not getting any
    errors...
    I tried reinstalling Forms 5.0 runtime without any luck. It
    starts accessing the server and client with activity like it is
    going to create the report, then this happens.
    Has anyone seen anything like this before?? Have any ideas
    whats causing it??
    Thanks,
    Jeff.
    null

    http://onesearch.sun.com/search/developers/index.jsp?charset=UTF-8&qt=%22EXCEPTION_FLT_STACK_CHECK%22&col=javadoc&col=devforums&col=javabugs&col=javatecharticles&col=javatutorials&col=devarchive&col=javasc&col=devall

  • Insufficient priv error when executing DBMS_ERRLOG through PLSQL

    Hi,
    I shall be grateful if any one of you give me the solution at the earliest.
    I have 2 schemas like A & B those are running on Oracle 10g rel2.
    As per my buz req' I need to create DML Error log table for 'A.T1' table in B schema using DBMS_ERRORLOG package.
    I have granted direct SELECT on A.T1 to B (...not through ROLE as it doesn't work in plsql)
    The problem is when i'm running the procedure,
    DBMS_ERRLOG.CREATE_ERROR_LOG('A.T1', 'err_T1', 'B');
    in SQL*Plus of B schema, it's creating the error log table successfully.
    But the same will get failed when i run this error log procedure with in a procedure owned by B schema.
    It throws 'ORA-01031: insufficient privileges'...
    I hope this is related to privilege issue which is working fine in SQL*Plus but NOT in PLSQL stored procedure.
    Awaiting your earliest reply.
    Thanks.
    - Ela

    >I dont think it's an issue with direct privilege. Actually the
    package is working when i execute it with in a ananymous block,
    but the same get fails when execute it through procedures...
    Role privs work with anonymous PL/SQL blocks. Does not work with stored PL/SQL code.
    SQL> create user user1 identified by user1 default tablespace users quota 2M on users;
    User created.
    SQL> grant create session to user1;
    Grant succeeded.
    SQL> create role user1_role;
    Role created.
    SQL> grant create table, create procedure to user1_role;
    Grant succeeded.
    SQL> grant user1_role to user1;
    Grant succeeded.
    SQL> connect user1/user1
    Connected.
    PL/SQL procedure successfully completed.
    SQL> create table x( n number );
    Table created.
    SQL> begin
    2 execute immediate 'create table y( n number )';
    3* end;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> create or replace procedure CreateTable is
    2 begin
    3 execute immediate 'create table z( n number )';
    4* end;
    SQL> /
    Procedure created.
    SQL> exec CreateTable
    BEGIN CreateTable; END;
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "USER1.CREATETABLE", line 3
    ORA-06512: at line 1
    SQL>

  • Insufficient privilege error when executing DBMS_ERRLOG through PLSQL

    Hi,
    I shall be grateful if any one of you give me the solution at the earliest.
    I have 2 schemas like A & B those are running on Oracle 10g rel2.
    As per my buz req' I need to create DML Error log table for 'A.T1' table in B schema using DBMS_ERRORLOG package.
    I have granted direct SELECT on A.T1 to B (...not through ROLE as it doesn't work in plsql)
    The problem is when i'm running the procedure,
    DBMS_ERRLOG.CREATE_ERROR_LOG('A.T1', 'err_T1', 'B');
    in SQL*Plus of B schema, it's creating the error log table successfully.
    But the same will get failed when i run this error log procedure with in a procedure owned by B schema.
    It throws 'ORA-01031: insufficient privileges'...
    I hope this is related to privilege issue which is working fine in SQL*Plus but NOT in PLSQL stored procedure.
    Awaiting your earliest reply.
    Thanks.
    - Ela

    Hi,
    It's not an issue with direct privilege. Actually the package is working when i execute it with in a ananymous block, but the same get fails when execute it through procedures...
    Even we have given COMMENT ANY TABLE priv to the schema and that too didn't work out.
    awaiting your reply.
    -Saravanan

  • Admin Task 2008 fails while executing from BIDS environment

    Hello,
    we developed a custom SSIS pcakge for automating master data load in BPC 7.5 MS.
    The packages works fine when running form Data Managaer.
    When executing the package from Business Intelligense development studio environement, only Admin Task 2008 with Create Dimension based on the SQL table option fails.
    The user id has full authrozation in BPC.
    Another information is that even this works fine when executing the package inside the server network.
    But fails when executing this by logging to application server remotely.
    Note that Run32bit property is already set to false.
    Error message it gives is : The Task Create Dimension Fails
    any expert thoughts are welcome.

    0x80070047 = "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."
    You must have some non-standard policy or restriction applied to the system hosting the share.
    Jason | http://blog.configmgrftw.com

  • Regards the issue on the db13 error is like SXPG_COMMAND_EXECUTE failed

    dear all,
    we are using
    os: windows 2003
    databse :oracle  10.2.0.4
    sap version: ecc 6.0
    & on the production system is on the cluster environment
    the issue is when ever i am firing any thing from the db13 it is throwing an error like
    SXPG_COMMAND_EXECUTE failed for BRBACKUP - Reason: program_start_error: For More Information, See SYS
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000013, user ID BASIs)
    Execute logical command BRBACKUP On host xxx
    Parameters:-u / -jid TAPIN20100403132120 -i force -c force -n 1 -v SCRATCH
    SXPG_STEP_XPG_START: is_local_host: rc = 403
    SXPG_STEP_XPG_START: host = xxx
    SXPG_STEP_XPG_START: is_local_r3_host: rc = 802
    SXPG_STEP_XPG_START: RFC_TCPIP_CONNECTION_OPEN: rc = 1003
    SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.003
    SXPG_COMMAND_EXECUTE(LONG)
    <timestamp> = 20100403132151
    COMMANDNAME = BRBACKUP
    ADDITIONAL_PARAMETERS =
    -u / -jid TAPIN20100403132120 -i force -c force -n
    1 -v SCRATCH
    LONG_PARAMS
    OPERATINGSYSTEM = ANYOS
    TARGETSYSTEM = xxx
    DESTINATION
    SY-SUBRC = 1003
    SXPG_COMMAND_EXECUTE failed for BRBACKUP - Reason: program_start_error: For More Information, See SYS
    Job cancelled after system exception ERROR_MESSAGE
    it had became very critical
    go live is very near for us
    so, kindly help me soon......................
    thanks in advance
    praveen kumar

    Hi,
    You have to install a  standalone gateway
    follow Note 657999 - Installing a Standalone Gateway in an MSCS Environment
    -Joel

  • Error in db13 SXPG_COMMAND_EXECUTE failed

    Hi
    I have ecc6 ehp4 with oracle on windows this is cluster environment, I have installed standalone gateway on node2 successfully as per note 657999 and its up & running
    When I keep db and application on separate nodes I cannot schedule any job in db13 I am getting error as below
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000039, user ID TABRAYZ)
    Execute logical command BRCONNECT On host SAPFNP
    Parameters: -u / -jid CHECK20110727155211 -c -f check
    Can't exec external program (No such file or directory)
    WaitForSingleObject failedwith %d (No such deviceor address)
    SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: unknown
    Job cancelled after system exception ERROR_MESSAGE
    Please help me guys.
    Thanks
    Abdul Tabrayz

    Hi,
    there are two things that you need to make sure:
    1) Make sure your RFC for sxpg should run on gateway host of virtual db in SM59.
    2) Please make sure that you should have set additional env variable as per SAP note 378648 for user <sid>adm.
    Thanks
    Sunny

  • DB13 SXPG_COMMAND_EXECUTE failed for backup reason

    Dear Gurus,
    I am facing error during DB13 since passed few days during backup and update statistics .SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: program_start_error: For More Information, See SYS
    cancelled after system exception ERROR_MESSAGE..
    Please do need full.
    Thanks,
    Regards,
    Snehal Patel

    Hi,
    Do you have Standalone gateway on your server ?
    You can try Go to the db13 -> goto -> backend configuration
    And change background or application server to the database server (where DB physically resides)
    If you Database is on another host then SAPXPG_DBDEST_<dbhost> or <virtual_dbhost> (a TCP/IP connection) will play an important role for executing SAPXPG command.
    1) Install a Gateway instance on the DB server
    2) Mention the Gateway hostname and service ( sapgwxx) in the RFC destination SAPXPG_DBDEST_<DBHOST> using SM59.
    Also check the permission of the SAPXPG file.
    SAP Note 446172 - SXPG_COMMAND_EXECUTE (program_start_error) in DB13 - Point 8

  • SSIS fails to load files from network when executed via SQL server Agent (SQL server 2008 R2 SP 2)

    Hi All,
    I have a simple SSIS package that reads a flat file and copies it into a SQL Server table.
    When the flat fiel is on the C drive I have no problem runnign this package from SQL Server Agent, but as soon as I update the path to a network location the package only works when I run it manually, but fails when is executed via the SQL Server agent job.
    The error says "cannot open the datafile", while the datafile location is valid.
    Is this a kind of limitation of a SQL Server Agent that only local files are allowed to be processed?
    Thanks,
    Andrei
    SSIS question

    Hi All,
    Thanks for your responses.
    I configured the SQL agent service to use my domain account with which I have no porblems accessing the folder. However the issue persisted.
    Thanks,
    Andrei
    SSIS question

Maybe you are looking for

  • When i change permission of folder why it doesn't change the permission inside that folder?

    When i change permission of folder why it doesn't change the permission to inside  files of that folder?

  • Hash algorithm support in JDK 1.3 and 1.4 (Sha1 or MD5)

    Hello, I have a Netscape code signing certificate that support "SHA1WithRSA" as signature algorithm. After signing my applet code using Netscape's signtool, I am able to successfully verify it and run it under JavaPlugIn 1.4. But while running it und

  • Do I need full ($29) version or just upgrade ($10) version?

    I bought my Mac in Dec 2008 and have kept up with all updates. 10.5.8 is the OS version. Will I need to purchase the full ($29) version of Snow Leopard or just the upgrade ($10) version? I read that if you bought your Mac within the last couple of mo

  • How to handle late hired employees

    We are using ukhrms. i have a situation where by employees in our company are delayed by HR to do the entries because of the delay in the employee's medical report from the clinic. Following is the case: employee joins on calendar month Jan 2010 and

  • Getting JasperException - in a JSP file

    Hello all, I am using a custom tag - that uses a JavaScriptDate bean...i did test it separately it works fine in a Jsp page... Now, I created a Tag class as JavaScriptDateTag.java that has the following code: class JavaScriptDateTag extends TagSuppor