AMBARI-5073. After upgrading Ambari from 1.4.1 to 1.5.0 - restart commands fails with seq not existing. Additional fix for oracle. (mpapirkovskyy)