Actions scheduled using DB13 fail.
Hi All,
Actions like Whole Database Offline Backup, Check DB, Update Statistics fail when scheduled using DB13. It gives the following error: <b>Can't exec external program (Permission denied)</b>
But the same when scheduled using BrTools, complete successfully. Please guide me.
Regards,
Anil.
Check the owner, group, and permissions for BR*Tools and SAPDBA as
described in Note .
<a href="http://service.sap.com/sap/support/notes/113747">113747</a>
Similar Messages
-
Offline backup scheduled in DB13 failed
Hello everybody,
Whole database offline + redo log backup scheduled in DB13 failed. We are running SAP on Oracle 10.2.0.2 on HP UX B.11.23
Here is the portion of log mentioning the error.
BR0202I Saving /oracle/TU4/sapbackup/.tape.hdr0
BR0203I to /dev/rmt/10mn ...
BR0209I Volume in device /dev/rmt/10mn has name TU4B05
BR0202I Saving init_ora
BR0203I to /dev/rmt/10mn ...
BR0202I Saving /oracle/TU4/102_64/dbs/initTU4.sap
BR0203I to /dev/rmt/10mn ...
BR0280I BRBACKUP time stamp: 2009-02-03 03.00.58
BR0198I Profiles saved successfully
BR0280I BRBACKUP time stamp: 2009-02-03 03.00.58
BR0307I Shutting down database instance TU4 ...
BR0278E Command output of '/oracle/TU4/102_64/bin/sqlplus /nolog < /oracle/TU4/sapbackup/.bdzvnffe.spi':
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Feb 3 03:00:58 2009
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
SQL> Connected.
SQL>
SQL> ORA-01013: user requested cancel of current operation
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning and Data Mining options
BR0280I BRBACKUP time stamp: 2009-02-03 04.01.04
BR0279E Return code from '/oracle/TU4/102_64/bin/sqlplus /nolog < /oracle/TU4/sapbackup/.bdzvnffe.spi': 0
BR0302E SQLPLUS call for database instance TU4 failed
BR0309E Shutdown of database instance TU4 failed
BR0056I End of database backup: bdzvnffe.aft 2009-02-03 04.01.04
BR0280I BRBACKUP time stamp: 2009-02-03 04.01.05
BR0054I BRBACKUP terminated with errors
Any input will be highly appreciated.
Regards
SantanuHi
Are u taking the offline backup on disk or tape. Your log seems to be mentioning it to be on tape. Anyways, have you set the /oracle/SID/102_64/dbs/initSID.sap file parameters accordingly. Also the log says that there has been a user intervention to stop the backup. Did you press Cntrl C in the process. Offline backups to tape is a bit tricky aand even we are fighting on this. I would suggest taking it on disk and then transferring it to tape.
Lokesh -
Offline backup failing when scheduled using DB13
Hi,
We have done our backup schedule of our BI 7 system running on AIX 5.3 and Oracle 10.2 using DB13.The activities like online backup and datbase check is executing correctly but offline backup is failing with status unknown.
If i check in sm37 for the DBA job offline backup is showing status completed successfully but in brbackup logs there is no log for the offline backup activity.
Kindly provide your suggestion on how i can resolve this issue.Hi Ammey,
Thanks for your reply.
When I trigger the backup directly from brtools offline backup is happening successfully.The issue is happening only for the db13 scheduled offline backup.The same thing happened for Update statistics but check db is executed.
So what has to be checked in backint settings pls provide you suggestion.
rgds,
vinayak -
HANA DB Backup scheduling in DB13 fails with error
Hi,
We are scheduling the HANA DB backup using DB13, which returns with
immediate error as below. please suggest.
"Execution of the Command:
backup data all using file
('/usr/sap/SHD/HDB01/backup/data/COMPLETE_DATA_BACKUP_04_04')
On host: OSS01-MAP-195
Command failed
insufficient privilege: Not authorized
:Exception CX_DBA_ADBC in class CL_HDB_ADBC methodEXEC_DDL line 23
: Kernel Error ID:
: WP ID: 17
: WP PID: 5932
: SYSID: DEFAULT
: SY-SUBRC: 0
: SQL statement: backup data all using file ('/usr/sap/SHD/HDB01/backu
: p/data/COMPLETE_DATA_BACKUP_04_04')
: Database: DEFAULT
:caused by
:Exception CX_SQL_EXCEPTION in class CL_SQL_STATEMENT
: Kernel ErrorID:
: DB Error: Yes
: SQL Code: 258
: SQL Message: insufficient privilege: Not authorized
: DB Object Exists: No
: Duplicated Key: No
: Internal Error: 1
: Invalid Cursor: No
: Unknown Connection: No
: Connection Closed: No
Exception CX_DBA_ADBC in class CL_HDB_ADBC method line 30
Job finished"
Regards
VinayHi,
If the solution is not yet available:
1) User does not have privilege:
insufficient privilege: Not authorized --> Just Grant BACKUP_ADMIN system privilege to the user
2) In the Command you have to give only Backup Prefix not the absolute path:
backup data using file ('COMPLETE_DATA_BACKUP_04_04');
is correct command.
-Sadanand -
Configure Offline Backup using db13
Hey Experts,
I am new to db2. Currently the database is running in nolog mode. So only offline backup can be taken. But Offline backup cannot be scheduled using db13 for db2.
I need help to change the parameters in db2.Currently the databse is in no log mode.I will have to change to a log mode to enable online backup. I would need a step by step guidance for that part.
PS: I am normally generous with points
Edited by: Atrai Mukherjee on Feb 14, 2008 1:24 PMAs of SAP Netweaver 7.0 SP12 and SAP systems based on kernel 7.10, The DBA Planning Calendar backup job does no longer support offline backups. Any offline backup, which has already been scheduled, will automatically be converted into an online backup with the INCLUDE LOGS option.
It is always recommended to configure SAP Database to run in archive log mode.
When a log file is filled with records, the db2logmgr is called by the database to copy the log file into the directory of the db cfg parameter LOGARCHMETH1/2. The copied log file is the offline log. When all referenced pages have been written from the buffer pool(s) to disk, the online log file is ready for renaming in the log_dir directory. A copy remains as an offline log in the archive directory.
Log files that reside in the archive directory can be archived to storage with db2tapemgr.
The initial setting of the DB CFG parameters LOGARCHMETH1 (and, if necessary, LOGARCHMETH2) has to be changed after the installation to enable roll-forward recovery. To view the logging configuration of your database, call transaction ST04, choose Backup and Recovery → Logging Parameters or use
the following command:
db2 get db cfg for <dbsid>
To change the logging configuration to the productive logging mode you have to
issue the following command:
db2 .update db cfg for <dbsid> using LOGARCHMETH1 disk:<archive destination>.
After updating db2 database parameter for logarchiving , shutdown SAP and deactivate db2 to take offline backup.
If you do not enable archive log point in time recovery is not possible and you have to shutdown SAP and deactivate database everytime you take offline backup.
Best Regards
Ashraf -
Schedule reorg/runstats jobs in BI using Control-M as scheduler not DB13
We would like to define the reorg/runstats jobs in a process chain in our BI system and use Control-M as scheduler .
Does anybody know how to define reorg/runstats jobs without using DB13?Hi,
check following notes
Note 915398 - DB2-z/OS: BW: New algorithm for calling RUNSTATS
Note 1146378 - DB2-z/OS:CCMS: Changed RUNSTATS handling for BW tables
regards,
kaushal -
Error in Backup job scheduling in DB13
Hi All
Backup job scheduled in DB13 kicks error ,I am using Oracle as database and ERP6.0
database and application are on diffrent servers.Before it was working fine,I didn't changed any password
I can run backupjob sucessfully directly from BRtools on database server.Please provide any hint
Job started
Step 001 started (program RSDBAJOB, variant &0000000000060, user )
No application server found on database host - rsh/gateway will be used
Execute logical command BRBACKUP On host DLcSapOraG08
Parameters:-u / -jid INLOG20090120204230 -c force -t online -m incr -p initerd.sap -w use_dbv -a -c force -p in
iterd.sap -cds -w use_rmv
BR0051I BRBACKUP 7.00 (31)
BR0128I Option 'use_dbv' ignored for 'incr'
BR0055I Start of database backup: bdztcorv.ind 2009-01-20 20.42.31
BR0484I BRBACKUP log file: D:\oracle\ERD\sapbackup\bdztcorv.ind
BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
'CONNECT /'
ORA-01017: invalid username/password; logon denied
BR0310E Connect to database instance ERD failed
BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
'CONNECT /'
ORA-01017: invalid username/password; logon denied
BR0310E Connect to database instance ERD failed
BR0056I End of database backup: bdztcorv.ind 2009-01-20 20.42.32
BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
BR0054I BRBACKUP terminated with errors
BR0280I BRBACKUP time stamp: 2009-01-20 20.42.32
BR0291I BRARCHIVE will be started with options '-U -jid INLOG20090120204230 -d disk -c force -p initerd.sap -cds -w use_rmv'
BR0002I BRARCHIVE 7.00 (31)
BR0181E Option '-cds' not supported for 'disk'
BR0280I BRARCHIVE time stamp: 2009-01-20 20.42.33
BR0301W SQL error -1017 at location BrDbConnect-2, SQL statement:
'CONNECT /'
ORA-01017: invalid username/password; logon denied
BR0310W Connect to database instance ERD failed
BR0007I End of offline redo log processing: adztcorw.log 2009-01-20 20.42.32
BR0280I BRARCHIVE time stamp: 2009-01-20 20.42.33
BR0005I BRARCHIVE terminated with errors
BR0280I BRBACKUP time stamp: 2009-01-20 20.42.33
BR0292I Execution of BRARCHIVE finished with return code 3
External program terminated with exit code 3
BRBACKUP returned error status E
Job finishedHi,
not sure if the recommendations given will address this issue.
You are getting this error:
BR0301E SQL error -1017 at location BrDbConnect-2, SQL statement:
'CONNECT /'
ORA-01017: invalid username/password; logon denied
the log file indicates:
> No application server found on database host - rsh/gateway will be used
This indicated that the user that is connecting from the AS to the DB server is not properly configured to perform the DB tasks on it.
So, first question would be to know if you have configured a gateway on the DB server and how, or if you are using remote shell.
Second question, you can do backups on the DB server.
> I can run backupjob sucessfully directly from BRtools on database server
How did you run exactly the backup job (what is the exact command line, what is the exact OS user that executed it)?
What is the OS of the DB server?
I have reread your post, your OS is windows therefore you fall in the "typical" error in Windows.
You have executed your backup as <sid>ADM and it works. Unfortunatelly, in windows, SAP is exectuted by SAPSERVICE<sid>, and this is the user who should be connecting to your DB server, and this is the user who cannot execute the backup.
The fact that you can run the backup with <sid>ADM in Windows does not means that you have SAPService<sid> properly configured.
For the error (see before) I think your ops$ user for this user is not properly configured in the DB server. take a look at the note mentioned by KT and pay attention to the SAPSERVICE<sid> configuration
Edited by: Fidel Vales on Jan 24, 2009 12:45 AM -
Initialize Tape error using DB13
Hello everyone,
I'm just a beginner in SAP as Basis Administrator. I'm trying to simulate the Online Backup using the BRTOOLS, wherein you manually set the volume_group for tape, the initialize tape and backup is successful. When i used db13 doing the initialize tape, it was tagged as SCRATCH that makes my backup failed.
I want to know, why and how will the initialization of tape using DB13 be a success? Why it was tagged as SCRATCH? I want to make this work so i can schedule online backup to our PROD server.
Thanks and regards,
GelyneHi,
go to init<SID>.sap and check this parameter are set or not
volume_backup = (SIDB01, SIDB02, SIDB03, SIDB04, SIDB05.........)
volume_archive = (SIDA01, SIDA02, SIDA03, SIDA04, SIDA05..........)
if not check with you hardware vendor and ask for tape lebel name
because system is not get tape lebel in init<SID>.sap file that why it is searching
for SCRACH tape label and failing with error -
Hi All,
We are using ECC 6.0 with MSSQL 2005, we want to schedule backup using DB13, is there any note before scheduling the backup.
regards,
GunaHi Nagendra,
We tried that, but getting error,
SQL Job information ******************************
Jobname: SAP CCMS Full DB Backup of P10 [20091119172908-4-172908]
Type: TSQL
DB-Name: P10
For Run: 20091119 17:29:08
Job history information *****************************
Stepname: CCMS-step 1
Command: declare @exeStmt nvarchar(2000) exec p10.sap_backup_databases @dbList=
"P10",@r3Db="P10",@bDev="Disk",@expDays= 27,@jobName= "SAP CCMS Full D
B Backup of P10 [20091119172908-4-172908]",@bkupChecksum="N",@bkupType
="F",@nativeBkup="N",@exeDate = "20091119172908",@bkupSim = "N",@forma
t = 0,@init = 0,@bkupDb = "P10",@unload = 0,@exeStmt = @exeStmt OUTPUT
Status: (failure)
Message: 2528
Severity: 16
Duration: 0 hours(s) 0 min(s) 0 sec(s)
Last msg: Executed as user: NT AUTHORITY\SYSTEM. Cannot open backup device 'Disk
servername\Backup_SAP_servers)'. Operating system error 5(Access is
denied.). [SQLSTATE 42000] (Error 3201) BACKUP DATABASE is terminati
ng abnormally. [SQLSTATE 42000] (Error 3013) DBCC execution completed
. If DBCC printed error messages, contact your system administrator. [
SQLSTATE 01000] (Error 2528). The step failed.
<----
End of Job Step History -
>
Job history information *****************************
Suggest me for the above error message.
regards,
Guna -
Help! job scheduled in DB13 cannot run successfully
Hi! I am a basis administrator of an automobil company.
Job scheduled in DB13 in our PRD system cannot run successfully.
We have Central instance(ci) and Database instance(db) installed on seperated hosts. We use SUN cluster 3.1 technology.
The problem occurs after my college restarted the whole system accidentally. After that, all the job scheduled in DB13 report the same error,job log looks like:
Job started
Step 001 started (program RSDBAJOB, variant &0000000000192, user ID ***)
No application server found on database host - rsh will be used
Execute logical command BRCONNECT On host orahost
Parameters: -u / -c -f check
BR801I BRCONNECT 6.20 (113)
BR252E Function fopen() failed for '/oracle/PR1/sapcheck/cduuoiij.chk' at location main-8
BR253E errno 2: No such file or directory
I manually type the 'rsh' command on ci to invoke 'brconnect' on db. It works all right. And I check the rfc destination 'SAPXPG_DBDEST_ORAHOST' in sm59 , it's normal. There is no gateway instance on database server.
The parameter 'SAPDBHOST' = orahost (the database server is called orahost)
the parameter 'SAPLOCALHOST' = cihost(the central instance is located on cihost)
Any suggestion is very appreciated.
Thx!Hi Joe,
DB13 will run only on application server as for that matter any SAP program. It will then connect to database at OS level. I mean you normal reports also fetch data from database for which they have to connect to DB but they all run on application server. The problem is coming in connection to database through the application layer.
Please again review the OSS notes sent by Sunil and me. I think a greater focus on Sunil`s notes should help you out.
Regards.
Ruchit. -
Errors during backup of MSSQL 2005 using DB13
Hi,
I have an ECC 5.0 system, and when I try to perform any kind of backup of a MSSQL 2005 database using DB13 I get an error like this:
Modified: 2006-12-05 11:43:55.
Command: pc1.sap_backup_databases
@dblist="PC1,master,msdb",@r3db="PC1",@bdev="PC1
_v2",@unload=0,@jobname= "SAP CCMS Full DB Backup
of PC1,master,msdb [20061205114354]"
Descript: SAP CCMS JOB
*********** Task history information ***********
For run: 20061205 23:00:00
Status: 0 (failure) (see DB error log)
Message: 3013
Severity: 16
Duration: 0 hours, 0 minutes, 0 seconds
Last msg: Executed as user: NT AUTHORITYSYSTEM. DBCC execut
ion completed. If DBCC printed error messages, con
tact your system administrator. [SQLSTATE 01000] (
Message 2528) The user-specified MEDIANAME "ID05S
" does not match the MEDIANAME "ID29S" of the devi
ce "PC1_v2(D:BackupPC1_2.bak)". [SQLSTATE 42000]
(Error 4037) BACKUP DATABASE is terminating abno
rmally. [SQLSTATE 42000] (Error 3013). The step
failed.
The strange thing is that if I create a new backup device in MS SQL Server Management Studio, and assign a backup job to use this backup device, the backup is successfull... but only the first time I schedule the backup. Following backup attempts to same device fails with the error message above.
Any ideas, anyone?
Regards,
ThomasHi Kan,
So your suggestion is that I should run a backup with the format media option selected? I believe I have tried that, but I will nevertheless give it another go.
Will keep this thread open in the mean time.
Thomas -
Action recorded using RAW open step will not work with layered PSDs
Hello,
The title says it all.
I have an action for resizing photos (and some other things), that I want to make general enough to work on NEF's, JPG's and PSD's. When I recorded the action I used a NEF file and the action works great also for JPEGs and also PSDs that don't have layers. When running the action on a layered PSD, the step immediately after the "open" step fails, no matter what it is. For example, if it's "hue/saturation", I get the error "hue/saturation not available".
So I was thinking that the image should be first flattened so I added 2 additional steps just after the open: one to add a dummy 0-opacity layer and another step to flatten the image. But no matter what, I keep getting an error at the step after the open: "new adjustment layer not available" or the like.
I'm thinking that the problem is with the open step actually. For some reason, the o CameraRaw open step is unable to produce a suitable image out of a layered PSD.
Is there a workaround for this? Thanks!Thanks for the explanation.
However, I am still puzzled as to how the programme can detect lack of time code when the tape was not even rewound or played. I belive the time code is written on the tape.
Anyway, I tried iMovie and found that the programme detects the camera and controls it. However, it does not recognise the downconverted DV signal. When I turned the DV conversion off, the video was detected and imported using MagicMovie in HD. I still have not gone round to burning on a DVD. ( I only read the article mentioned by Sue after having tried the iMovie programme - somehow the link that was so clearly stated in the reply missed my notice earlier on).
I have actually recorded the downconverted DV video on a standalone Phillips DVD recorder but the DVD only plays in that recorder and my Mac DVD Player even tho I have finalised the +R disk. The same problem occurs with a +RW disk.
I appreciate the replies and the explanations. Thanks.
m_elan
Power Mac G5 Mac OS X (10.4.9) 2.5 Gb ram -
Cuic : SCHEDULED REPORT EXECUTION FAILED
Hey.
Every time i try to schedule a report to being send with an email and pdf i only get an email saying
SCHEDULED REPORT EXECUTION FAILED
The email has no subject or anything.
If im scheduling it to send it as xls og html i works fine - but fails on the pdf.
Has anyone seen this before.
The logs says nothing about a failure.
My system is and
UCCX 9.02
Best regards
ThomasHi Jörg,
we use simple server based batch scripts . These scripts use the functionality provided by the BPA Admin tool to perform different tasks. You can either start macros inside the tool or perform other tasks like backing up the DBs etc.
This is a very simple by proven way to automate server based activities. We use this since the old ARIS days
Cheers
Dirk -
Scheduled webi reports fail, why? If I restart BO services they work again
Hello.
I'm having a problem with my scheduled Webi reports and I don't know what is causing it. I have some reports scheduled to run at 8:00 am, and are supposed to be sent to a determined e-mail. Last week it worked well and the reports were sent to their destination successfuly, then this week the same reports didn't reach their destination. I verified in the History option and all of them showed a Failed status. I checked the detail and this is what it shows:
Unexpected exception caught. Reason: [java.lang.NullPointerException: i_statusInfo is null.]
If I try to reschedule these reports or any other report or a new report I get the same error. The only way I can make the schedule option work again for my webi reports is restarting BusinessObjects services.
But I guess this is not the right solution.
What can I do? How can I determine what is causing my scheduled webi reports fail?
What does this java.lang.NullPointerException: i_statusInfo is null message mean?
Is there a way I could track the service that is failing? which BO service is the service that manage the Schedule reports?
Any help is welcome.
Edited by: Erika Atencio on Sep 1, 2010 6:27 PM>
Efstratios Karaivazoglou wrote:
> Which version of BOBJ (incl. SP and FP) are you using?
>
> Regards,
>
> Stratos
BusinessObjects XI 3.1 SP2
FixPack 2.6
Edited by: Erika Atencio on Sep 1, 2010 8:46 PM -
Backup scheduled through DB13 not working
Hello,
We are trying to schedule backup through DB13.But it got failed due to below error.Backup scheduled through DB13 was working fine last week.
Job started
Step 001 started (program RSDBAJOB, variant &0000000000174, user ID KHJS199)
Execute logical command BRARCHIVE On host ppd-ora-ga2
Parameters:-u / -jid LOG__20100927040000 -c force -p initGA2.sap -sd
External communication error at program start (see system log)
SAPXPG_START_XPG_LONG: sy-subrc ne 0
destination = SAPXPG_DBDEST_PPD-ORA-GA2
SXPG_STEP_XPG_START: execute_sapxpg: rc = 1.003
SXPG_STEP_COMMAND_START: SXPG_STEP_XPG_START returned: 1.003
SXPG_COMMAND_EXECUTE(LONG)
<timestamp> = 20101014040033
COMMANDNAME = BRARCHIVE
ADDITIONAL_PARAMETERS =
-u / -jid LOG__20100927040000 -c force -p initGA2.
sap -sd
LONG_PARAMS
OPERATINGSYSTEM = ANYOS
TARGETSYSTEM = ppd-ora-ga2
DESTINATION = SAPXPG_DBDEST_PPD-ORA-GA2
SY-SUBRC = 1003
SXPG_COMMAND_EXECUTE failed for BRARCHIVE - Reason: program_start_error: For More Information, See SYS
Job cancelled after system exception ERROR_MESSAGE
We checked the RFC connection SAPXPG_DBDEST_PPD-ORA-GA2 and it is not working.
For target host and gateway host,we have maintained their corresponding virtual host.
Gateway is already installed on the server.
Could you please help me out on this.
Thanks,
Gopi LHello,
Just to add some more information.
We have 3 servers, X(Database + CI),Y(Dialog instance),Z(Dialog Instance).
Server X is the primary node and Y is the failover node.
Gateway is already installed on Database server and I can verify it by giving ps -aef | grep gwrd.
Thanks,
Gopi L
Maybe you are looking for
-
Strange problem with network drive
i can see my network drive but i cant see the files and folders inside .Please help me...
-
Hi, We have a C program which creates JVM and invokes java methods of a wrapper class. The wrapper class invokes a method on EJB (stateless session bean) and the bean is protected and authorization is delegated to a Security component. (a separate ja
-
How to stop automatic start music on ipad mini
While watching TV app (as an Idevice) on Ipad mini the music automatically start playing. Very annoying. How do I get this to stop
-
Anyone intersted in a free Forms 11g Administration course?
We are running a trial of a new Forms 11g course which covers Forms administration, install, set up, security etc etc. This is a pilot run of the course and as such is free to attendees. This is a great opportunity to get hands on with 11g and to fee
-
Web Journal Templates - Options for Different Ones?
I'd like to be able to create my own Web Journal templates. The ones provided by apple are . . . uninspired. Yes, I know I can tweak anything after export in an HTML editor, but I'd rather do it right the first time. Has anyone looked into Aperture 2