Bug #995 Can't start service
Submitted: 4 Aug 2003 23:54 Modified: 12 Aug 2003 13:47
Reporter: Dirk Thomsen Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:4.1.0-alpha OS:Windows (Win2000)
Assigned to: CPU Architecture:Any

[4 Aug 2003 23:54] Dirk Thomsen
I downloaded 4.1.0-alpha source and maked them. That worked after some correktions (removed c-latin1de.c from make descriptions, fixed some 'int i' multiple defined bug). but trying to start the mysql service run into an error 1067. I did exectly what is described in \docs\manual.html

C:\mysql\bin>mysqld --install
Service successfully installed.

C:\mysql\bin>net start mysql
The MySql service is starting.
The MySql service could not be started.

A system error has occurred.

System error 1067 has occurred.

The process terminated unexpectedly.

How to repeat:
compile and try to start the service afterwards.
[5 Aug 2003 4:43] MySQL Verification Team
The compiler reported issues are already reported and for complementary
actions please read the bug #312 how to enable the support of utf8.

The start problem is another issue: the server has aborted for some
reason that you can find trying to start it as standalone:

mysqld --standalone --console

Take a look in the error messages.

for complementary instructions please read:

[24 Nov 2003 1:35] [ name withheld ]
The problem occurs with 4.0.16, too. There only, if the service-name is not default.
I changed my 4.1.0-alpha- source the following:

    lstrcat( szFilePath, " " );
    lstrcat( szFilePath, szInternName );
before calling CreateService() (file-line 129).
			szFullPath,	//exec full path
			szFilePath,	//exec full path + service-name
when calling CreateService() (file-line 140).

Maybe you normally use other then lstrcat(). Wrote it down just
to prevent you from searching the code:)