启动监听报错,是先su - root后才启动的.
信息如下:
LSNRCTL> start
Starting /opt/oracle9i/product/9.2.0/bin/tnslsnr: please wait...
NL-00280: error creating log stream /opt/oracle9i/product/9.2.0/network/log/listener.log
NL-00278: cannot open log file
SNL-00016: snlfohd: error opening file
Intel SVR4 UNIX error:13:permission denied
这下子怎么开监听呢?是不是要重新配置,在unix下怎么设置啊?
谢谢大家的帮助。
用su - oracle
然后启动看看
ls -alt /opt/oracle9i/product/9.2.0/network/log/listener.log 看看是否属于ORACLE用户,是否有可写权限。
__________________________________________________________________________
结果:经过查证,的确该log文件是oracle账号的权限,改用su - oracle就能够正常启动起来
--转自