ORA-12546 reported when starting a TNS Listener (Doc ID 115428.1)

Last updated on NOVEMBER 20, 2016

Applies to:

Oracle HTTP Server - Version 10.2.0.1 and later
Oracle Net Services - Version 10.2.0.1 and later
Generic UNIX
Starting TNS listener on certain port number fails


Symptoms

Start up of TNS listener fails with the following errors:

$ lsnrctl start

LSNRCTL for Solaris: Version 10.2.0.4.0 - Production on 18-NOV-2009 13:32:16

Copyright (c) 1991, 2007, Oracle. All rights reserved.

Starting /oracle/base/10.2/bin/tnslsnr: please wait...

TNSLSNR for Solaris: Version 10.2.0.4.0 - Production
System parameter file is /oracle/base/10.2/network/admin/listener.ora
Log messages written to /oracle/base/10.2/network/log/listener10.log
Error listening on: (ADDRESS=(PROTOCOL=TCP)(Host=sample.com)(Port=1521))
TNS-12546: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00516: Permission denied
Solaris Error: 13: Permission denied

Netstat shows the TCP/IP port number for the TNS listener is free (netstat -a -n)
Changing the TCP/IP port number to higher value allows the TNS listener to start up successfully
Truss of the startup failing shows the following
(truss -feao /tmp/truss.log lsnrctl start)

12604: setsockopt(10, SOL_SOCKET, SO_REUSEADDR, 0xFFFFFFFF7FFF8A94, 4, SOV_DEFAULT) = 0
12604: bind(10, 0x1002BD720, 16, SOV_SOCKBSD) Err#13 EACCES [net_privaddr]


errno.h shows Err#13 EACCES

Changes

This can be a new installation or there might have been changes to the TCP/IP settings on the server.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms