[94] Invalid use of Null
Hi again,
I've got a strange problem with the ServersCheck Software.
Some of the SERVICES checks return the Error "[94] Invalid use of Null" but the same tests work on an other server without problems. The server which return these errors is our Exchange 2007 Server.
What can I do to get theses checks working on our server?
Kind regards
I've got a strange problem with the ServersCheck Software.
Some of the SERVICES checks return the Error "[94] Invalid use of Null" but the same tests work on an other server without problems. The server which return these errors is our Exchange 2007 Server.
What can I do to get theses checks working on our server?
Kind regards
This discussion has been closed.
Comments
2) In the command prompt, navigate to the agents subdirectory of the main ServersCheck directory
3) Save the following file in that agents subdirectory
http://files.serverscheck.net/conf/services.conf
4) Open it with notepad and modify it to your settings
5) Launch following:
service_check services
It should create a file called services.log
Reply with the output of that log file
I've got a question before I can reply the output.
In the services.conf under the agents subdirectory which setting I have to use?
1. IP Adress of the remote machine on which the check fails or the IP of the ServersCheck Appliance?
2. Should it be the same Logon-Credentials like the check that fails?
3. What does A:WINS8 means? What I have to put in there when I'm using Windows Server 2003?
Kind regards
- Same credentials like the failing
- A: indicates a service and behind the short service name you would like to monitor. For example for the World Wide Web Server this would be W3SVC
I've tested now the monitoring of the service "DHCPServer" on two different machines.
Following entrys have been made in the services.conf.
Machine-Name
Domain Admin
Password
s:DHCPServer
On the machine where the check fails I got the output
Error : [94] Invalid use of Null
On the other machine where the same service is checked I got the output: OK
If I use "A:DHCPServer" I get on both machines the Error: "Error : [-2147217394] Invalid namespace "
The problem still exists, that on one machine the check is working and on an other machine the same check fails.
Kind regards
The debug build can be downloaded here:
http://files.serverscheck.net/debug/service_check.exe
Run it as follows:
service_check services.conf /DEBUG > debug.log
This should create a file called debug.log - kindly reply with its output
service_check services.conf > debug.log
(so without the /DEBUG switch)
Error : [-2147220983] Unable to find configuration file.
It seems that there is a problem with your parameters.
service_check services > debug.log
Error : [-2147220983] Unable to find configuration file.
Check:services
The content of the "services.log" wich has been created too is:
Error : [-2147220983] Unable to find configuration file.
It seems that there is still a problem with the parameters.
Here is the output of the debug.log
4/9/2010 12:46:36 PM Retrieving remote wmi object.
Check:services
4/9/2010 12:46:36 PM Enumerating remote services.
Check:services
Error : [94] Invalid use of Null
Check:services
Here is the output of the services.log
Error : [94] Invalid use of Null
Hope it helps to solve the problem.
Also new in release 8.2.0 are the BlackBerry check types