Find the answer to your Linux question:
Results 1 to 2 of 2
i got the script as bellow sqlplus "/as sysdba" <<! startup exit ! lsnrctl start when i run it from $ prompt it does the activity upto exit but it ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    6

    need help in shell scripting

    i got the script as bellow


    sqlplus "/as sysdba" <<!
    startup
    exit
    !
    lsnrctl start


    when i run it from $ prompt it does the activity upto exit but it does not run lsnrctl.

  2. #2
    Just Joined!
    Join Date
    Dec 2009
    Posts
    6
    Actualy this script was working fine in rhel 3 i just copied it from there and past it in rhel 4.It starts two services sqlplus and lsnrctl .But it starts only sqlplus and do not start lsnrctl which then i have to start manually each time.

Posting Permissions

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