How to create a listener service at command line?

Hello,
I want to create and configure a listener service in an installation script.
lsnrctl does not support the creation of this service.
netca or netmgr require user interactions.
Is there an other tool to create the listener service or is it possible to use netca/netmgr with special options in a command line mode?

Thank you very much - it works.
When I execute the command
"lsnrctl start"
I get the error message
"Failed to open service <OracleOraDb10g_home1TNSListener>, error 1060."
but the service is created and is running.
So the error message can be ignored.

Similar Messages

  • How to create an alias from the command line

    Hi
    I would like to know how to create an alias (for a file, not a command) from the command line. I don't want to use the ln command, as an alias has more interesting features than soft/hard links... Is there an Apple specific tool to do this?
    Thanks
    -Jerome
      Mac OS X (10.4.10)  

    The only straightforward way that I am aware of for creating a "Finder" alias from the command line is using AppleScript via 'osascript'. Of course, it's not really a command line solution since the "Finder" has to be running. Anyway, something along the lines of:
    <pre style="overflow:auto; padding: 5px; width: 500px ; font-size: 10px; border:1">osascript -e 'tell application "Finder" to make alias file to POSIX file "/full/path/to/file" at POSIX file "/full/path/to/folder"'</pre>

  • How to start OracleOraDb10g_home1iSQL*Plus service from command line (PC)

    After installing 10G, I now have a service with this name: OracleOraDb10g_home1iSQL*Plus
    I need to be able to start/stop the service from windows 2000 command line,
    BUT "net start OracleOraDb10g_home1iSQL*Plus" DOES NOT WORK.
    Adding quotes around the service name does not solve the problem either.
    Both attempts give "The service name is invalid" errors.
    Can anyone provide a solution?
    THANKS!

    Sorry, but none of the suggestions works. Thanks for trying though.
    1) Renaming the service only changes the display name, and then when you use "net start", it errors with: "The service name is invalid"
    2) call isqlplus start errors with "isqlplus is not recognized as an internal or external command..."
    3) You cannot execute isqlplussvc.exe directly either.
    Any more suggestions?

  • How to create user in workspace using command line with Internal APEX

    Hi fellows,
    I'm newbie with APEX and my i try doing something different. I need to build one application in Internal for create users in another workspaces. So, for do this, need use command line and PL/SQL code.
    I know exists a CREATE_USER procedure. But, this procedure just create a user in Internal, not in workspace, like i want.
    Its possible? Someone can help me?
    Example of create_user procedure:
    BEGIN
      APEX_UTIL.CREATE_USER(
         p_user_name => 'NEWUSER2',
         p_first_name => 'FRANK',
         p_last_name => 'SMITH',
         p_description => 'Description...',
         p_email_address => '[email protected]',
         p_web_password => 'password',
         p_developer_privs => 'ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL',
         p_default_schema => 'MY_SCHEMA',
         p_allow_access_to_schemas => 'MY_SCHEMA2',
         p_change_password_on_first_use => 'N',
         p_attribute_01 => '123 456 7890');
    END;
    Thank you.

    Did you try it like this?
    DECLARE
       l_workspace_id      number;
    BEGIN
        l_workspace_id := apex_util.find_security_group_id (p_workspace => 'MY_WORKSPACE_NAME');
        apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
      APEX_UTIL.CREATE_USER(
         p_user_name => 'NEWUSER2',
         p_first_name => 'FRANK',
         p_last_name => 'SMITH',
         p_description => 'Description...',
         p_email_address => '[email protected]',
         p_web_password => 'password',
         p_developer_privs => 'ADMIN:CREATE:DATA_LOADER:EDIT:HELP:MONITOR:SQL',
         p_default_schema => 'MY_SCHEMA',
         p_allow_access_to_schemas => 'MY_SCHEMA2',
         p_change_password_on_first_use => 'N',
         p_attribute_01 => '123 456 7890');
    END;

  • How to create analytic privileges from sql command line in hana studio?

    I want to create a bunch of analytic privileges, activate them and assign it a roles. I was wondering if there is a method where I can create these analytical privileges directly from sql?

    Hi Krishna,
    Thanks for the reply.
    The use case is to create a bulk analytical privileges on the pre-existing analytical or calculation views and I'm failing to create it using the simple CREATE STRUCTURED PRIVILEGE.
    The security guide shows below mentioned as the syntax but I'm failing to create it through that:
    CREATE STRUCTURED PRIVILEGE AP_SALES_1 FOR SELECT ON TABLEOWNER.VIEW_SALES WHERE REGION IN ('DE','UK') OR PRODUCT = 'CAR';
    It gives me this error -
    SAP DBTech JDBC: [257] (at 44): sql syntax error: incorrect syntax near "FOR": line 1 col 44 (at pos 44)

  • How to delete the listener services

    hi,
    how can i delete listener services which i am not using , through command prompt in Linux and windows both
    - Thanks
    chetan

    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER1 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = soais-d25)(PORT = 1521))
    LOG_FILE_LISTENER1 = LISTENER.log
    LOG_DIRECTORY_LISTENER1 = C:\oracle\product\10.2.0\db_1\network\log
    SID_LIST_LISTENER1 =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = HRMS)
          (PROGRAM = extproc)
          (SID_NAME = HRMS)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
      )this is my listener file and i have listener ,listener1 ,listener2
    services and i wanna delete listener ,listener2
    so what do my OS is windows

  • How to Create a Custom Service in ECC6

    Hi gurus,
    How to create a custom service for ESS or MSS in ECC6.
    I have created similar services for ITS version is that the same way?
    kindly provide me the steps....
    Thanks in Advance
    Sera

    from PFTC itself. Same.

  • How to create A web services step by step and their uses

    How to create A web services step by step and their uses with their T-Codes
    pls dont send any links
    thank you
    Regards,
    Jagrut Bharatkumar Shukla

    Hi
    Use the Tcode <b>WFWS</b> to create the Web service
    enter the Transaction to whih you wants create the web service and save
    Regards
    Anji

  • How to create the Portal Service in Portal 7.3,

    Dear Experts,
    how to create the Portal Service in Portal 7.3, as we create in Portal 7.0 by creating the Portal Project in that we create Portal Service and we can start and stop in Portal Service configuration in System Administration
    Thanks,
    Sagar Pande

    Hi Sagar,
    Procedure
      1.  Open the SAP NetWeaver Administrator by either of the following methods:
           a. Use the URL to your AS Java (hostname:port) to access the AS Java home page and use the link to SAP NetWeaver Administrator.
           b. Alternatively, add nwa to the AS Java URL to access SAP NetWeaver Administrator directly. (hostname:port/nwa).
      2  Go to   Operations Management   Systems   and click the Start & Stop link.
        The Start & Stop: Java EE Instances window opens.
      3  Click the Java EE Application bar and select the relevant application in the Application List.
        The Portal Services pane displays the services associated with the selected application.
      4  Use the buttons Start Service or Stop Service.
    Refer to Portal 7.3 help
    http://help.sap.com/saphelp_nw73/helpdata/en/f6/ac978061ac4b24a87a1f821313c4fe/frameset.htm
    Br,
    Venky

  • How to create RESTful proxy service in OSB?

    How can I write RESTful web services in OSB?
    We are using OSB 11g.
    I know how to create SOAP proxy service in OSB. I just want to switch to RESTful services from SOAP.

    http://blogs.oracle.com/jeffdavies/2009/06/restful_services_with_oracle_s_1.html
    http://blogs.oracle.com/jamesbayer/2008/07/using_rest_with_oracle_service.html
    http://biemond.blogspot.com/2009/05/osb-rest-service-with-xml-json-output.html
    http://blogs.oracle.com/knutvatsendvik/2009/11/how_to_specify_ampersand_in_a_rest_query-string_osb.html
    Regards,
    Anuj

  • How to create java archive using jar command

    hello
    what is the syntax for creating java acrchive using jar command line
    jar -c ???????
    urgent plzz

    jar cf myjar.jar classfiles...
    If you have a manifest file you want to add:
    jar cfm myjar.jar manifest.mf classfiles...
    Also check the documentation:
    http://java.sun.com/j2se/1.3/docs/tooldocs/tools.html
    You can find a link to jar there.

  • How to change "open with" defaults via command line?!?

    folks,
    i know that if i get info on a file -- in this case, a filemaker 5.5 file -- i can choose the default "open with" settings and apply those settings to all files of that kind. see the attached image for what i mean.
    but how do i do that via the command line?
    thus far, here's what i've got: i know that i can open a document called "scrubbing shell.sh" on my desktop WITH either MS Word of TextEdit by calling:
    open -a textedit /Users/david/Desktop/scrubbing-shell.sh
    or
    open -a Microsoft\ Word /Users/david/Desktop/scrubbing-shell.sh
    no sweat. BUT....how do i set the defaults so that it ALWAYS opens with that app in the future when double-clicking via the GUI?
    many thanks, ya'll!
    david koff
    associate systems admin
    the j. paul getty trust
    dkoff AT getty DOT edu

    Hi David,
       OK, I investigated the new format and treatment. It appears that the first entry in the property list file that matches the file being opened wins. The Finder may still honor the new format; when I moved my old Panther file into Tiger it seemed to work. However, in other ways, the Finder doesn't recognize the old format, which is the format of the FileMaker entries you posted.
       The Finder puts all of the new format entries at the beginning of the property list file. If you change a preference that was controlled by an old format entry, the Finder won't edit that entry. What it will do is to create a new entry in the new format closer to the beginning of the file than any of the old-format entries. SInce the new entry comes first, the old one doesn't apply. If you then edit the preference and change it back to what it was before, the Finder will edit the new entry. Consider the following sequence of events and commands:
    % cp ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    I change all GIF files to be opened by GraphicConverter instead of Preview, which is an old setting in the old format.
    % plutil -convert xml1 ~/Library/Preferences/com.apple.LaunchServices.plist
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    404,409d403
    <      <dict>
    <         <key>LSHandlerContentType</key>
    <         <string>com.compuserve.gif</string>
    <         <key>LSHandlerRoleAll</key>
    <         <string>com.lemkesoft.graphicconverter</string>
    <      </dict>
    Then I change all the GIF files to be opened by Preview again.
    % plutil -convert xml1 ~/Library/Preferences/com.apple.LaunchServices.plist
    % cp ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy2.plist
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    404,409d403
    <       <dict>
    <          <key>LSHandlerContentType</key>
    <          <string>com.compuserve.gif</string>
    <          <key>LSHandlerRoleAll</key>
    <          <string>com.apple.preview</string>
    <       </dict>
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy2.plist
    408c408
    <          <string>com.apple.preview</string>
              <string>com.lemkesoft.graphicconverter</string>
       Note that I had to change the file to text after every change because the Finder converted the file to binary format every time it edited it. I didn't have to logout or reboot; the property list file change less than a second after the preference was set. I'm guessing that because you were just looking at the old-format entry, you missed the real changes to your property list file. Did it change from text to binary format? Try the command line tools that I used above.
       Note that this means that it matters where you put your entries in the property list file if you edit it.
    Gary
    ~~~~
       There are only 10 kinds of people in the world. Those
       who understand binary numbers and those who don't.

  • How to start a J2EE application in command line?

    Dear all,
    As known to all, in Visual Administrator we can start or stop an application in Deploy node easily.
    my question is - Is there any command can we use in command line to start/stop an application like 'startapp.bat sap.com/app1' or 'java xxx.jar startApp sap.com/app1'?
    Because we want to write a script to restart a certain application in schedule, any idea?
    Thank you in advance.

    Hi
    How to programatically start j2ee application/service  from command line
    Regards
    Sat
    Edited by: Satya Narayana on Oct 11, 2009 9:25 AM

  • How to access the mysql using ordinary command line in Azure Website?

    Hi
    I deploying Django project on Azure. I created project and MySQL db according this method: https://pytools.codeplex.com/wikipage?title=PollsDjangoSql . I can create tables using django command "syncdb" in Visual Studio. I see
    db structure in SQL Explorer. All works. But now I need to get access directly to mysql.  For example with a view to set encoding of some column, or set permissions, change user password, etc.
    I found about many different tools and methods in Microsoft portal. But the purpose of these tools, how to install it and how to use it is a very entangled (After several attempts to find out what's what two weeks later I found on my computer
    three dozen programs with unknown purpose. I doubt that I need to install so many tools to just add the user in mysql).
    How to access the mysql using ordinary command line (or the same simple tool) in my case?

    Hi pvgdrk,
    To get access directly to a mysql database, you can use the commandline tool(open a cmd window-->type mysql the commadline ) or the
    GUI MySQL workbench.
    Since this is a question about MySQL, I would suggest you post your question in a dedicated MySQL forum. You will get more prompt response.
    If you have any feedback on our support, please click
    here.
    Eric Zhang
    TechNet Community Support

  • How to create an inspection lot for each line item of the Purchase order?

    Hi,
    How to create an inspection lot for each line item of the Purchase order ?
    In detail if possible.

    Hi
       please check this
    [thread|Create Inspection Lot;

Maybe you are looking for