MERCADOS FINANCIEROS

viernes, 20 de diciembre de 2019

"Got minus one from a read call" error while trying to connect

"Got minus one from a read call" error while trying to connect 



Oracle relink command tips

Oracle Database Tips by Donald BurlesonMay 31, 2015

Question:  How foes the Oracle relink command work?  To relink a RAC rdbms, I executed $ORACLE_HOME/bin/relink command. Do I also have to run  ther makefile as well? 

cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk rac_on oracle
Answer:  No, you do not need to run the make commands when you issue the Oracle relink command.  Remember that the  relink is a script and you can view the command file to see exactly what it is doing!
In UNIX and Linux, the DBA may occasionally find the need to relink the Oracle binaries. A relink is necessary whenever you install a new release or a patchset or when there is a patch or upgrade to the OS environment.
Sometimes a one-off patch for the OS or Oracle may require this. Not to mention that most Oracle major and minor version upgrades perform the exact same relink as a final part of the installation process. The relink process is fairly straightforward:
1. Identify at what granularity the operation is needed
2. Shut down those database components for that level
3. Issue the relink command for the desired granularity
4. Start up those database components for that level
The relink command syntax is as follows:
$ relink all | oracle | network | client | client_sharedlib | interMedia | precomp | utilities | oemagent | ldap
The larger the selected granularity; for example, all the more items that must be shut down and restarted for the relink, then the longer the relink process will take.Manual make commands
While the Oracle relink command will automatically run the make commands, you still may run them menually:
For executables: oracle, exp, imp, sqlldr, tkprof, mig, dbv, orapwd, rman, svrmgrl, ogms and ogmsctl
cd $ORACLE_HOME/rdbms/lib
make -f ins_rdbms.mk install


For sqlplus
cd $ORACLE_HOME/sqlplus/lib
make -f ins_sqlplus.mk install


For executables: dbsnmp, oemevent, oratclsh
cd $ORACLE_HOME/network/lib
make -f ins_oemagent.mk install


For executables: names, namesctl
cd $ORACLE_HOME/network/lib
make -f ins_names.mk install


For executables: osslogin, trcasst, trcroute, onrsd, tnsping
cd $ORACLE_HOME/network/lib
make -f ins_net_client.mk install


For executables: tnslsnr, lsnrctl
cd $ORACLE_HOME/network/lib
make -f ins_net_server.mk install
For more details on using the relink command, see MOSC Note: 131321.1 titled "Using Oracle relink on UNIX".


[oracle@sracsnc01 bin]$ relink all
writing relink log to: /u01/app/oracle/product/12.1.0.2/dbhome_1/install/relink.log
[oracle@sracsnc01 bin]$ pwd
/u01/app/oracle/product/12.1.0.2/dbhome_1/bin
[oracle@sracsnc01 bin]$