07-31-2012 06:07 PM
Hi,
email notification about zeros and non-zeros backup statuses just decided to stop working without any error on the backup servers neither client unless the following error that i got on some policies jobs' windows:
Error bpbrm cannot send mail to root on client hostname
my platform is:
Master server solaris 10 X86
most of the clients are win2008 R2
yesterday the notification were OK and I was receiving mails about successful and failed backups, for each client on the "host properties", i am selecting the "client sends mail" option and then having the administrators addresses separated by commas, the thing to note is that using the sendmail command from solaris to the administrator@company.com is working fine.
what could be the cause of this problem? i tried to restart the NBU services also i rebooted the servers thinking that some services is hanged but nothig worked for me, can anyone please tell me what to check?
08-01-2012 06:42 AM
Have you already checked if your mail application and mail infrastructure used with nbmail.cmd have any problem? If not, check it first.
You can check nbmail.cmd by runing it in command prompt.
> cd <install_path>¥NetBackup¥bin
> nbmail.cmd <recipient> <subject> <mail_body_file> [<attachment_file>]
ex)
> echo foo bar > C:¥foo_bar.txt
> nbmail.cmd myaddress@mydomain TEST C:¥foo_bar.txt
08-01-2012 06:50 AM
Try to add a local account and try if this works.
Did you check sendmail logs?
08-02-2012 01:04 AM
from dmesg, the only error concerning sendmail is the " unable to identify my own domain name", nothing else is shown. regarding adding local account, as i mentioned above in my mail, i tried to send mail using "sendmail" from the NBU server to adminstrator@mycompany.com and that worked fine
08-02-2012 01:07 AM
i have NBU installed on a solaris server so no nbmail.cmd to try with, instead i was working with sendmail (in solairs 10) and tried to send a test mail to my email account and that worked fine.
you mean that I have to configure clients with nbmail.cmd? I didnt see any documentaion about that in the admin guide
08-02-2012 01:22 AM
If you use mailx on the server, can you see mails in root's inbox that indicates returned or failed emails?
Please also check mail config in NBU - I have seen email stopped working when onsite admin added email addresses. Instead of comma (,) between email addresses, he used semi-colon (;) as we normally do in Outlook. This caused email notification to stop working.
08-02-2012 05:15 AM
whenever I use mailx command I have the following message "no mail for root".
I have checked all the universal settingsfor all clients, I can confirm that all addresses are separated by commas.
thing to note is, when I try backup using "client sends mail" option on client's universal settings properties I receive the following error on the backup job window just before the job completion in activity monitor :
"Error bpbrm cannot send mail to root on client hostname"
but when I use "server sends mail", no error in the backup windows is generated; in all cases i dont have notifications even if I cancel the job (pushing to have a non-zero status while selecting "serve sends mail")
08-02-2012 06:02 AM
08-02-2012 08:27 AM
I will check that, but sorry I am really confused right now, I didn't remember that I did any configuration on the clients sides and NBU docs don't mention anything about configuring clients when you need to setup mail notification if you select the "client sends mail" option.
just to assure the following:
1- if I select "server sends mail" then i will be receiving mails about non-zeros backups, no?
2- if I select "clients snds mail" then I will be receiving mails about both successful and failed backups
? (after following what you mentioned about configuring nbmail.cmd)
08-05-2012 04:38 PM
problem has been solved without interaction, i think there was something wrong withthe SMTP server. But after all I have did the following changes, i have changed all the "client sends mail" on all clients to "server sends mail" and the good thing is that I am receiving zeros and non-zeros notifications!! while in the admin book they say that I have to select "client sends mail" if you want to receive both notificatio statuses!!
please can anybody correct me if I am wrong:
if I want to send mail notification about successful and failed backup statuses then I have to select the "client sends mail" option and then configure nbmail.cmd in my case (windows clients)
08-05-2012 10:32 PM
I find this TN particularly helpful w.r.t. expected behaviour: http://www.symantec.com/docs/TECH64984