oracle xe启动监听失败
环境:oracle-xe-univ-10.2.0.1-1.0.i386
现象:安装完成,启动监听报错
#lsnrctl start
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 28-11月-2009 18:55:00
Copyright (c) 1991, 2007, Oracle. All rights reserved.
启动/home/oracle/product/11g/db_1/bin/tnslsnr: 请稍候...
TNSLSNR for Linux: Version 11.1.0.6.0 - Production
系统参数文件为/home/oracle/product/11g/db_1/network/admin/listener.ora
写入/home/oracle/diag/tnslsnr/Web2/listener/alert/log.xml的日志信息
监听: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Web2.site)(PORT=1521)))
监听该对象时出错: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12555: TNS: 权限被拒绝
TNS-12560: TNS: 协议适配器错误
TNS-00525: 无足够权限以执行操作
Linux Error: 1: Operation not permitted
监听程序未能启动。请参阅上面的错误消息..
/tmp/.oracle的权限
/var/tmp/.oracle的权限
oracle应该有这些目录的权限,用oinstall
chown -R oracle:oinstall /tmp/.oracle
chown -R oracle:oinstall /var/tmp/.oracle