Oracle version: 7.3.4
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
set current_listener listener
set password password
Click Here to Expand Forum to Full Width