How to Solve Oracle startup monitoring error

Solve the error of Oracle startup monitoring

On the Linux virtual machine, start the Oracle listening service:

[[email protected] ~]$ lsnrctl start

As a result, a listening error message appears, as follows:

TNS-12537: TNS:connection closed
 TNS-12560: TNS:protocol adapter error
  TNS-00507: Connection closed
   Linux Error: 29: Illegal seek

After many attempts and data access, it is found that the error is caused by the default hostname. At this time, the following steps can be taken to solve the above error reporting problem:

    1. modify hostname
[[email protected] oracle]# hostname oracle

Add “host IP oracle” in the/etc/hosts file

[[email protected] oracle]# vim /etc/hosts
localhost ip oracle

Add “hostname = oracle” in the etc/sysconfig/network file

[[email protected] oracle]# vim /etc/sysconfig/network

Restart listening

[[email protected] oracle]# lsnrctl start

After a wave of configuration, monitoring is successfully enabled:

Read More: