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

Thread: Starting Oracle services thru Windows

  1. #1
    Join Date
    Nov 2003
    Posts
    37

    Starting Oracle services thru Windows

    How can I start following services in Windows
    in a batch file?

    E:\oracle\ora92\bin\agntsrvc.exe
    E:\oracle\ora92\BIN\TNSLSNR
    e:\oracle\ora92\bin\ORACLE.EXE MDB

    These services start Oracle database server.

    I can manually click each one in Windows Services
    but I want to start them automatically using a batch file.

    I tried to write them in a batch file, but it is not working.
    May be there are special methods for starting a service.



    Any help?

    Thanks

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    net start name_of_service

    Code:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    
    C:\Documents and Settings\Steve>net /?
    The syntax of this command is:
    
    
    NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
          HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
          SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
    
    
    C:\Documents and Settings\Steve>net start Oracle9i_homeTNSListener
    The Oracle9i_homeTNSListener service is starting.
    The Oracle9i_homeTNSListener service was started successfully.
    Last edited by stecal; 01-19-2004 at 12:29 AM.

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