Scripts not working

Someone else trouble that powershell script not work anymore?

This new update destroys more than its helped.

I find in the log this entry:

[ 95|ARM-SERVER |pnJob |5276.1| 1|DOMAIN\ARM-USER |SolarWinds.ARM.Grpc.GrpcCertificateStore|240731| 5:41:54.220|Error ] GrpcCertificateStore.LoadCertificates(IApplicationPaths appPaths): Unable to load certificate file 'C:\ProgramData\protected-networks.com\8MAN\cfg\security\server\ARM-SERVER.Domain.de_client-cert.pfx'! CryptographicException Das System kann die angegebene Datei nicht finden.

[ 96|ARM-SERVER|pnJob |5276.1| 1|DOMAIN\ARM-USER |SolarWinds.ARM.Grpc.GrpcCertificateStore|240731| 5:41:54.223|Info ] GrpcCertificateStore.LoadCertificates(IApplicationPaths appPaths): Check the read permission of file 'C:\ProgramData\protected-networks.com\8MAN\cfg\security\server\ARM-SERVER.Domain.de_client-cert.pfx' for account 'DOMAIN\ARM-USER '.


[ 97|ARM-SERVER |pnJob |5276.1| 1|DOMAIN\ARM-USER |SolarWinds.ARM.Grpc.GrpcCertificateStore|240731| 5:41:54.237|Error ] GrpcCertificateStore.LoadCertificates(IApplicationPaths appPaths): Unable to load certificate file 'C:\ProgramData\protected-networks.com\8MAN\cfg\security\server\WebAPI_client-cert.pfx'! CryptographicException Das System kann die angegebene Datei nicht finden.

[ 98|ARM-SERVER |pnJob |5276.1| 1|DOMAIN\ARM-USER |SolarWinds.ARM.Grpc.GrpcCertificateStore|240731| 5:41:54.238|Info ] GrpcCertificateStore.LoadCertificates(IApplicationPaths appPaths): Check the read permission of file 'C:\ProgramData\protected-networks.com\8MAN\cfg\security\server\WebAPI_client-cert.pfx' for account 'DOMAIN\ARM-USER '.

"Das System kann die angegebene Datei nicht finden." means File not found

But the Files are there. The Arm User have Permission on it.

Later in the Log.

[ 501|ARM-SERVER |pnJob |5276.1| 1|DOMAIN\ARM-USER |SolarWinds.ARM.Grpc.GrpcClientManager |240731| 5:41:54.812|Debug ] GrpcClientManager.createChannel(Uri address): Got server certificate from grpc://ARM-SERVER:55555/

[ 502|ARM-SERVER |pnJob |5276.1| 1|DOMAIN\ARM-USER |SolarWinds.ARM.Grpc.GrpcClientManager |240731| 5:41:54.815|Warning ] GrpcClientManager.createChannel(Uri address): ARM Client certificate not found for grpc://ARM-SERVER:55555/, this will cause issues when communication to ARM.

[ 503|ARM-SERVER |pnJob |5276.1| 1|DOMAIN\ARM-USER |SolarWinds.ARM.Grpc.GrpcClientManager |240731| 5:41:54.925|Debug ] GrpcClientManager.createChannel(Uri address): New gRPC channel created for grpc://ARM-SERVER:55555/

Now the exception.

[ 504|ARM-SERVER |pnJob |5276.1| 1|DOMAIN\ARM-USER |SolarWinds.ARM.Remo…cSubscriptionChannel|240731| 5:41:55.061|Error ] GrpcRemotingChannelCreator.createGlobalServerChannelInternal(Int32 port, Boolean selectServerPort): System.Runtime.Remoting.RemotingException: Initialization of gRPC stream failed by status 'Status(StatusCode="Unavailable", Detail="", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1722404514.978000000","description":"Error received from peer ipv6:[fe80::7e36:18b:c79e:e332%258]:55555","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"","grpc_status":14}")'! ---> Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1722404514.978000000","description":"Error received from peer ipv6:[fe80::7e36:18b:c79e:e332%258]:55555","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"","grpc_status":14}")
--BEGIN-OF-EXCEPTION------------------------------------------------------------
System.Runtime.Remoting.RemotingException: Initialization of gRPC stream failed by status 'Status(StatusCode="Unavailable", Detail="", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1722404514.978000000","description":"Error received from peer ipv6:[fe80::7e36:18b:c79e:e332%258]:55555","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"","grpc_status":14}")'! ---> Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1722404514.978000000","description":"Error received from peer ipv6:[fe80::7e36:18b:c79e:e332%258]:55555","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"","grpc_status":14}")
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei SolarWinds.ARM.Remoting.GrpcSubscriptionChannel.<sendToServer>d__54.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei SolarWinds.ARM.Remoting.GrpcSubscriptionChannel.<initStream>d__55.MoveNext()
--- Ende der internen Ausnahmestapelüberwachung ---
bei SolarWinds.ARM.Remoting.GrpcSubscriptionChannel.<initStream>d__55.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei SolarWinds.ARM.Remoting.GrpcSubscriptionChannel.<startListening>d__52.MoveNext()
--END-OF-EXCEPTION--------------------------------------------------------------
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei SolarWinds.ARM.Remoting.GrpcSubscriptionChannel.<startListening>d__52.MoveNext()
--END-OF-EXCEPTION--------------------------------------------------------------

