A listener cannot be created after Oracle is installed in LINUX.
**************************************** ******************************** **************
Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.
Please leave a message or email (hyldba@163.com) indicating that there is an error. Thank you very much.
This article reprint must be kept here: http://blog.csdn.net/huangyanlong/article/details/39435817
Deep Blue blog:Http://blog.csdn.net/huangyanlong
**************************************** **************************************** *******************
After installing Oracle10g in LINUX today, you cannot set up a listener. After some checks, the original problem lies in a very low level, and the following will reproduce it:
Error example:
(This Time, the X-Manager Remote graphical operation server is used)
[Oracle @ hyl ~] $ Netca
The error message is as follows:
Oracle Net Services Configuration:## An unexpected error has been detected by HotSpot Virtual Machine:## SIGSEGV (0xb) at pc=0x007c8a83, pid=29746, tid=4151301824## Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)# Problematic frame:# C [libc.so.6+0x76a83] index+0x63## An error report file with more information is saved as hs_err_pid29746.log## If you would like to submit a bug report, please visit:# <a target=_blank href="http://java.sun.com/webapps/bugreport/crash.jsp#/u01/app/oracle/product/10.2.0/db_1/bin/netca">http://java.sun.com/webapps/bugreport/crash.jsp#/u01/app/oracle/product/10.2.0/db_1/bin/netca</a>: line 190: 29746 Aborted (core dumped) $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
Check the hosts file. The host name is not added.
[Root @ hyl ~] # Vi/etc/hosts
Before Modification
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.40.26 ~~
After modification
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.40.26 hyl~~
Execute netca again, as shown below, and solve the problem:
[Oracle @ hyl ~] $ Netca
Oracle Net Services Configuration:
The graphical interface is successfully called up, as shown below:
**************************************** ******************************** **************
Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the source when you repost them. Otherwise, the copyright will be held legally responsible.
Please leave a message or email (hyldba@163.com) indicating that there is an error. Thank you very much.
This article reprint must be kept here: http://blog.csdn.net/huangyanlong/article/details/39435817
Deep Blue blog:Http://blog.csdn.net/huangyanlong
**************************************** **************************************** *******************
After oracle is installed, you cannot create a listener.
Windows versions are not as easy to delete as linux. This error is caused by a problem during the software installation process. We recommend that you delete it again and reinstall it.
After installing Oracle11 g in Linux redhat 50, you cannot use netca to create a listener. the following error is reported during running:
It is caused by the default host name. Modify the Host Name
[Oracle @ jc11g ~] $ Cat/etc/sysconfig/network
NETWORKING = yes
HOSTNAME = test11g
GATEWAY = 192.168.1.254
[Oracle @ jc11g ~] $ Cat/etc/hosts
# Do not remove the following line, or various programs
# That require network functionality will fail.
127.0.0.1 localhost. localdomain localhost test11g
Run again
Hostname test11g
Enable oracle users to log out and log on again to start netca.
Reference: www.huomo.cn/database/article-12d2e.html