Specified driver could not be loaded due to systemerror 1114

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Specified driver could not be loaded due to systemerror 1114

Post by AntonyP »

I have setup HM to record all events to a MYSQL database using ODBC. I am getting many errors like the one below. Do you have any idea what may be wrong?

[2006-06-06 11:26:13] Sys ODBC log error. Error code: 4294967295 (Specified driver could not be loaded due to system error 1114 (MySQL ODBC 3.51 Driver).) Logging initiated by "Free hard disk space" test.


Added to this, i am also getting this notification:

[2006-06-06 11:18:58] Sys More than 20 consecutive ODBC errors occured.
ODBC logging paused for 10 min (use Options dialog to enable it again).


Where is this option available? What causes this 10min pause?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: Specified driver could not be loaded due to systemerror

Post by KS-Soft Europe »

AntonyP wrote:[2006-06-06 11:26:13] Sys ODBC log error. Error code: 4294967295 (Specified driver could not be loaded due to system error 1114 (MySQL ODBC 3.51 Driver).) Logging initiated by "Free hard disk space" test.
What version of MySQL do you use? Do you use User DSN or System DSN? What version of libmysql.dll do you have?
AntonyP wrote:[2006-06-06 11:18:58] Sys More than 20 consecutive ODBC errors occured.
ODBC logging paused for 10 min (use Options dialog to enable it again).
Where is this option available? What causes this 10min pause?
It is correct behaviour. Quote from manual:
if there are more than 20 consecutive ODBC errors occur, HostMonitor suspends ODBC logging for 10 min. It helps to avoid reduction of performance when SQL Server unavailable.
If you correct problem (e.g. restart SQL Server or correct mistake in SQL Query), you may resume ODBC logging manually using Options dialog (just open dialog and click "Save" button).

Regards,
Max
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Post by AntonyP »

I use SystemDSN, a MUSQL ODBC driver 3.51.12.
I could not find the file libmysql.dll anywhere!
Last edited by AntonyP on Tue Jun 06, 2006 3:41 am, edited 1 time in total.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

AntonyP wrote:MUSQL ODBC driver 3.51.12.
Ok, but I would like to know what MySQL Server version do you use, not ODBC driver. 4? 5?

Regards,
Max
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Post by AntonyP »

MySQL 5.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Are there any errors when you press Test button in Options > Advanced logs dialog? What account do you use to start HostMonitor? Does it have read/execute permissions on myodbc3.dll (located in windows\system32 directory)?

Regards,
Max
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Post by AntonyP »

If i use the test function of the ODBC in HM, i get the same error

Error code: 4294967295 (Specified driver could not be loaded due to system error 1114 (MySQL ODBC 3.51 Driver)

If i test the connection through the ODBC in Control Panel of Windows, i get a normal connection with no errors. HM is started as local admin, which also has full read/write rights to the file you mentioned.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Very strange problem. According to Microsoft:
Error 1114 - A dynamic link library (DLL) initialization routine failed.

That means HostMonitor cannot load one of ODBC related dll's.
Do you use MySQL test or ODBC Query test? Are they works fine?
Any errors in EventLog?

Regards,
Max
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Post by AntonyP »

I restarted the computer and everything is ok now. What can i say..

Thanks for your help anyway :wink:
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Post by AntonyP »

I am having the exact same problem all over. No errors in the event viewer.
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Post by AntonyP »

About the error i reported, i made some changes in the structure of the mysql database and i believe this may solve the problem. I will let you know asap.

I have now come across another problem, it has to do with the messages that HM sends to the mysql database (localization issues to be more specific).

I have setup 2 different mysql databases, one on a windows pc (mysql version 5.0.24a) and one on a linux pc (mysql version 5.0.16), using the same odbc connector (version 3.51.12 which is the latest stable one).

I configured the windows pc to use greek as default language and then set mysql (both win and linux) to use greek language and collations. When this did not work, i used utf-8 settings instead of greek. This didn't work either.

What i am getting so far from HM are strange characters (? or |) instead of greek ones.

I also thought it may be a problem with the oc running HM, so i also installed HM on another pc, also with greek default language, and tried to log in the above mysql databases. Again, the same weird characters.

What is your opinion about this?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What i am getting so far from HM are strange characters (? or |) instead of greek ones.
HostMonitor does not show any Greek characters by itself, it uses English words only. So, question is where HostMonitor gets Greek words? Is it displayed as Reply value of some test? ODBC Query test? HostMonitor shows correct Greek characters as Reply value of the test?

PS Its better to use different topics for different problems

Regards
Alex
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Post by AntonyP »

No, i meant the greek words of the test names or comments.
AntonyP
Posts: 159
Joined: Mon Jan 02, 2006 9:40 am
Location: Athens Greece

Post by AntonyP »

I believe that HM writes data on the log files using PC ANSI. I think the problem with the characters on the mysql would be fixed if HM wrote the data using a more generic character set, like utf-8. Is this possible?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

H'm... HostMonitor uses SQLExecDirect function to record ODBC logs. According to Microsoft ODBC API reference this is the fastest way to submit an SQL statement. Unfortunately I cannot find in the manual any option to change character set :roll:

Regards
Alex
Post Reply