the next exception

[ 507|ARM-SERVER |pnJob |5276.1| 1|DOMAIN\ARM-USER |pn.framework.ProgramSystemServiceManager|240731| 5:41:55.062|Error ] SystemServiceManager.EnterSystemRunLevel(SystemRunLevel systemRunLevel): Error while entering runlevel Startup in service pn.jobs.JobProgram: System.Runtime.Remoting.RemotingException: Initialization of gRPC stream failed by status 'Status(StatusCode="Unavailable", Detail="", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1722404514.978000000","description":"Error received from peer ipv6:[fe80::7e36:18b:c79e:e332%258]:55555","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"","grpc_status":14}")'! ---> Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1722404514.978000000","description":"Error received from peer ipv6:[fe80::7e36:18b:c79e:e332%258]:55555","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"","grpc_status":14}")
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei SolarWinds.ARM.Remoting.GrpcSubscriptionChannel.<sendToServer>d__54.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei SolarWinds.ARM.Remoting.GrpcSubscriptionChannel.<initStream>d__55.MoveNext()
--- Ende der internen Ausnahmestapelüberwachung ---
bei SolarWinds.ARM.Remoting.GrpcSubscriptionChannel.StartListening(Object data)
bei SolarWinds.ARM.Remoting.GrpcRemotingChannelCreator.createGlobalServerChannelInternal(Int32 port, Boolean selectServerPort)
bei pn.framework.tasks.TaskProgram`5.Startup()
bei pn.framework.SystemServiceManager.EnterSystemRunLevel(SystemRunLevel systemRunLevel)

Its try ipv6? and this gRPC is the new certificate garbage. This error looks like the certificate is not available.

In the Webinterface i have the Server 2 Times.

Anyone a Idea? I open already a Ticket.

My template Work find without script. I already create a simple script but it dont work ether. I guess this certificates make it very worse.

Parents
  • Today I was able to implement a workaround that was provided by support. With that you don't have to login with the service user manually.

    The other workaround involves setting up a Windows task that enables the PnJob to run with the account configured for the scan, regardless of whether the user is logged in or not.

    How to configure the Windows Task Scheduler to start the PnJob 

    1. Open Task Scheduler: 
      • Press Win + R, type taskschd.msc, and press Enter. 
    2. Create a New Task: 
      • In the Actions pane on the right, click "Create Task". 
    3. General Tab: 
      • Provide a name for the task. 
      • Add the account used in the Exchange Scan (for Exchange issues) or the service account for script issues.
      • Under Security options, select "Run whether user is logged on or not". 
      • Check "Run with highest privileges" if the job requires elevated permissions. 
    4. Triggers Tab: 
      • Click "New". 
      • Select "On an event" from the "Begin the task" dropdown. 
      • In the Log select 8MAN 
      • Click OK. 
    5. Actions Tab: 
      • Click "New". 
      • For the "Action" dropdown, select "Start a program". 
      • Click "Browse" and select: pnJob.exe located in C:\Program Files\SolarWinds\ARM\bin 
      • Click OK. 
    6. Conditions Tab: 
      • Uncheck "Start the task only if the computer is on AC power" if it's not relevant. 
    7. Settings Tab: 
      • Ensure settings like "Allow task to be run on demand" are checked. 
    8. Save the Task: 
      • Click OK, then provide your credentials when prompted.
Reply
  • Today I was able to implement a workaround that was provided by support. With that you don't have to login with the service user manually.

    The other workaround involves setting up a Windows task that enables the PnJob to run with the account configured for the scan, regardless of whether the user is logged in or not.

    How to configure the Windows Task Scheduler to start the PnJob 

    1. Open Task Scheduler: 
      • Press Win + R, type taskschd.msc, and press Enter. 
    2. Create a New Task: 
      • In the Actions pane on the right, click "Create Task". 
    3. General Tab: 
      • Provide a name for the task. 
      • Add the account used in the Exchange Scan (for Exchange issues) or the service account for script issues.
      • Under Security options, select "Run whether user is logged on or not". 
      • Check "Run with highest privileges" if the job requires elevated permissions. 
    4. Triggers Tab: 
      • Click "New". 
      • Select "On an event" from the "Begin the task" dropdown. 
      • In the Log select 8MAN 
      • Click OK. 
    5. Actions Tab: 
      • Click "New". 
      • For the "Action" dropdown, select "Start a program". 
      • Click "Browse" and select: pnJob.exe located in C:\Program Files\SolarWinds\ARM\bin 
      • Click OK. 
    6. Conditions Tab: 
      • Uncheck "Start the task only if the computer is on AC power" if it's not relevant. 
    7. Settings Tab: 
      • Ensure settings like "Allow task to be run on demand" are checked. 
    8. Save the Task: 
      • Click OK, then provide your credentials when prompted.
Children
No Data