Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

error when backup from clinet in netbackup

Created: 03 Feb 2013 • Updated: 05 Feb 2013 | 22 comments
This issue has been solved. See solution.

Hi,

  I use netbackup v7.1 to backup by client .

I get below error when backup

Sun Feb 03 21:36:56 CST 2013 chuikingman-pc chuikingman-PC Info 18 Backup started backup job for client chuikingman-PC, policy test, schedule test on storage unit tyest   nbjm
Sun Feb 03 21:36:56 CST 2013 chuikingman-pc chuikingman-PC Info 18 Backup client chuikingman-PC handling path /C/AMD/   nbjm
Sun Feb 03 21:36:57 CST 2013 chuikingman-pc chuikingman-PC Error 18 Backup from client chuikingman-PC: ERR - setuid failed   bpbrm
Sun Feb 03 21:36:57 CST 2013 chuikingman-pc chuikingman-PC Info 18 BackStat (could not set user id for process) test

nbpem

What is the reason "could not set user id for process??????

Comments 22 CommentsJump to latest comment

sazz.'s picture

Have you checked if /C/AMD/ exists on chuikingman-PC.
Is it a user backup on windows 2008? If yes run it as administrator.
Please provide us as much as information.

chuikingman's picture

I run it as adminirator already .The same result . IT is using win 7 64 bit .....

chuikingman's picture

There is dir /C/AMD dir already. the same result and error .....

Marianne's picture

What is the policy type for this policy?
Standard or MS-Windows?

It seems as if you are trying to perform a Unix-type backup (Standard) instead of Windows.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

chuikingman's picture

It is MS -window type...... If I use stadnard , it appear error 245 ...

Pleae advice other method .....

sazz.'s picture

Please post output of bppllist <policy name> -U.

Are you trying the backup using manual or it is scheduled?

Is it a user backup or automatic backup?

What is the OS and NBU version on client?

chuikingman's picture

Please post output of bppllist <policy name> -U.
 
Are you trying the backup using manual or it is scheduled?  << Ans :manual
 
Is it a user backup or automatic backup?    <<  Ans:user backup
 
What is the OS and NBU version on client?  << Ans: win 7 64 bit , NBU v7.1

C:\Program Files\Veritas\NetBackup\bin\admincmd>bppllist.exe test -U
------------------------------------------------------------

Policy Name:       test

  Policy Type:         MS-Windows
  Active:              yes
  Effective date:      02/03/2013 19:32:40
  Backup network drvs: no
  Collect TIR info:    yes, with move detection
  Mult. Data Streams:  yes
  Client Encrypt:      no
  Checkpoint:          no
  Policy Priority:     0
  Max Jobs/Policy:     1
  Disaster Recovery:   0
  Collect BMR info:    yes
  Residence:           tyest
  Volume Pool:         NetBackup
  Server Group:        *ANY*
  Keyword:             (none specified)
  Data Classification:       Platinum
  Residence is Storage Lifecycle Policy:    no
  Application Discovery:      no
  Discovery Lifetime:      0 seconds

  Granular Restore Info:  no
  Ignore Client Direct:  no
  HW/OS/Client:  Windows-x64   Windows7      chuikingman1-PC
                 Windows-x64   Windows7      chuikingman-PC

  Include:      (none defined)

  Schedule:          test
    Type:            User Backup
    Maximum MPX:     1
    Synthetic:       0
    PFI Recovery:    0
    Retention Level: 0 (1 week)
    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     00:00:00  -->  Saturday   23:59:59

C:\Program Files\Veritas\NetBackup\bin\admincmd>

Marianne's picture

In addition to answering all questions above, please ensure that bpbkar folder exists on client under .../netbackup/logs. 
Post bpbkar log file as File attachment after next failure.

PS - You never told us the status code of the backup in your opening post?

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

chuikingman's picture

I paste the bpbkar log in below

9:36:57.165 PM: [7436.3992] <4> ov_log::OVInit: INF - Starting log file: C:\Program Files\Veritas\NetBackup\logs\BPBKAR\020313.LOG

