cancel
Showing results for 
Search instead for 
Did you mean: 

Issue on Backup

vidhya_B
Level 4

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.

24 REPLIES 24

Nicolai
Moderator
Moderator
Partner    VIP   

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

Andy_Welburn
Level 6

you are running this on the master that is also the client for this policy?

Barbaros_Kilic
Level 3

problem fixed?

vidhya_B
Level 4

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.
 

Andy_Welburn
Level 6

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?

vidhya_B
Level 4

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?

Andy_Welburn
Level 6

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!

Nathan_Kippen
Level 6
Certified

Can you run the backup manually through the GUI without errors?

vidhya_B
Level 4

I don have /usr/openv/netbackup/logs/bpbackup/log.070111.

 

Yea I am running it as root.

vidhya_B
Level 4

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

Nathan_Kippen
Level 6
Certified

What about through bpadm ?

 

bpadm

(m)anual backups

Andy_Welburn
Level 6

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)

vidhya_B
Level 4

The same error even through that...

 

failed trying to exec a command (29)

Andy_Welburn
Level 6

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!

Andy_Welburn
Level 6

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)

vidhya_B
Level 4

I am not able to get you...

Andy_Welburn
Level 6

as you was posting yours, so it's slightly out of sync, hence the EDIT!!

vidhya_B
Level 4

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)
 

Nathan_Kippen
Level 6
Certified

Create /usr/openv/netbackup/logs/bpbackup/

 

Try backup again

 

Post log.