07-01-2011 02:20 AM
Dear all,
I tried executing this command bpbackup -i -p unix_passwd_change -s full -t 0 -S HPtestsvr
EXIT STATUS 29: failed trying to exec a command
#bperror -S 29
failed trying to exec a command
A command was not run. This error can occur because the permissions of the command do not allow it to be run. Or it occurs due to a lack of system resources such as memory and swap space.
What should exactly do now? I am not good in netbackup.
Here are my policy details
HPtestsvr:root-/>bppllist unix_passwd_change -U
------------------------------------------------------------
Policy Name: unix_passwd_change
Policy Type: Standard
Active: yes
Effective date: 07/02/2011 06:42:46
Client Compress: no
Follow NFS Mounts: no
Cross Mount Points: no
Collect TIR info: no
Block Incremental: no
Mult. Data Streams: no
Client Encrypt: no
Checkpoint: yes
Interval: 15
Policy Priority: 0
Max Jobs/Policy: Unlimited
Disaster Recovery: 0
Collect BMR info: no
Residence: unix_passwd_change
Volume Pool: NetBackup
Server Group: *ANY*
Keyword: (none specified)
Data Classification: -
Residence is Storage Lifecycle Policy: yes
Granular Restore Info: no
HW/OS/Client: HP9000-700 HP-UX11.23 HPtestsvr
Include: /tcb/files/auth/d/dr344917
Schedule: unix_passwd_change
Type: Full Backup
Frequency: every 7 days
Maximum MPX: 1
Synthetic: 0
PFI Recovery: 0
Retention Level: 2 (3 weeks)
Number Copies: 1
Fail on Error: 0
Residence: unix_passwd_change
Volume Pool: (same as policy volume pool)
Server Group: (same as specified for policy)
Residence is Storage Lifecycle Policy: 0
Daily Windows:
Sunday 20:00:00 --> Monday 06:00:00
Monday 20:00:00 --> Tuesday 06:00:00
Tuesday 20:00:00 --> Wednesday 06:00:00
Wednesday 20:00:00 --> Thursday 06:00:00
Thursday 20:00:00 --> Friday 06:00:00
Friday 20:00:00 --> Saturday 06:00:00
Saturday 20:00:00 --> Sunday 06:00:00
Please help.
07-01-2011 04:56 AM
There isn't a schedule named full. It's named (also) unix_passwd_change. Try running
bpbackup -i -p unix_passwd_change -s unix_passwd_change -t 0 -S HPtestsvr
07-01-2011 05:10 AM
you are running this on the master that is also the client for this policy?
07-01-2011 05:31 AM
problem fixed?
07-01-2011 05:31 AM
Hi all,
I ran bpbackup -i -p unix_passwd_change -s unix_passwd_change -t 0 -S HPtestsvr
Again EXIT STATUS 29: failed trying to exec a command
Yea I am running in the master which is also a client for the policy.
Please help.
07-01-2011 05:53 AM
the syntax is correct & it's looking at the correct server/client (just tested & it can start & error out differently if these are incorrect)
Going back to the actual reported error then, did you look at the brief checks in the troubleshooter for EC29?
i.e.
"Do the following, as appropriate:
* Check the NetBackup All Log Entries report for clues on where and why the failure occurred.
* Check the permissions on the command to be run.
* For detailed troubleshooting information, create a debug log directory for the process that returned this status code. Then retry the operation and check the resulting debug log."
- permissions ok?
- bpbackup log?
07-01-2011 06:04 AM
I dono how to check via debug log.
I attached few lines from the log file found in the path /usr/openv/logs.
Is there any issue with the system resources?
07-01-2011 06:12 AM
Have you a
/usr/openv/netbackup/logs/bpbackup/log.070111
log?
Did you check the permissions for bpbackup & I presume you are running it as root?
I'm presuming here that we should be concentrating specifically on bpbackup here!
07-01-2011 07:17 AM
Can you run the backup manually through the GUI without errors?
07-01-2011 07:18 AM
I don have /usr/openv/netbackup/logs/bpbackup/log.070111.
Yea I am running it as root.
07-01-2011 07:21 AM
I can work just in command line. I don have java administration console.
OS: HP-UX HPtestsv B.11.23 U 9000/800 77929270 unlimited-user license
07-01-2011 07:26 AM
What about through bpadm ?
bpadm
(m)anual backups
07-01-2011 07:28 AM
Create the directory /usr/openv/netbackup/logs/bpbackup & re-run the command. Let's see if gives us something to go on.
The "legacy" logs are not created by default. Generally we would create them when we have issues with specific processes & then delete afterwards. (There is a mklogdir script that will create them all & apply permissions, but this is unnecessary & could lead to space issues if not monitored or controlled adequately)
07-01-2011 07:29 AM
The same error even through that...
failed trying to exec a command (29)
07-01-2011 07:32 AM
No worries about getting your syntax wrong there. Would expect it to still error if there are underlying issues, but.....
***EDIT***
What was I saying!
07-01-2011 07:36 AM
running a manual backup (bpbackup or via bpadm) for another policy to see if there's anything policy specific. If it still fails we're still looking at logs & permissions......as I presume the other factors in the Troubleshooter (system resources) would be obvious?
***EDIT***
"Residence is Storage Lifecycle Policy: yes"
- not something I've used, nor any experience of. Would this have an effect? (Sorry, just looking for anything obvious/different in your policy)
07-01-2011 07:37 AM
I am not able to get you...
07-01-2011 07:42 AM
as you was posting yours, so it's slightly out of sync, hence the EDIT!!
07-01-2011 08:03 AM
I have created a policy test.
HPtestsvr:root-/>bppllist test -U
------------------------------------------------------------
Policy Name: test
Policy Type: Standard
Active: yes
Effective date: 07/02/2011 07:08:34
Client Compress: no
Follow NFS Mounts: no
Cross Mount Points: no
Collect TIR info: no
Block Incremental: no
Mult. Data Streams: no
Client Encrypt: no
Checkpoint: no
Policy Priority: 0
Max Jobs/Policy: Unlimited
Disaster Recovery: 0
Collect BMR info: no
Residence: unix_passwd_change
Volume Pool: NetBackup
Server Group: *ANY*
Keyword: (none specified)
Data Classification: -
Residence is Storage Lifecycle Policy: yes
Granular Restore Info: no
HW/OS/Client: HP9000-700 HP-UX11.23 HPtestsvr
Include: /vidhya
Schedule: test
Type: Full Backup
Frequency: every 7 days
Maximum MPX: 1
Synthetic: 0
PFI Recovery: 0
Retention Level: 1 (2 weeks)
Number Copies: 1
Fail on Error: 0
Residence: (specific storage unit not required)
Volume Pool: (same as policy volume pool)
Server Group: (same as specified for policy)
Residence is Storage Lifecycle Policy: 0
Daily Windows:
Sunday 20:00:00 --> Monday 06:00:00
Monday 20:00:00 --> Tuesday 06:00:00
Tuesday 20:00:00 --> Wednesday 06:00:00
Wednesday 20:00:00 --> Thursday 06:00:00
Thursday 20:00:00 --> Friday 06:00:00
Friday 20:00:00 --> Saturday 06:00:00
Saturday 20:00:00 --> Sunday 06:00:00
still getting the same error.
failed trying to exec a command (29)
07-01-2011 08:13 AM
Create /usr/openv/netbackup/logs/bpbackup/
Try backup again
Post log.