Thursday, August 05, 2010

Error - netca: line 190: 18852 Aborted

On some test server...
$ netca

Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xf7e76b33, pid=18852, tid=4158679248
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
# Problematic frame:
# C [libc.so.6+0x6fb33] index+0x63
#
# An error report file with more information is saved as hs_err_pid18852.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
/oracle/product/10.2.0/db_1/bin/netca: line 190: 18852 Aborted $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*

Then check "hostname" command-line and /etc/hosts file and add hostname in file.
1. check hostname command-line:
$ hostname
host01.surachartopun.com
2. /etc/hosts file:
127.0.0.1 localhost.localdomain localhost
Then changed:
127.0.0.1 localhost.localdomain localhost
10.10.10.100 host01.surachartopun.com
Try again:
$ netca

Oracle Net Services Configuration:
Configuring Listener:LISTENER
Default local naming configuration complete.
Listener configuration complete.
Oracle Net Listener Startup:
Running Listener Control:
lsnrctl start LISTENER
Listener Control complete.
Listener started successfully.
Oracle Net Services configuration successful. The exit code is 0

OK...

2 comments:

Emiliano said...

Mucgas gracias! very good!

Unknown said...

Thanks for this..