05-20-2015 11:55 AM
Hi All,
i have been going through a lot of forums but not have been able to pin point the issue.
Our Master server: NB appliance 5230
Client: Red Hat Enterprise Linux Server release 6.3
output from bphdb on client:
01:00:01.522 [1461] <4> bphdb: INF - setenv NB_ORA_POLICY=client-svr01-RMAN-Inc
01:00:01.522 [1461] <4> bphdb: INF - setenv NB_ORA_CLIENT=client-svr01
01:00:01.522 [1461] <4> bphdb: INF - setenv NB_ORA_MODE=B
01:00:01.522 [1461] <4> bphdb: INF - NB_ORA_POLICY=client-svr01-RMAN-Inc
01:00:01.522 [1461] <4> bphdb: INF - NB_ORA_SCHED not defined.
01:00:01.522 [1461] <4> bphdb: INF - NB_ORA_PC_SCHED=Differential-Inc
01:00:01.522 [1461] <4> bphdb: INF - NB_ORA_SERV=Master-svr01.wiley.com
01:00:01.522 [1461] <4> bphdb: INF - NB_ORA_PC_BTYPE not set
01:00:01.522 [1461] <4> bphdb: INF - setenv NB_ORA_FULL=0
01:00:01.522 [1461] <4> bphdb: INF - setenv NB_ORA_INCR=1
01:00:01.522 [1461] <4> bphdb: INF - setenv NB_ORA_CINC=0
01:00:01.522 [1461] <4> bphdb: INF - setenv NB_ORA_SCHEDULED=1
01:00:01.522 [1461] <4> bphdb: INF - setenv NB_ORA_PARENT_JOBID=38634
01:00:01.522 [1461] <4> bphdb: INF - BACKUP START 1461
01:00:01.523 [1461] <4> bphdb: INF - CONTINUE BACKUP message received
I can see a line: 01:00:01.522 [1461] <4> bphdb: INF - NB_ORA_SCHED not defined
but schedule is defined in NBU policy.
please can you advise which other logs can help identify the issue and where are we going wrong please?
thanks, Anish
Solved! Go to Solution.
05-22-2015 01:24 AM
The only way to know what is going wrong is to have a look at the script and the script output.
There have been similar issues on this forum with different reasons causing this -
from issue with RMAN Catalog to problem where the command was too long and had to be moved into a separate cmdfile.
Some previous posts:
RMAN Backup happening without generating child streams
RMAN Backup completed without generating child stream or sometime failing with error code 6
05-20-2015 06:04 PM
Hi Anish,
Please make sure you have both Automatic and Application schedule, check this detailed guide http://http://www.symantec.com/docs/TECH27133
05-20-2015 09:24 PM
05-20-2015 11:49 PM
The bphdb and dbclient (permission 777) log folders can often help indicate the issue.
These two posts might help you:
https://www-secure.symantec.com/connect/forums/general-database-backup-error-troubleshooting
As the client is a Linux machine, have your tried to stop the firewall ? service stop iptables, if I remember correctly.
05-21-2015 03:50 AM
You need to set the RMAN environment variable as well setenv NB_ORA_SCHED. Just because it is defined in the policy the RMAN script will not know which schedule to use until you define it. If you had only one schedule you would have been fine. In your script add the setenv NB_ORA_SCHED = <Schedule Name>;
05-22-2015 01:24 AM
The only way to know what is going wrong is to have a look at the script and the script output.
There have been similar issues on this forum with different reasons causing this -
from issue with RMAN Catalog to problem where the command was too long and had to be moved into a separate cmdfile.
Some previous posts:
RMAN Backup happening without generating child streams
RMAN Backup completed without generating child stream or sometime failing with error code 6
06-13-2015 09:51 PM
Hello All,
We finally managed to resolve this issue.
While going though the script, i noticed that the oracle home was being pointed to a directory that did not exist and DBA also confirmed that cron on the server was not having permission to run the oracle script.
Once the permission adn directory issue was sorted ,the backups started fine.
I would like to thank all of you for guiding me.. thanks a ton to all of you.
Regards,
Anish