9:36:57.165 PM: [7436.3992] <4> ov_log::OVInit: GENERAL Log Level: 0
9:36:57.165 PM: [7436.3992] <4> ov_log::OVInit: TCP Log Level: 0
9:36:57.165 PM: [7436.3992] <4> ov_log::OVInit: INF - the log mutex: 504
BPBKAR  NetBackup Backup/Archive  7.1GA  [Feb  3 2011]
Copyright c 1993 - 2011 Symantec Corporation, All Rights Reserved.
All Rights Reserved.

9:36:57.345 PM: [7436.3992] <2> WinMain: DAT - _pgmptr = 'C:\Program Files\Veritas\NetBackup\bin\bpbkar32.exe'
9:36:57.345 PM: [7436.3992] <2> WinMain: DAT - lpCmdLine = '-r 604800 -ru chuikingman -dt 0 -to 0 -clnt chuikingman-PC -class test -sched test -st UBAK -bpstart_to 300 -bpend_to 300 -read_to 300 -rg chuikingman -L /C/Program?iles/Veritas/NetBackup/logs/user_ops/chuik000/logs/NBWIN004 -blks_per_buffer 512 -use_otm -fso -U -IEL -b chuikingman-PC_1359898616 -kl 28 -WOFB_enabled -WOFB_fim 0 -WOFB_usage 0 -WOFB_error 0 -ct 13 -shm -use_ofb '
9:36:57.345 PM: [7436.3992] <2> date_debug: DAT - timezone: China Standard Time, offset=-28800, dst: NONE
9:36:57.345 PM: [7436.3992] <2> date_debug: DAT - current time: 1359898617, 2/3/2013 9:36:57 PM
9:36:57.345 PM: [7436.3992] <2> date_debug: DAT - 01/01/94 UCT:  757382400, 1/1/1994 8:00:00 AM
9:36:57.345 PM: [7436.3992] <2> date_debug: DAT - 07/01/94 UCT:  773020800, 7/1/1994 8:00:00 AM
9:36:57.345 PM: [7436.3992] <2> WinMain: DAT - standard input handle = 556
9:36:57.345 PM: [7436.3992] <2> WinMain: DAT - standard output handle = 272
9:36:57.345 PM: [7436.3992] <2> WinMain: DAT - standard error handle = 500
9:36:57.355 PM: [7436.3992] <4> tar_backup::V_SetupJobData: INF - dwJobData: ffffffff
9:36:57.355 PM: [7436.3992] <4> tar_backup::V_SetupJobData: INF -     dwJob: ffffffff
9:36:57.445 PM: [7436.3992] <16> tar_backup::V_SetupLogs: ERR - can't open progress file /C/Program?iles/Veritas/NetBackup/logs/user_ops/chuik000/logs/NBWIN004 for write (Invalid argument)
9:36:57.475 PM: [7436.3992] <4> dos_backup::V_PreProcessing: INF - backup privileges enabled, previous = 0
9:36:57.475 PM: [7436.3992] <4> dos_backup::V_PreProcessing: INF - restore privileges enabled, previous = 0
9:36:57.475 PM: [7436.3992] <4> dos_backup::V_PreProcessing: INF - security privileges enabled, previous = 0
9:36:57.475 PM: [7436.3992] <4> dos_backup::V_PreProcessing: INF - tcb privileges enabled, previous = 0
9:36:57.475 PM: [7436.3992] <4> dos_backup::V_PreProcessing: INF - create token privileges enabled, previous = 0
9:36:57.495 PM: [7436.3992] <4> OVGetBackupToken: INF - successfully wrote backup information to named pipe
9:36:57.495 PM: [7436.3992] <4> dos_backup::V_PreProcessing: INF - user name: chuikingman
9:36:57.495 PM: [7436.3992] <4> dos_backup::V_PreProcessing: INF - error obtaining access token: (0000000000000000)
9:36:57.495 PM: [7436.3992] <2> tar_base::V_vTarMsgW: ERR - setuid failed
9:36:57.495 PM: [7436.3992] <2> tar_base::V_vTarMsgW: INF - EXIT STATUS 31: could not set user id for process
9:36:57.495 PM: [7436.3992] <4> backup_create: INF - NetBackup Temp Directory: 'C:\Program Files\Veritas\\NetBackup\Temp'
9:36:57.495 PM: [7436.3992] <4> tar_backup_tfi::UpdateExcludeListWithVHD: INF - UpdateExludeListWithVHD begin
9:36:57.565 PM: [7436.3992] <4> OVStopCmd: INF - EXIT - status = 0
9:36:57.565 PM: [7436.3992] <2> tar_base::V_Close: closing...
9:36:57.565 PM: [7436.3992] <4> dos_backup::tfs_reset: INF - Snapshot deletion start
9:37:02.565 PM: [7436.3992] <4> OVShutdown: INF - Finished process
9:37:02.585 PM: [7436.3992] <4> WinMain: INF - Exiting C:\Program Files\Veritas\NetBackup\bin\bpbkar32.exe
9:37:04.585 PM: [7436.3992] <4> ov_log::OVClose: INF - Closing log file: C:\Program Files\Veritas\NetBackup\logs\BPBKAR\020313.LOG

