Oracle11gR2在Windows7下報TNS-01190: The user is not authorized to execute the requested listener comm,authorized

來源:互聯網
上載者:User

Oracle11gR2在Windows7下報TNS-01190: The user is not authorized to execute the requested listener comm,authorized

        Windows 7環境下,在CMD控制台以“lsnrctl”命名進入Oracle監聽,執行相關監聽命令,如“show log_status”時報:

        TNS-01190: The user is not authorized to execute the requested listener command

        翻譯成中文為:TNS-01190:使用者未被授權執行請求的監聽器的命令


        這是Windows7的許可權控制導致,可以找到檔案LSNRCTL.EXE,在目錄%ORACLE_HOME%\bin下,以滑鼠右鍵單擊,選擇“以管理員身份運行”,此時出現一個使用者帳戶控制頁面,選擇“是”。

   如果不想每次都去目錄%ORACLE_HOME%\bin下找檔案LSNRCTL.EXE,可以改變LSNRCTL.EXE檔案的屬性。到“相容性”選項卡下找到“以管理員身份運行此程式”,選中,點確定。但是每次執行相關監聽命令都會出現一個使用者帳戶控制頁面,只要選擇“是”就可以了。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.