How to make sure EV services restart properly?
Hi,
Originally this was a problem not being able to open archived messages throug external OWA session. Symantec support suggested that all the logs are telling that the EVOWA-user account somehow seems to lose privilidges and running the cscript owauser.wsf is the answer... Well I'd done this operation dozens times and it's just not a solution to run it first thing every morning is it?
I had also noticed before that when the running the script it of course demands restart of Enterprise Vault Admin service (+ all dependencies), there is some problem getting all the services restart nicely:
C:\Documents and Settings\evadmin>net stop "Enterprise Vault Admin Service"
The following services are dependent on the Enterprise Vault Admin Service servi
ce.
Stopping the Enterprise Vault Admin Service service will also stop these service
s.
Enterprise Vault Task Controller Service
Enterprise Vault Storage Service
Enterprise Vault Shopping Service
Enterprise Vault Indexing Service
Enterprise Vault Directory Service
Do you want to continue this operation? (Y/N) [N]: Y
The Enterprise Vault Task Controller Service service is stopping.......
The Enterprise Vault Task Controller Service service was stopped successfully.
The Enterprise Vault Storage Service service is stopping........
The Enterprise Vault Storage Service service could not be stopped.
The Enterprise Vault Shopping Service service is stopping...
The Enterprise Vault Shopping Service service was stopped successfully.
The Enterprise Vault Indexing Service service is stopping........
The Enterprise Vault Indexing Service service could not be stopped.
The Enterprise Vault Directory Service service is stopping........
The Enterprise Vault Directory Service service could not be stopped.
System error 1051 has occurred.
A stop control has been sent to a service that other running services are depend
ent on.
And there fore the Enterprise Vault Admin service won't stop / restart either. In the past I've simply just killed the process and proceeded from there...
Now I tried to google the issue on not being able to restart services properly and also ran into this article:
http://systemmanager.ru/ev_help.en/extfile/setting_up_exchange_server_archiving/jf-220110-02.htm Very useful indeed!!
"Restarting the Admin service ensures that Enterprise Vault authentication knows the identity of the Data Access account."
Now this was my original problem so now the question is: How do I get these services restart properly?!?!?!
(This morning I skipped running the script and just restarted the services [yes, killed the few processes that wouldn't stop on their own] and Voilá! messages open again.) So there are automatic functions where the system tries to restart these services and if the problem occurs then as well then I think that is when the EVOWA-user account looses priviledges and starts to demand a new restart of the EV admin service...
Thanks.
Sani B.
It looks like the services are busy with some tasks, better option would be keeping the server in backup mode before running the script/command to restart service.
Or try keeping a sleep command in script so that it will give enough time for service to stop before moving to next service,
net stop "Enterprise Vault Task Controller Service"
net stop "Enterprise Vault Storage Service"
sleep 120
net stop "Enterprise Vault Shopping Service"
sleep 120
net stop "Enterprise Vault Indexing Service"
net stop "Enterprise Vault Directory Service"
net stop "Enterprise VaultAdmin Service"
You can download 'Sleep.exe' from below link
http://www.computerhope.com/dutil.htm