Data Loss Prevention

 View Only
  • 1.  BAT Script for STOP/START services on Enforce server

    Posted Sep 01, 2015 08:49 AM

    Hello All,

    As my Title says I need a solution for STOP and START VONTU services on Enforce server using a Script because we take backup of our DLP every end of Week, so my team every time go to services.msc and stop the services of vontu and oracletake the backup and for start the services by the order one by one and its takes time.

    I created one simple Batch file for e.g. STOP VontuUpdate.exe or net STOP
    But its not working any more, As i saw the exe executables are taking prefrence of \protect\config files.

    Is there any way to STOP/START all the services at a time with any script. 



  • 2.  RE: BAT Script for STOP/START services on Enforce server

    Posted Sep 02, 2015 03:59 AM

    hello,

    did you try this :

    /vontu/Protect/bin/VontuManager.exe start
    /vontu/Protect/bin/VontuIncidentPersister.exe start
    /vontu/Protect/bin/VontuUpdate.exe start
    /vontu/Protect/bin/VontuMonitorController.exe start

    and

    /vontu/Protect/bin/VontuUpdate.exe stop
    /vontu/Protect/bin/VontuIncidentPersister.exe stop
    /vontu/Protect/bin/VontuManager.exe stop
    /vontu/Protect/bin/VontuMonitorController.exe stop
    /vontu/Protect/bin/VontuNotifier.exe stop

    Regards



  • 3.  RE: BAT Script for STOP/START services on Enforce server

    Posted Sep 02, 2015 04:12 AM

    I just use via a bat script. Hope this helps.

    Start Script


    @echo on
    net start "vontu notifier"
    net start "vontu manager"
    net start "vontu incident persister"
    net start "vontu monitor controller"
    net start "vontu update"
    @echo off

     

    Stop Script


    @echo on
    net stop "vontu monitor controller"
    net stop "vontu incident persister"
    net stop "vontu manager"
    net stop "vontu notifier"
    net stop "vontu update"
    @echo off



  • 4.  RE: BAT Script for STOP/START services on Enforce server

    Posted Sep 02, 2015 07:38 AM
    Sorry to say but Both the solutions are not working !!!


  • 5.  RE: BAT Script for STOP/START services on Enforce server

    Posted Sep 03, 2015 01:23 PM
    Thanks sharing. This can be very useful. Peter


  • 6.  RE: BAT Script for STOP/START services on Enforce server
    Best Answer

    Posted Sep 03, 2015 02:16 PM

    Ideally the net start/stop based scripts work just fine, I have them configured on my enforce as well. Is there a specific error you get during the batch execution?

    It would be nice to validate this in parts. Could you simply run: net start "Vontu Manager" on the command prompt, to test.

    At times it could just be a simple error like "System error 5 has occured". In that case, we simply need to open command prompt as Administrator and try the same command again. If works, we then need to run the batch scripts as an admin each time.

    Depending on the error there could be other issues, which we could address - let us know.

    #######START SCRIPT######## (paste script after this line & save as abc.bat):
    net start "Vontu Notifier"
    net start "Vontu Manager"
    net start "Vontu Incident Persister"
    net start "Vontu Monitor Controller"
    net start "Vontu Update"

     

    #######STOP SCRIPT######## (paste script after this line & save as xyz.bat):
    net stop "Vontu Notifier"
    net stop "Vontu Manager"
    net stop "Vontu Incident Persister"
    net stop "Vontu Monitor Controller"
    net stop "Vontu Update"

     



  • 7.  RE: BAT Script for STOP/START services on Enforce server

    Posted Sep 04, 2015 12:34 AM
    Hi dlp-optim, I have made same Script before and its not giving me any Error, but the services will not stopped. As per your suggetion i will check manually and let you know. Thanx for sharing your idea.


  • 8.  RE: BAT Script for STOP/START services on Enforce server

    Posted Sep 04, 2015 07:56 AM

    Hi dlp-optim,

     

    The Script is working for me Thank you !!!