Most of the answers to this problem indicate the use of an invalid port number in the connection settings or similar. In my case, after a couple of hours of searching, the reason turned out to be something else.
Think about which user you are using when starting the Oracle listener. You must do this with the oracle user and not as the root user . Otherwise, you will receive listener files, for example, the root of the user deamon group instead of user oracle group dba. This in turn leads to:
TNS-12555: TNS:permission denied TNS-12560: TNS:protocol adapter error TNS-00525: Insufficient privilege for operation Linux Error: 1: Operation not permitted
To check if this is the case, go to
/var/tmp/.oracle
and a list of all files (ls -la). If you find some of the s # * files created by the root group user, stop the listener (stop lsnrctl), delete the above files as root, and restart the listener as oracle user.
Unfortunately, sqldeveloper does not show the full stack trace when reading "Got minus one of the read calls." I could find the problem by switching to SQL protein.
source share