Kaviarasi created DAEMON-435:
--------------------------------

             Summary: prunsrv crashes when stopped in windows
                 Key: DAEMON-435
                 URL: https://issues.apache.org/jira/browse/DAEMON-435
             Project: Commons Daemon
          Issue Type: Bug
            Reporter: Kaviarasi


When stopping the service, service crashes with Error 1067: The process 
terminated unexpectedly.

 

When enabled the debug mode for prunsrv, following messages are seen

 

[2021-10-29 12:34:53] [debug] ( prunsrv.c:1892) [ 1816] Apache Commons Daemon 
procrun log initialized.

[2021-10-29 12:34:53] [info]  ( prunsrv.c:1896) [ 1816] Apache Commons Daemon 
procrun (1.2.4.0 64-bit) started.

[2021-10-29 12:34:53] [info]  ( prunsrv.c:945 ) [ 1816] Updating service...

[2021-10-29 12:34:53] [warn]  ( service.c:143 ) [ 1816] Failed to obtain 
service description

[2021-10-29 12:34:53] [info]  ( prunsrv.c:1007) [ 1816] Updated service 
'OracleAVAgent'.

[2021-10-29 12:34:53] [info]  ( prunsrv.c:1014) [ 1816] Finished updating 
service 'OracleAVAgent'.

[2021-10-29 12:34:53] [info]  ( prunsrv.c:1980) [ 1816] Apache Commons Daemon 
procrun finished.

[2021-10-29 12:34:53] [debug] ( prunsrv.c:1032) [12208] reportServiceStatusE: 
dwCurrentState = 4, dwWin32ExitCode = 0, dwWaitHint = 0, 
dwServiceSpecificExitCode = 0.

[2021-10-29 12:34:53] [debug] ( prunsrv.c:1032) [12208] reportServiceStatusE: 
dwCurrentState = 3, dwWin32ExitCode = 0, dwWaitHint = 3000, 
dwServiceSpecificExitCode = 0.

[2021-10-29 12:34:53] [info]  ( prunsrv.c:1132) [10076] Stopping service...

[2021-10-29 12:34:53] [debug] ( javajni.c:414 ) [10076] Loaded JVM DLL '', home 
''.

[2021-10-29 12:34:53] [debug] ( javajni.c:419 ) [10076] JNI_GetCreatedJavaVMs...

[2021-10-29 12:34:53] [debug] ( javajni.c:1039) [ 8808] DLL search path set to '

[2021-10-29 12:34:53] [debug] ( javajni.c:1003) [ 8808] argv[0] = STOP

[2021-10-29 12:34:53] [debug] ( javajni.c:1003) [ 8808] argv[1] = -l

[2021-10-29 12:34:53] [debug] ( javajni.c:1003) [ 8808] argv[2] = WARNING

[2021-10-29 12:34:53] [debug] ( javajni.c:1062) [ 8808] Java worker thread 
started for oracle/av/platform/agent/AgentController:main

[2021-10-29 12:34:53] [debug] ( javajni.c:1068) [ 8808] JNI calling static void 
method oracle/av/platform/agent/AgentController:main

[2021-10-29 12:34:54] [debug] ( javajni.c:566 ) [12220] Exit hook with exit 
code 0



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to