cancel
Showing results for 
Search instead for 
Did you mean: 

Creating bpsched log file

Nayab_Rasool
Level 6

Hi,

 

Can anybody tell me how to create bpsched log file on the  master server as i am facing error 150.

 

Thanks,

Nayab

1 ACCEPTED SOLUTION

Accepted Solutions

sksujeet
Level 6
Partner Accredited Certified

Have you tried restarting the job? Does it fail again? Have you restarted any services on client or media/master?
Version of NBU? Client version?
Also copy the detailed status in notepad and paste it here.
Is this client moved from old master to new master or any changes in the environment.
http://www.symantec.com/docs/TECH50484

99% it happens when someone cancels it but if that is not the case provide the bpbrm and bptm log files on the media server, and the bpbkar log file on the client server

View solution in original post

20 REPLIES 20

Nayab_Rasool
Level 6

I mean how to enable bpsched log file on the master server

sksujeet
Level 6
Partner Accredited Certified

Create the "bpsched" directory within
UNIX = /usr/openv/netbackup/logs/
Windows = %INSTALL_PATH%\VERITAS\NetBackup\logs\


bpsched is if some issue in scheduled backups and error code 150 is administrator cancelled the job ??Are you getting 50 or 150, post the result of your detailed status.

 

Nayab_Rasool
Level 6

Hi Sazz,

 

Thanks a lot 

 

Nayab.

Nayab_Rasool
Level 6

Hi Sazz,

 

I have attached the detailed status here can u look and revert back.

 

Thanks 

Nayab

sksujeet
Level 6
Partner Accredited Certified

The backup was running and written the kilobytes, it seems someone cancelled this job.

Nayab_Rasool
Level 6

Sazz,

 

Nobody has cancelled the jobs sad

 

Thanks 

Nayab

sksujeet
Level 6
Partner Accredited Certified

Have you tried restarting the job? Does it fail again? Have you restarted any services on client or media/master?
Version of NBU? Client version?
Also copy the detailed status in notepad and paste it here.
Is this client moved from old master to new master or any changes in the environment.
http://www.symantec.com/docs/TECH50484

99% it happens when someone cancels it but if that is not the case provide the bpbrm and bptm log files on the media server, and the bpbkar log file on the client server

mph999
Level 6
Employee Accredited

bpsched is only at 5.1 is it not ...   I'd recommend you upgrade.

Here is a technote on using logs (covers 6.x and above).

http://www.symantec.com/business/support/index?page=content&id=TECH75805

Martin

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

What is your NBU version?

Bpsched process no longer exists as from NBU 6.0. So, even if you create the folder, nothing will be logged. The following logs may help you:

On master: admin

On media server: bpbrm and bptm

Simply create the folders under netbackup/logs. 

Nayab_Rasool
Level 6

Folks I am Using Netbackup 7.1 for windows

Now Guide me accordinlgy 

Don know when i created bpsched on ma master i havent seen the 150 error again

and 

yes Marianne i will create those log files and see

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

bpsched process/binary got replaced by these processes:

•    NetBackup Policy Execution Manager (nbpem)
•    NetBackup Job Manager (nbjm)
•    NetBackup Resource Broker (nbrb)

See this post for details: https://www-secure.symantec.com/connect/forums/netbackup-irm#comment-7005121

Please copy all the text (not screenshot) in Job details and post it here. I am curious to see what is above 'killing bpbrm ...'

Nayab_Rasool
Level 6

Hi Marianne,

 

I din get you what you want me paste here

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

My previous post was explanation of the processes that replaced bpsched.

bpsched no longer exists in post 6.x installations.

If you create bpsched log folder, nothing will be logged. It will have no effect. The folder will remain empty.

sksujeet
Level 6
Partner Accredited Certified

Hey Marianne,

I think Nayab is talking about this "Please copy all the text (not screenshot) in Job details and post it here. I am curious to see what is above 'killing bpbrm "

Nayab the screenshot you attached at the start doesn't give all the information. Please copy paste the complete information to see what is killing bpbrm.

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Seems we have a language problem here...

The information in Job details can be copied as text. The screenshot is only showing the last couple of lines.

We need to see everything in Job Details. There may be a reason for the status 150...

Nayab_Rasool
Level 6

OK Done i will paste it right now

Nayab_Rasool
Level 6

Here we go...........

 

