Quantcast
Channel: Symantec Connect
Viewing all articles
Browse latest Browse all 28681

BPJOBD process temporary workaround, for automation

$
0
0
I need a solution

Hi Guys,

  I need some urgent help, I have an issue that bpjobd process gets killed every now and then, I opened a case with symantec which didn't help, they recommended to upgrade to 7.5 which is not currently been approved, However I have a strong server which can take place for the current master so it means there will be a hardware upgrade for my environment, However till that time I need a temporary fix, means I want the bpjobd to start by its own through a script I have which is in crontab to check if bpjobd is running in every 2 mins and if not, it will start the bpjobd with (bpjobd &)

When I tested this script it doesn't work, when I tried to manually run the script then also the command prompt doesn't comes back which I think is the issue, when I did ctrl+c twice the script came up and it started the bpjobd. So I thought of including trap command to issue a ctrl+c in the script which didnt work, may be because the script is not able to go pass the bpjobd & step. So please help.

Here is the script.

x=`ps -ef | grep -i bpjobd | grep -v "grep -i bpjobd" | wc -l`;
if [ $x -eq 0 ]
then
mail -s "Activity Monitor is hung, bpjobd started, please verify" email id's

/usr/openv/netbackup/bin/bpjobd &
trap "Ctrl + C" 2
trap "Ctrl + C" 2
fi
 

I have netbackup version 7.1.0.4

Thanks

Sid


Viewing all articles
Browse latest Browse all 28681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>