ERP 9 restarting Process server and task agent

When I restart the Process server it says “STARTING”. Do I have to wait for it to be running before I start the task agent?

@randallweber Here is my batch stop start I used in E9. I separated the printing to its own appserver so I could stop and start it alone without users knowing.

@echo off
echo Starting 905 Database and AppServers...
set DLC=E:\Epicor\OE102A
set PATH=%DLC%\BIN;%PATH%
set LIB=%DLC%\LIB;%LIB% cd \Epicor905\db


echo .
echo .

echo STOPPING LOCAL DB/APPSERVERS...
cd \Epicor905\db
call asbman -name EpicorTest905ProcessServer -stop
call asbman -name EpicorTest905TaskAgent -stop
call asbman -name EpicorTest905Print -stop
call asbman -name EpicorTest905 -stop


call dbman -host localhost -port 20931 -database EpicorTest905 -stop


del "E:\Epicor905\Server\Logs\EpicorTest905*.Log"

del "E:\EpicorData\*.*" /Q

del "E:\EpicorTemp\*.*" /Q


Ping 127.0.0.1 -n 30 > nul

echo .
echo .
echo STARTING LOCAL DB/APPSERVERS...

call dbman -host localhost -port 20931 -database EpicorTest905 -start

call asbman -name EpicorTest905 -start

call asbman -name EpicorTest905Print -start

call asbman -name EpicorTest905TaskAgent -start

call asbman -name EpicorTest905ProcessServer -start

echo All Appservers started


Thanks. Will the batch file wait for one command to finish before the next? If not, it seems I should be able to start the task agent when the process server is still starting.

I assumed it did but it has been a while. I had to add the 30 pings to be sure it was fully down before restarting.

Hi @randallweber

As per my experience,

Stop Process Server first, then stop Task Agent.
After that, start Task Agent and wait until it is “Active”, then start Process Server.

Thanks