7/08/2012 9:00:00 AM - Info nbjm(pid=2964) starting backup job (jobid=1928) for client svaudb01, policy DB01_Differential_AUS, schedule FULL_DAILY 
7/08/2012 9:00:00 AM - Info nbjm(pid=2964) requesting STANDARD_RESOURCE resources from RB for backup job (jobid=1928, request id:{96A30D25-9D33-498B-95A3-E1F816FB963C}) 
7/08/2012 9:00:00 AM - requesting resource svaubk02-hcart-robot-tld-0
7/08/2012 9:00:00 AM - requesting resource svaubk01.NBU_CLIENT.MAXJOBS.svaudb01
7/08/2012 9:00:00 AM - requesting resource svaubk01.NBU_POLICY.MAXJOBS.DB01_Differential_AUS
7/08/2012 9:00:00 AM - granted resource svaubk01.NBU_CLIENT.MAXJOBS.svaudb01
7/08/2012 9:00:00 AM - granted resource svaubk01.NBU_POLICY.MAXJOBS.DB01_Differential_AUS
7/08/2012 9:00:00 AM - granted resource 000046
7/08/2012 9:00:00 AM - granted resource HP.ULTRIUM4-SCSI.001
7/08/2012 9:00:00 AM - granted resource svaubk02-hcart-robot-tld-0
7/08/2012 9:00:04 AM - estimated 1986440 Kbytes needed
7/08/2012 9:00:04 AM - Info nbjm(pid=2964) started backup job for client svaudb01, policy DB01_Differential_AUS, schedule FULL_DAILY on storage unit svaubk02-hcart-robot-tld-0
7/08/2012 9:00:04 AM - started
7/08/2012 9:00:05 AM - started process bpbrm (3136)
7/08/2012 9:00:18 AM - mounting 000046
7/08/2012 9:00:37 AM - connecting
7/08/2012 9:00:39 AM - connected; connect time: 00:00:02
7/08/2012 9:01:07 AM - mounted; mount time: 00:00:49
7/08/2012 9:01:13 AM - positioning 000046 to file 39
7/08/2012 9:01:34 AM - Info bpbrm(pid=3136) telling media manager to start backup on client    
7/08/2012 9:01:34 AM - Info bptm(pid=1612) using 262144 data buffer size       
7/08/2012 9:01:34 AM - Info bptm(pid=1612) using 64 data buffers        
7/08/2012 9:01:48 AM - Info bpbrm(pid=1012) sending bpsched msg: CONNECTING TO CLIENT FOR svaudb01_1344330004    
7/08/2012 9:01:49 AM - Info bptm(pid=3088) setting receive network buffer to 1049600 bytes     
7/08/2012 9:01:49 AM - Info bpbrm(pid=1012) start bpbkar32 on client        
7/08/2012 9:02:01 AM - Info bpbkar32(pid=5900) Backup started          
7/08/2012 9:02:01 AM - Info bpbrm(pid=1012) Sending the file list to the client     
7/08/2012 9:03:48 AM - positioned 000046; position time: 00:02:35
7/08/2012 9:03:48 AM - begin writing
7/08/2012 11:00:03 AM - Info bpbrm(pid=3136) killing bpbrm child 1012.        
7/08/2012 11:00:09 AM - Info bpbrm(pid=3136) killing bpbrm child 472.        
7/08/2012 11:00:11 AM - Info bpbrm(pid=3136) child done, status 150        
7/08/2012 11:00:11 AM - Info bpbrm(pid=3136) sending media manager msg: STOP BACKUP svaudb05_1344330003     
7/08/2012 11:03:27 AM - end writing; write time: 01:59:39
7/08/2012 11:04:16 AM - Info bpbrm(pid=3136) child done, status 150        
7/08/2012 11:04:16 AM - Info bpbrm(pid=3136) sending media manager msg: STOP BACKUP svaudb01_1344330004     
7/08/2012 11:04:37 AM - Info bpbrm(pid=3136) media manager for backup id svaudb01_1344330004 exited with status 0: the requested operation was successfully completed
termination requested by administrator(150)

Nayab_Rasool
Level 6

Hi Maria,

 

Any update on this??

 

Thanks 

Nayab

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

There is nothing that indicates what went wrong here:

7/08/2012 9:03:48 AM - begin writing
7/08/2012 11:00:03 AM - Info bpbrm(pid=3136) killing bpbrm child 1012.        
7/08/2012 11:00:09 AM - Info bpbrm(pid=3136) killing bpbrm child 472.        

Maybe bpbrm log will have more info.
bptm may be useful too.

We can see that backup terminated after about 2 hours. 
bpbrm log will tell us if there was a timeout on NBU's part.
bptm log will tell us up to when data was received from client.

As previously stated, look at admin log as well.