Unable to start Oracle listener after patch upgrade to 10.1.0.4 (HPUX Error: 29: Illegal seek)
The patch install went fine, and Oracle came up without any problems, but the listener just would not start with the following errors.
lsnrctl start
LSNRCTL for HPUX: Version 10.1.0.4.0 - Production on 08-JUN-2007 15:49:19
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /oracle/SP1/101_64/bin/tnslsnr: please wait...
TNS-12537: TNS:connection closed
 TNS-12560: TNS:protocol adapter error
 TNS-00507: Connection closed
  HPUX Error: 29: Illegal seek
I found a couple of potential fixes.
Verified the /etc/hosts contains the localhost entry:
127.0.0.1 localhost.localdomain localhost
The above did not work for me, but has for others.
What did work for me is below:
Cause
TNS Listener fails while attempting to initiate subscription to ONS node down event.
Level 16 TNS Listener trace shows the last action:
...
[01-JUL-2005 10:16:59:727] nsglonsinit: Initiated subscription for node down event
...
Same symptoms and corrective action found in Bug 4227455 OCS_MAIN_SOLARIS_050304 - UNABLE TO
START THE SECOND LISTENER
Solution
To implement the solution, please execute the following steps:
1. Explicitly disable the 10g TNS Listener\'s subscrition to ONS by editing the listener.ora file and add the parameter below:
SUBSCRIBE_FOR_NODE_DOWN_EVENT_<listener_name>=OFF
      where <listener_name> would be replaced with the actual listener name configured in the listener.ora file.
For example, if the listener name is LISTENER (default), the parameter would be:
SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
      - Save the listener.ora file
2. Start the TNS Listener from a new LSNRCTL prompt:
lsnrctl <return>
LSNRCTL> start