Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Fixing the Catctl upgrade issue "Unexpected error encountered in catctlMain; Error Stack Below; exiting"

$
0
0

Problem.

Unexpected error encountered in catctlMain; Error Stack Below; exiting
Unexpected error encountered in catconInit; exiting
Interrupted system call at catctl.pl line 2205.
at catctl.pl line 2205
main::catctlLogon() called at catctl.pl line 955
main::catctlMain() called at catctl.pl line 903
eval {…} called at catctl.pl line 901

Cause

OS authentication was not there for sys user

catctl.pl will use sys user which should have OS authentication

Solution

Explicitly  provide  the sys user in upgrade command as below :

For 12.1.x
You need to be in $ORACLE_HOME/rdbms/admin directory to run the catctl.pl :
$ cd $ORACLE_HOME/rdbms/admin
$ORACLE_HOME/perl/bin/perl catctl.pl -u SYS -n 6 -l $ORACLE_HOME/diagnostics catupgrd.sql

Viewing all articles
Browse latest Browse all 1640

Trending Articles



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