DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: listener???

  1. #1
    Join Date
    Oct 2000
    Posts
    144

    Unhappy

    OS: SunOS
    Oracle version: 7.3.4
    Problem description:
    I'm currently working on the shell script in order to stop the listener. I tested the script and it gave me an error below. If anyone knows what I did wrong, please reply. I really appreciate it.

    "NL-00857: wrong number (0 - 1 needed) of arguments to "password""

    This is my script:

    su - oracle -c "opt/app/oracle/product/7.3.4/bin/lsnrctl set password apple1 stop"

  2. #2
    Join Date
    Aug 2001
    Posts
    64
    I think the err is in regards to the command you're running. Why don't you try running the command first, just to make sure the synthax is right.

  3. #3
    Join Date
    Feb 2002
    Posts
    18

    You can use a script like this


    lsnrctl < set current_listener listener
    set password password
    stop
    STOPTNS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width