-
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"
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|