Some times when Windows restarts..
I need to start hMailServer service manualy..
What can I do ?
Server restart..
- TheAngryPenguin
- Senior user
- Posts: 341
- Joined: 2004-10-11 20:51
Re: Server restart..
Reinstall. All hMS-related services are set to start automatically by default. If you didn't manually alter these settings in the Services Control Panel, something obviously got out of whack. If you don't need/want to upgrade, simply reinstall the same build on top of itself and your problem should be solved -- otherwise, upgrade to the current version.arkois wrote:Some times when Windows restarts..
I need to start hMailServer service manualy..
What can I do ?
BTW, you didn't mention which OS you're running. I think we're all assuming that it's an NT-based OS (NT4, 2K, XP, 2K3). If this is not the case, let us know.
Oh, and make sure nothing else is trying to use port 3307/tcp -- this will cause hMS' DB to fail at startup. I've noticed lately that a default Skype install will bind itself to some strange ports. If/when hMS fails to start the next time, do a netstat -an to see if anything else is listening on that port.
I doubt re-installing will solve it?
I would check if the hMailServer is dependent on the database server in the control panel / administrative tools / services.
If not, hMailServer might start before the database server has started. If that happens, hMailServer will not be able to connect to the database and hence not start.
I would check if the hMailServer is dependent on the database server in the control panel / administrative tools / services.
If not, hMailServer might start before the database server has started. If that happens, hMailServer will not be able to connect to the database and hence not start.
i've had this problem too and the error in the logfile is (from memory) "could not connect to mysql db" - it only happens occasionally so is probably a case of the mail service trying to start before the db service..
so what martin said about the hMailServer service being dependent on the DB service is probably right. - thanks Martin
i'll have a look at that setting when I get home
so what martin said about the hMailServer service being dependent on the DB service is probably right. - thanks Martin
i'll have a look at that setting when I get home
I'm not having this problem but, out of curiosity I looked under services and I don't have any program dependancies for hmail or mysql. How does one go about adding that? I can't seem to find a way to do it but it sounds like a good thing to do.
EDIT: Never mind, search is such a wonderful thing. (When I remember to use it)
http://www.hmailserver.com/forum/viewto ... pendencies
EDIT: Never mind, search is such a wonderful thing. (When I remember to use it)

http://www.hmailserver.com/forum/viewto ... pendencies