To modify the linux host name of Oracle, the original host name is centos, change to test 1, modify vim/etc/hosts vim/etc/sysconfig/network service network restart in linux, and modify the Oracle configuration. At this time, the Oracle instance is not started. An error occurred while executing lsnrctl status. [Oracle @ test ~] $ Lsnrctl statusLSNRCTL for Linux: Version 11.2.0.1.0-Production on-2013 15: 44: 55 Copyright (c) 1991,200 9, Oracle. all rights reserved. connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = centos) (PORT = 1521) TNS-12545: connection failure TNS-12560: TNS: protocol adapter Error TNS-00515: Connection Failed Linux Error: 3: No such process because listener because the target host or object does not exist. the host name in the ora file does not match the Host Name of the current local machine. Reconfigure the listener. ora file [oracle @ test ~] $ Vim $ ORACLE_HOME/network/admin/listener. ora changes "HOST = centos" to "HOST = test" and runs lnsrctl start to start the listener. [Oracle @ test ~] $ Lsnrctl startLSNRCTL for Linux: Version 11.2.0.1.0-Production on-2013 15: 50: 15 Copyright (c) 1991,200 9, Oracle. all rights reserved. start/opt/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: Please wait... TNSLSNR for Linux: Version 11.2.0.1.0-Production system parameter file:/opt/oracle/product/11.2.0/dbhome_1/network/admin/listener. ora writes/opt/oracle/diag/tnslsnr/test/listener/alert/log. xml log information listener: (DESCRIPTION = (ADDR ESS = (PROTOCOL = tcp) (HOST = test) (PORT = 1521) connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = test) (PORT = 1521) listener status ------------------------ alias LISTENER version TNSLSNR for Linux: version 11.2.0.1.0-Production start date: 2013 15:50:17 normal running time: 0 days 0 hours 0 minutes 1 second tracking level off security ON: local OS AuthenticationSNMP OFF listener parameter file/opt/oracle/product/11.2.0/dbhome_1/network/admin/listener. ora listener log file/opt/oracle /Diag/tnslsnr/test/listener/alert/log. xml listener endpoint overview... (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = test) (PORT = 1521) The Listener does not support successful execution of service commands. The Listener starts normally and the modification is complete.