Ok ,ok... here is what took me about 2 hours on my time today.
One colleague of mine cloned an Oracle Home to a new server and passed it to me to create a duplicate oracle database a production database into the new Oracle installed home.
So i am trying to login the empty instance using the sqlplus utility and i get the error:
ERROR:
ORA-01031: insufficient privileges
/* SS_DBA_GRP defines the UNIX group ID for sqldba adminstrative access. */
/* Refer to the Installation and User's Guide for further information. */
/* IMPORTANT: this file needs to be in sync with
rdbms/src/server/osds/config.c, specifically regarding the
number of elements in the ss_dba_grp array.
*/
#define SS_DBA_GRP "dba"
#define SS_OPER_GRP ""
#define SS_ASM_GRP ""
char *ss_dba_grp[] = {SS_DBA_GRP, SS_OPER_GRP, SS_ASM_GRP};
mv config.o config.bck.001
[oracle@node12xv lib]$ make -f ins_rdbms.mk ioracle
chmod 755 /u00/app/oracle/product/11.2.0.2/db_1/bin
- Linking Oracle
rm -f /u00/app/oracle/product/11.2.0.2/db_1/rdbms/lib/oracle
gcc -o /u00/app/oracle/product/11.2.0.2/db_1/rdbms/lib/oracle -m64 -L/u00/app/oracle/prod
uct/11.2.0.2/db_1/rdbms/lib/ -L/u00/app/oracle/product/11.2.0.2/db_1/lib/ -L/u00/app/oracl
e/product/11.2.0.2/db_1/lib/stubs/ -Wl,-E /u00/app/oracle/product/11.2.0.2/db_1/rdbms/l
b/opimai.o /u00/app/oracle/product/11.2.0.2/db_1/rdbms/lib/ssoraed.o /u00/app/oracle/produ
ct/11.2.0.2/db_1/rdbms/lib/ttcsoi.o -Wl,--whole-archive -lperfsrv11 -Wl,--no-whole-archiv
e /u00/app/oracle/product/11.2.0.2/db_1/lib/nautab.o /u00/app/oracle/product/11.2.0.2/db_1
/lib/naeet.o /u00/app/oracle/product/11.2.0.2/db_1/lib/naect.o /u00/app/oracle/product/11.
2.0.2/db_1/lib/naedhs.o /u00/app/oracle/product/11.2.0.2/db_1/rdbms/lib/config.o -lserver
11 -lodm11 -lcell11 -lnnet11 -lskgxp11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore1
1 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11
-lvsn11 -lcommon11 -lgeneric11 -lknlopt if /usr/bin/ar tv /u00/app/oracle/product/11.2.0
.2/db_1/rdbms/lib/libknlopt.a | grep xsyeolap.o /dev/null 2&1 ; then echo "-loraolap11"
; fi -lslax11 -lpls11 -lrt -lplp11 -lserver11 -lclient11 -lvsn11 -lcommon11 -lgeneric1
1 if [ -f /u00/app/oracle/product/11.2.0.2/db_1/lib/libavserver11.a ] ; then echo "-lavsr
ver11" ; else echo "-lavstub11"; fi if [ -f /u00/app/oracle/product/11.2.0.2/db_1/lib/li
bavclient11.a ] ; then echo "-lavclient11" ; fi -lknlopt -lslax11 -lpls11 -lrt -lplp11 -
ljavavm11 -lserver11 -lwwg cat /u00/app/oracle/product/11.2.0.2/db_1/lib/ldflags
....
.....
....
[oracle@node12xv lib]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Mon May 4 18:08:38 2015
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Conectado a:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options