| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| Error when installing 1.9.2 on Windows Server 2003 http://www.steveshipway.org/forum/viewtopic.php?f=22&t=1864 |
Page 1 of 1 |
| Author: | WhiteKnight [ Fri Apr 24, 2009 9:29 pm ] |
| Post subject: | Error when installing 1.9.2 on Windows Server 2003 |
Hi When I install it I get an error pop when the install program displays "Registering files...": "Run Error! Program: C:\WINDDOWS\system32\regsvr32.exe R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information". This displays 4 times. Also when I run the program, the application log in the event viewer displays an error event with the source as NagiosEventLog with a discription of "The description for Event ID ( 0 ) in Source ( NagiosEventLog ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Invalid host name 'nagios'". I assume that this is related to the previous error. Any help would be greatly appreciated. |
|
| Author: | WhiteKnight [ Fri Apr 24, 2009 9:42 pm ] |
| Post subject: | Re: Error when installing 1.9.2 on Windows Server 2003 |
Sorry I missed post when looking for a solution. Trying that solution. |
|
| Author: | WhiteKnight [ Fri Apr 24, 2009 9:51 pm ] |
| Post subject: | Re: Error when installing 1.9.2 on Windows Server 2003 |
I tried the solution, but it didn't work. I have Visual Studio 2005 and 2008 installed, so the 2005 Redistributable Package probably didn't even install, as I probably have more up to date files. |
|
| Author: | stevesh [ Sun Apr 26, 2009 12:35 pm ] |
| Post subject: | Re: Error when installing 1.9.2 on Windows Server 2003 |
This problem is caused by the message format resource DLL not registering correctly, which means that the eventlog viewer cannot correctly display the messages. This happens quite often and I've not worked out why yet. You have 2 options! 1. Ignore it. The only effect of this is to make the eventlog entries generated by the agent a little less userfriendly. All other functionality is unaffected. 2. Try and get the msg.dll to register correctly; this is Windows black magic and as a UNIX person it is a bit difficult for me; Im still looking into why it should be like this, probably I'm missing something that is required to be in a resource DLL when used in Win2k3. Steve |
|
| Author: | WhiteKnight [ Tue Apr 28, 2009 2:07 am ] |
| Post subject: | Re: Error when installing 1.9.2 on Windows Server 2003 |
I tried using to run msgdll.rgs. Unfortunately it requires adding "ro.FinalConstruct();" after the constructor call to initialise the object correctly, as mentioned . For the APPID replaceable parameter I generated a GUID (CA7CA847-DF67-4DB2-914D-AE88748B0517), which I used for the command line 'RegRGS.exe /c msgdll.rgs APPID="{CA7CA847-DF67-4DB2-914D-AE88748B0517}"' for Regrgsvcnet.exe. This created 2 registry entries: [HKEY_CLASSES_ROOT\AppID\msgdll.DLL] "AppID"="{CA7CA847-DF67-4DB2-914D-AE88748B0517}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{CA7CA847-DF67-4DB2-914D-AE88748B0517}] @="msgdll" I've never registered classes before, so I'm not sure what I need to do. |
|
| Author: | WhiteKnight [ Tue Apr 28, 2009 4:10 am ] |
| Post subject: | Re: Error when installing 1.9.2 on Windows Server 2003 |
When I run "regsvr32 msgdll.dll", I get an error pop up: "DllRegisterServer in msgdll.dll failed. Return code was: 0x80070715". According to the VS 2008 error lookup tool, this error is "The specified resource type cannot be found in the image file". Also I saw your code set the APPID to 3FB830BB-98F6-4170-BA51-30E60BC78D1F, so I change the GUID in registry to that, but it didn't seem to make a difference. Is there a reason for not including the project file for the msgdll project? [edit] Also I found 2 other registry entries, so all the registry entries are as follows: [HKEY_CLASSES_ROOT\AppID\{3FB830BB-98F6-4170-BA51-30E60BC78D1F}] @="msgdll" [HKEY_CLASSES_ROOT\AppID\msgdll.DLL] "AppID"="{3FB830BB-98F6-4170-BA51-30E60BC78D1F}" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{3FB830BB-98F6-4170-BA51-30E60BC78D1F}] @="msgdll" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\msgdll.DLL] "AppID"="{3FB830BB-98F6-4170-BA51-30E60BC78D1F}" [/edit] |
|
| Author: | stevesh [ Tue Apr 28, 2009 10:42 am ] |
| Post subject: | Re: Error when installing 1.9.2 on Windows Server 2003 |
I have a strong suspicion that I've made the msgdll.ddl resource DLL incorrectly; it is supposed to register itself with a message pattern for NagiosEventLog but (since my PC was rebuilt here) it no longer works for me either... If you are a window coder I'd really like proper instructions on how to achieve this - the message pattern is just '$1', IE just display the first parameter, nothing else. |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|