I am running Oracle 8.1.7 on Solaris 8.
"lsnrctl start" hangs following the "Connecting to ... " message and does not display the status
of the listener:
=====================================================
bash-2.03$ lsnrctl start
LSNRCTL for Solaris: Version 8.1.7.0.0 - Production on 23-MAR-2002 12:55:39
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Starting /opt/oracle/product/8.1.7/bin/tnslsnr: please wait...
TNSLSNR for Solaris: Version 8.1.7.0.0 - Production
System parameter file is /opt/oracle/product/8.1.7/network/admin/listener.ora
Log messages written to /opt/oracle/product/8.1.7/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.124.250)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cambridge)(PORT=2481))(PROTOCOL_STACK=(PRESENTATION=GIOP)(SESSION=RAW)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
=====================================================
If I run truss on the lsnrctl start, it appears
to be "sleeping" on the "read" call below:
=====================================================
LSNRCTL for Solaris: Version 8.1.7.0.0 - Production on 23-MAR-2002 12:22:27write(1, "n L S N R C T L f o r".., 76) = 76
(c) Copyright 1998 Oracle Corporation. All rights reserved.
write(1, "nn ( c ) C o p y r i".., 64) = 64
getrlimit(RLIMIT_NOFILE, 0xFFBEE7B0) = 0
setrlimit(RLIMIT_NOFILE, 0xFFBEE7B0) = 0
brk(0x0007F2F0) = 0
brk(0x0008F2F0) = 0
brk(0x0008F2F0) = 0
brk(0x0009F2F0) = 0
brk(0x0009F2F0) = 0
brk(0x000AF2F0) = 0
brk(0x000AF2F0) = 0
brk(0x000BF2F0) = 0
brk(0x000BF2F0) = 0
brk(0x000FF2F0) = 0
brk(0x000FF2F0) = 0
brk(0x001072F0) = 0
getuid() = 400 [[400]]
open64("/etc/.name_service_door", O_RDONLY) = 3
fcntl(3, F_SETFD, 0x00000001) = 0
door_info(3, 0xFEABE7A0) = 0
close(3) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 3
fstat64(3, 0xFFBEA0D8) = 0
brk(0x001072F0) = 0
brk(0x001092F0) = 0
ioctl(3, TCGETA, 0xFFBEA064) Err#25 ENOTTY
read(3, " #n # / e t c / n s s".., 8192) = 1639
read(3, 0x001063CC, 8192) = 0
llseek(3, 0, SEEK_CUR) = 1639
close(3) = 0
open("/usrlib/nss_files.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/dt/lib/nss_files.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/openwin/lib/nss_files.so.1", O_RDONLY) Err#2 ENOENT
open("/opt/oracle/product/8.1.7/lib/nss_files.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/nss_files.so.1", O_RDONLY) = 3
fstat(3, 0xFFBE9BA4) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF320000
mmap(0x00000000, 98304, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFE9E0000
mmap(0xFE9F6000, 1770, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xFE9F6000
munmap(0xFE9E6000, 65536) = 0
memcntl(0xFE9E0000, 6936, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(3) = 0
munmap(0xFF320000, 8192) = 0
open("/etc/passwd", O_RDONLY) = 3
fstat64(3, 0xFFBEA008) = 0
brk(0x001092F0) = 0
brk(0x0010B2F0) = 0
ioctl(3, TCGETA, 0xFFBE9F94) Err#25 ENOTTY
read(3, " r o o t : x : 0 : 0 : S".., 8192) = 527
llseek(3, 0xFFFFFFFFFFFFFFC5, SEEK_CUR) = 468
close(3) = 0
uname(0xFF2AED68) = 1
access("/var/tmp/.oracle", 0) = 0
so_socket(1, 2, 0, "", 1) = 3
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
poll(0x00000000, 0, 0) = 0
close(3) = 0
so_socket(1, 2, 0, "", 1) = 3
connect(3, 0xFFBE9888, 110, 1) Err#146 ECONNREFUSED
access("/var/tmp/.oracle/sEXTPROC", 0) = 0
close(3) = 0
access("/opt/oracle/product/8.1.7/network/admin/protocol.ora", 0) Err#2 ENOENT
access("/opt/oracle/product/8.1.7/network/admin/protocol.ora", 0) Err#2 ENOENT
so_socket(2, 2, 0, "", 1) = 3
connect(3, 0xFFBE9774, 16, 1) Err#146 ECONNREFUSED
close(3) = 0
open("/opt/oracle/product/8.1.7/network/mesg/tnsus.msb", O_RDONLY) = 3
fcntl(3, F_SETFD, 0x00000001) = 0
lseek(3, 0, SEEK_SET) = 0
read(3, "1513 "011303tt ".., 256) = 256
lseek(3, 512, SEEK_SET) = 512
read(3, " 19B ".., 512) = 512
lseek(3, 1024, SEEK_SET) = 1024
read(3, " |