Geeting error while stoping app services

December 1, 2014 at 00:03:00
Specs: Windows server 2008 R2
Hi All,

I have made a batch file to stop application services and the same is getting failed in autosys.

The job of stop app got failed in autosys but the application services is stop.

Below are the batch script and error log.

Batch scritp :------

cd..
E:
C:\Windows\system32\
net stop "Apache2.2" >D:\autoscp\logs\appdown.lst
cd C:\Windows\system32\
net stop "JBOSSEAP" >D:\autoscp\logs\appdown.lst
find "The JBOSSEAP service was stopped successfully." D:\autoscp\logs\appdown.lst
---------- D:\AUTOSCP\LOGS\APPDOWN.LST
if 1 EQU 0 goto serviceerror else
echo"services are alredy running or not started propery CHECK D:\autoscp\logs\appdown.lst FOR EXACT ERRORS"
pause
exit 1

Error Log : -------

The device is not ready.
The service is not responding to the control function.
More help is available by typing NET HELPMSG 2186.
The filename, directory name, or volume label syntax is incorrect.

Can anyone tell me how to resolve this issue?

Thanks in advance.


See More: Geeting error while stoping app services

Report •


#1
December 1, 2014 at 00:30:22
As the error log clearly shows:

"The filename, directory name, or volume label syntax is incorrect"

So those are the things you need to check and double-check.

message edited by phil22


Report •
Related Solutions


Ask Question