TNS-12555: TNS:permission denied

芮承运
2023-12-01

Starting /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr: please wait…

TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
Linux Error: 1: Operation not permitted

Listener failed to start. See the error message(s) above…

Logon as oracle and execute following commands:

cd /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin
strace -o /tmp/trc.log -f ./tnslsnr

Then execute following command and post the output:

egrep ‘open|read|stat|write|access|chmod’ /tmp/trc.log

OK try execute following command (as root):
rm -f /var/tmp/.oracle/*

Now log on as oracle and try to start listener again.

 类似资料: