win7,oracle,监听启停报错,TNS-01190:

来源:互联网 发布:网络信息安全局电话 编辑:程序博客网 时间:2024/06/06 03:43

C:/Users/qyq>lsnrctl stop

LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 23-DEC-2010 11:20
:08

Copyright (c) 1991, 2007, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=qyq-PC)(PORT=1521)))
TNS-01190: The user is not authorized to execute the requested listener command

C:/Users/qyq>

 

解决办法,找到E:/oracle/product/10.2.0/db_1/BIN/lsnrctl.exe,点击右键—>属性—>兼容性,在以管理员身份运行此程序前打上对勾,再运行,OK。