AttachmentSize
020313.rar 1.27 KB
sazz.'s picture

9:36:57.495 PM: [7436.3992] <4> dos_backup::V_PreProcessing: INF - user name: chuikingman
9:36:57.495 PM: [7436.3992] <4> dos_backup::V_PreProcessing: INF - error obtaining access token: (0000000000000000)
9:36:57.495 PM: [7436.3992] <2> tar_base::V_vTarMsgW: ERR - setuid failed

Seems to be some permission issue. How you are logging in, do you have permission on the system?

chuikingman's picture

The account have  administrator right .......

please advice ......

Marianne's picture

Windows 7 client with UAC (User Access Control) enabled?

Seems you are using Backup Archive and Restore GUI to manually select some files and back them up?  
No policy or schedule to automate backups?

If UAC is enabled on this machine (the default for Win 7) you need to right-click on BAR, select run as Administrator.

Best to disable UAC.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

chuikingman's picture

I already select " run as administrator" to backup ... but the same result ...

How to disable UAc in win 7 ???

Please advice

chuikingman's picture

I already disable UAC i nwin 7 .

But the same result and error ...Please advice ...

Marianne's picture

See Mark's post below.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Mark_Solutions's picture

The log also imdicates that it cannot create its own progress logfile (invalid argument)

As the others have suggested the user running the backup does not seem to have sufficient rights to do it and certainly does not have rights to the Program Files\Veritas directory.

Ensure that the user running the backup opens the BAR GUI using a right click "run as administrator" and is also a local administrator on that client to have enough rights to perform the backup and allow the backup to write to its own log file

Hope this helps

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

chuikingman's picture

alreayd "run as admin " . But the same error when backup .....

sazz.'s picture

You are logging to the machine with chuik000 and this doesn't seems to have rights on directories and to BAR. Can you please try login using the local admin account and run the backup.

Also it's windows 7 so have you checked the firewall? or any security that might be stopping the manual backup process. Is there any antivirus running on the machine, try to stop it and try the backup again.If you try the automatic backup directly from Master or Media does it will work. Please try that so we can isloate the problem which seems to be your account or some right issues on win7 box.

chuikingman's picture

account "chuikingman" have admin right . It is already  administartor .

I also login as "administrator" and try . But the same result and error . There is no enable win 7 firewall or anti virus .  

Please advice ....

Mark_Solutions's picture

Does chuikingman appear as a member of the Local Users and Groups - Groups - Administrators?

While logged in as that account can you browse the program files\veritas\ area and create files it you want to?

If you go to Start - Run and type in uac you should see "Change User Account Settings" appear at the top of the list.

If you select this what is the Notify Setting currently - it should be "Never Notify" if UAC is turned off.

If it is anything else you need to set it to never and then reboot for it to apply.

There are some other things that can cause the same issue .. take a look at these:

http://www.symantec.com/docs/TECH38002 Client Service not set to Automatic Startup

http://www.symantec.com/docs/TECH87495 Language and Locale Issues

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

SOLUTION
sazz.'s picture

Mark pointed to that article in his last thread. Please move the solution to Mark's post.