在linux下启动oracle11g是报如下错误:
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=oracle11g)(PORT=1521))'
当初怀疑改机器名的原因引起的。查了一下机器名没有错误。
# hostname
oracle11g
检查/etc/hosts里的条目。只有一个 127.0.0.1 localhost.localdomain localhost
于是在后面加了一项
172.1.1.10 oracle11g
之后启动数据库成功
SQL> startup
ORACLE instance started.
Total System Global Area 417546240 bytes
Fixed Size 2213936 bytes
Variable Size 276826064 bytes
Database Buffers 134217728 bytes
Redo Buffers 4288512 bytes
Database mounted.
Database opened.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/75413/viewspace-1040909/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/75413/viewspace-1040909/