cancel
Showing results for 
Search instead for 
Did you mean: 

(29) failed trying to exec a command

Vickie
Level 6

Master Linux 2.6, Veritas netbackup version 7.0

Client Windows2003, SP2....netbackup version 7.0, 

ORacle backup failed with error "(29) failed trying to exec a command"

Please assist,

Though backup for other instance running fine and completed.

 

BPHDBP Logs;

12:26:18.562 [2196.1848] <2> logparams: -sb -rdbms oracle -S master_server -to 300 -c policy_rman -s Daily_Full -clnt client_server -FULL -kl 28 -ri client_server -b client_server_1413822385 -jobid 29255 
12:26:18.578 [2196.1848] <4> bphdb: Module: libncf, Release: 7.0.1 , Build: 07/07/2010 23:00:00 CDT (20100707)
12:26:18.578 [2196.1848] <4> bphdb: Windows version: 5.2.3790, Platform: 2 (Service Pack 2), Service pack: 2.0, Suite: 274, Product type: 3
12:26:18.593 [2196.1848] <4> bphdb: Process architecture: 0, Page size: 4096, Process type: 2, Process level: 586, Processor revision: 6
12:26:18.593 [2196.1848] <4> bphdb: Current code page: WINDOWS: 1252  (ANSI - Latin I), Max. character width: 1, Substitution character: 0x3F [?], Unicode substitution character: 0x003f [?.]
12:26:18.593 [2196.1848] <4> bphdb: INF - setenv NB_ORA_POLICY=policy_rman
12:26:18.593 [2196.1848] <4> bphdb: INF - setenv NB_ORA_CLIENT=client_server
12:26:18.593 [2196.1848] <4> bphdb: INF - setenv NB_ORA_MODE=B
12:26:18.593 [2196.1848] <4> bphdb: INF - NB_ORA_POLICY=policy_rman
12:26:18.593 [2196.1848] <4> bphdb: INF - NB_ORA_SCHED not defined.
12:26:18.593 [2196.1848] <4> bphdb: INF - NB_ORA_PC_SCHED=Daily_Full
12:26:18.593 [2196.1848] <4> bphdb: INF - NB_ORA_SERV=master_server
12:26:18.593 [2196.1848] <4> bphdb: INF - NB_ORA_PC_BTYPE not set
12:26:18.593 [2196.1848] <4> bphdb: INF - setenv NB_ORA_FULL=1
12:26:18.593 [2196.1848] <4> bphdb: INF - setenv NB_ORA_INCR=0
12:26:18.593 [2196.1848] <4> bphdb: INF - setenv NB_ORA_CINC=0
12:26:18.593 [2196.1848] <4> bphdb: INF - setenv NB_ORA_SCHEDULED=1
12:26:18.593 [2196.1848] <4> bphdb: INF - setenv NB_ORA_PARENT_JOBID=29255
12:26:18.593 [2196.1848] <4> bphdb: INF - BACKUP START
12:26:18.593 [2196.1848] <4> bphdb: INF - CONTINUE BACKUP message received.
12:26:18.593 [2196.1848] <4> bphdb: INF - Processing "D:\oracle\admin\scripts\backup_axy1289.cmd"
12:26:18.625 [2196.3364] <4> bphdb: Process 4012, command '"F:\oracle\admin\scripts\backup_axy1289.cmd"', started
12:26:19.625 [2196.3364] <4> bphdb: Process 4012 command '"F:\oracle\admin\scripts\backup_axy1289.cmd"', completed with status 1
12:26:20.609 [2196.1848] <16> bphdb: ERR - failed executing command <"F:\oracle\admin\scripts\backup_axy1289.cmd">
12:26:20.609 [2196.1848] <16> bphdb: ERR - exit status: <1>
12:26:20.609 [2196.1848] <16> bphdb: ERR - Error code: 29
12:26:20.609 [2196.1848] <16> bphdb: ERR - bphdb exit status = 29: failed trying to exec a command

12:26:20.609 [2196.1848] <4> bphdb: INF - EXIT STATUS 29: failed trying to exec a command

================

Jobs logs

Oct 20, 2014 11:38:36 AM - requesting resource LTO5
Oct 20, 2014 11:38:36 AM - requesting resource master_server.NBU_CLIENT.MAXJOBS.client_server
Oct 20, 2014 11:38:36 AM - requesting resource master_server.NBU_POLICY.MAXJOBS.policy_rman
Oct 20, 2014 11:38:36 AM - granted resource  master_server.NBU_CLIENT.MAXJOBS.client_server
Oct 20, 2014 11:38:36 AM - granted resource  master_server.NBU_POLICY.MAXJOBS.policy_rman
Oct 20, 2014 11:38:36 AM - granted resource  hcart2-robot-tld-0
Oct 20, 2014 11:38:36 AM - estimated 0 kbytes needed
Oct 20, 2014 11:38:37 AM - started process bpbrm (pid=30256)
Oct 20, 2014 11:38:38 AM - connecting
Oct 20, 2014 11:38:39 AM - connected; connect time: 0:00:00
Oct 20, 2014 11:38:42 AM - end writing
failed trying to exec a command  (29)

 

7 REPLIES 7

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

why it is showing 2 different Drives...? D drive and F drive

12:26:18.593 [2196.1848] <4> bphdb: INF - Processing "D:\oracle\admin\scripts\backup_axy1289.cmd"
12:26:18.625 [2196.3364] <4> bphdb: Process 4012, command '"F:\oracle\admin\scripts\backup_axy1289.cmd"', started

can you attach the scripts that are displyaing in above path?

does the local admin of the client have the admin access on Database..? if not you need to chage the netbackup client services with the accout ID which is having the permission on the DB

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

Does it logging any info in the dbclient log?

Do you find any difference in the scripts for the working one and not working one?

Vickie
Level 6

the script is under F:\,.... D:\ seems to be added by mistake.

The other script in the same drive for other instance backup ran successful, with the same credential (user id and pass) NetBackup client service running with. So seems its not an issue with ID.

 

Below is the script content.

set ORACLE_SID=axy1289

rman target sys/syspwd @'F:\oracle\admin\scripts\rman_backup_axy1289.cmd' log F:\oracle\admin\logs\pgh1558.log

Vickie
Level 6

No such difference is there in both scripts.

Unfortunately, No logs being created in dbclient folder.

Michael_G_Ander
Level 6
Certified

Try to create the bphdb folder, the files here have often help me with troubleshooting oracle backups

As always running the script by hand in a prompt can be informative

In this case I would hunt down where the D: drive comes from and change to F:

 

The standard questions: Have you checked: 1) What has changed. 2) The manual 3) If there are any tech notes or VOX posts regarding the issue

Vickie
Level 6

Created the bphdb folder and shared the logs in the initial post....

The D:\ drive was added by me mistakenly....the script location is F:\ drive.

Will try to run the script manually, if that works.

Vickie
Level 6

Issue got resolved, I checked with DB team....the required DB was down.

Thanks all for your support.