Error message
MpJobsch:ERROR :7300:func=jobschmsgevent - main:RegisterEventSource() 5:Access denied. |
Applicable versions and levels
Windows versions: V5.0L10 or later
Action 1
Points to check
Does one of the following apply?
The user account that can execute the jobschmsgevent command is not registered in the host that generated the message event
The effective user of the jobschmsgevent command is invalid (the account is invalid) in the host that generated the message event
The effective user of the jobschmsgevent command is locked out in the host that generated the message event
The password of the effective user of the jobschmsgevent command has expired in the host that generated the message event
Cause
When a host name is specified using the jobschmsgevent command in Windows versions, the mechanism provided by the Windows operating system writes events directly to the event log on the other host.
If the user permission for the jobschmsgevent command are insufficient to access the event log on the host that generated the message event, a message indicating an execution error of the API used in the jobschmsgevent command internally will be output, the write operation to the event log will fail, and as a result the message event will not be notified to the other host.
Action method
If this error was output, it means that the user account that executed the jobschmsgevent command could not pass the Windows authentication in the other host, therefore take one of the following actions:
Change the user account of the command executor so that it will be authenticated on the other host. For example, when executing the command as a job of Systemwalker Operation Manager, ensure that the Systemwalker MpMjes service startup account can pass the authentication on the host that generates message events.
Do not execute the job by specifying the host name in the jobschmsgevent command. Execute the job as a network job instead.
Action 2
Points to check
Was the host that generated the message event Windows Server 2003 or later, and did the effective user belong to a group other than the Administrators group?
Cause
In Windows Server 2003 or later, a security audit function related to the event log is installed.
For this reason, to generate a message event, the effective user must belong to the Administrators group.
Additionally, to generate message events on another host, it is recommended that a network job be used to generate the message event on the request destination host.
Action method
On the host that generated the message event, ensure that the effective user of the jobschmsgevent command belongs to the Administrators group.
Remarks
The effective user of the jobschmsgevent command is as follows:
If the command was started from Systemwalker Operation Manager, refer to "Q & A Relating to Job Execution Control" - "Q: What Rights are Required for Executing Jobs?" in the Q & A Guide.
If the command was started from the command prompt, the user will be the user who logged into the desktop, or the user specified in Run as of the command prompt.