If at all Cordys has been installed on your local machine then abnormal termination of system always leads to getting crash of your CARS / Monitor, to come out of this you can always create a batch file to start/stop cordys services
To start the Services
======================================================
@ECHO OFF
NET START MSSQL$SQLEXPRESS
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START SQLBrowser
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START "OpenLDAP-slapd CARSONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START "Cordys Monitor PPONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START TomEE
ECHO Started all services
PAUSE
To Stop the Servics
=======================================================
@ECHO OFF
NET STOP TomEE
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP "Cordys Monitor PPONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP "OpenLDAP-slapd CARSONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP SQLBrowser
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP MSSQL$SQLEXPRESS
ECHO Stopped all services
PAUSE
To restart
====================================================
@ECHO OFF
NET STOP TomEE
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP "Cordys Monitor PPONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP "OpenLDAP-slapd CARSONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP SQLBrowser
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP MSSQL$SQLEXPRESS
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START MSSQL$SQLEXPRESS
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START SQLBrowser
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START "OpenLDAP-slapd CARSONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START "Cordys Monitor PPONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START TomEE
ECHO Restarted all services
PAUSE
-- Narasimha Reddy, Lomadi
To start the Services
======================================================
@ECHO OFF
NET START MSSQL$SQLEXPRESS
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START SQLBrowser
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START "OpenLDAP-slapd CARSONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START "Cordys Monitor PPONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START TomEE
ECHO Started all services
PAUSE
To Stop the Servics
=======================================================
@ECHO OFF
NET STOP TomEE
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP "Cordys Monitor PPONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP "OpenLDAP-slapd CARSONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP SQLBrowser
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP MSSQL$SQLEXPRESS
ECHO Stopped all services
PAUSE
To restart
====================================================
@ECHO OFF
NET STOP TomEE
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP "Cordys Monitor PPONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP "OpenLDAP-slapd CARSONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP SQLBrowser
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET STOP MSSQL$SQLEXPRESS
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START MSSQL$SQLEXPRESS
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START SQLBrowser
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START "OpenLDAP-slapd CARSONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START "Cordys Monitor PPONE"
IF NOT ["%errorlevel%"]==["0"] PAUSE
NET START TomEE
ECHO Restarted all services
PAUSE
-- Narasimha Reddy, Lomadi
No comments:
Post a Comment