Friday, October 7, 2016

mopatch.sh: line 5682: dc: command not found


While applying SBP patch on ORACLE_HOME come across an issue an error and mopatch failed.

I see below error in log file.

executing: "/oracle/ORAX/product/11204/bin/unzip" -qq -d "./mopatch-wmOvOg" "SAP11204P_1411-20010781.ZIP" "SBP_112044_201411/19493764/*"
/oracle/ORAX/product/11204/MOPatch/mopatch.sh: line 5682: dc: command not found
Processing patch "SAP11204P_1411-20010781.ZIP!19493764!19493764"...failed.
Reason: Cannot calculate "" as (447392 > 7914856) ? 1 : 0.
Processing patch "SAP11204P_1411-20010781.ZIP!19493764!17478514"...(1 of 7)
Processing patch "SAP11204P_1411-20010781.ZIP!19493764!17478514"...failed.
Reason: Cannot calculate "" as (447392 > 7914508) ? 1 : 0.


I did some research on error “Reason: Cannot calculate” but didn’t find much in google or oracle support site. When I look into the error closely I see that “dc” command not found.

After investigation on "dc: command" I found that user will get this error if RPM missing at OS level. After installing “ bc-1.06.95-1.el6.x86_64” rpm the SBP patch went fine without any issue.

Regards
Satishbabu Gunukula, Oracle ACE
http://www.oracleracexpert.com

11 comments:

  1. I am lose my confidence in my professional sector because my belly fat,I didn't have any idea how to reduce that.But my friend suggest me join gym in kolkata where they guide us and make mt belly fat free.

    ReplyDelete
  2. Packers and Movers Ahmedabad list, Cheap Packers Movers Ahmedabad Charges, Local, Affordable Household Shifting Ahmedabad @ Packers and Movers Ahmedabad

    ReplyDelete
  3. Amazing article. Your blog helped me to improve myself in many ways thanks for sharing this kind of wonderful informative blogs in live. I have bookmarked more article from this website. Such a nice blog you are providing ! Kindly Visit Us @ Packers and Movers Ahmedabad

    ReplyDelete
  4. Packers and Movers Bangalore as a Services providing company can make all the difference to your ###Home Relocation experience. Bangalore based Company which offers versatile solutions, Right team that easily reduce the stress associated with a ✔✔✔Household Shifting, ***Vehicle Transportation. we help things run smoothly and reduce breakages and offer you seamless, Affordable, Reliable Shifting Services, Compare Shifting Charges. @ Packers And Movers Bangalore

    ReplyDelete