Solved

SSL is not enabled for the admin port of HttpServer2

  • 11 May 2023
  • 8 replies
  • 690 views

Badge +5

Hi,

Recently, we are configuring  Horizontal cluster for ifs app.MainServer 2 and IntServer 2 setup successfully using details of ifs document. But when going to create HttpServer2 in admin console it gives below error .

when checked log file below error found: 

 

<2023-05-11 14:40:23> <SEVERE> <OHS-0> <Failed to start the server HttpServer2>
<2023-05-11 14:46:03> <INFO> <OHS-4018> <Starting server HttpServer2>
<2023-05-11 14:46:03> <WARNING> <OHS-4034> <SSL is not enabled for the admin port of HttpServer2. Thus, the connection between NodeManager and the admin port of HttpServer2 is not secure. SSL must be enabled for this connection. For more information on how to enable SSL for this connection, refer to OHS documentation>
<2023-05-11 14:46:03> <INFO> <OHS-0> <Running C:\IFS\Appsrv02\mw_home\mws\ohs\bin\launch.exe C:\IFS\Appsrv02\mw_home\mws\ohs\bin\httpd.exe -DOHS_MPM_WINNT -d C:/IFS/Appsrv02/wls_domain/DOLTST01/config/fmwconfig/components/OHS/instances/HttpServer2 -f C:\IFS\Appsrv02\wls_domain\DOLTST01\config\fmwconfig\components\OHS\instances\HttpServer2\httpd.conf>
<2023-05-11 14:46:04> <SEVERE> <OHS-0> <C:\IFS\Appsrv02\mw_home\mws\ohs\bin\launch.exe C:\IFS\Appsrv02\mw_home\mws\ohs\bin\httpd.exe -DOHS_MPM_WINNT -d C:/IFS/Appsrv02/wls_domain/DOLTST01/config/fmwconfig/components/OHS/instances/HttpServer2 -f C:\IFS\Appsrv02\wls_domain\DOLTST01\config\fmwconfig\components\OHS\instances\HttpServer2\httpd.conf: exit status = -1073741515>
<2023-05-11 14:46:04> <INFO> <OHS-4005> <Check the instance log file for more information: C:\IFS\Appsrv02\wls_domain\DOLTST01\servers\HttpServer2\logs\HttpServer2.log>
<2023-05-11 14:46:04> <SEVERE> <OHS-0> <Failed to start the server HttpServer2>
 

but we imported security certificate for child server already.

 

what can be a reason for this? Please  Kindly give your thoughts

 

BR 

Supuni

icon

Best answer by Martin Larsson 13 May 2023, 11:56

View original

8 replies

Userlevel 2
Badge +5

Hi!

exit status = -1073741515

is maybe problem with Visual C ++

[from oracle support pages]

For 12.2.1.3 OHS on Windows, it is required to have both 64bit versions of Microsoft Visual C++ 2010 Redistributable and Microsoft Visual C++ 2012 Redistributable.

MSVCR110.dll comes with Visual Studio C++ 2012 and MSVCR100.dll comes with Visual Studio C++ 2010.

In order to start 12.2.1.3 OHS, msvcr100.dll and msvcr110.dll both are required.

1) Install 64bit versions of Microsoft Visual C++ 2010 Redistributable along with Microsoft Visual C++ 2012 Redistributable.

2) Go to C:\Windows\System32 directory and confirm if "msvcr100.dll" and "msvcr110.dll" are present.

3) Now try to start OHS.

Regards
/Martin

Badge +1

Hi,
installing Microsoft Visual C++ 2015 -2019 x64 runtime in Windows server 2016 did the trick for us
Br,
/Eugen

Badge +5

Hi @Martin Larsson  and @MCSeugenc ,

 

we able to setup httpserver2 ,but after setup load balancer its not working for new URL we setup when reconfigured. I  can see below error logs in httpserver2

[2023-05-20T14:38:59.6482+02:00] [OHS] [NOTIFICATION:16] [AH00354] [mpm_winnt] [host_id: DS-IFSApp-Test2] [host_addr: 192.168.1.172] [pid: 8928] [tid: 1240] [user: SYSTEM] [VirtualHost: main] AH00354: Child: Starting 600 worker threads.
[2023-05-20T16:16:41.8982+02:00] [OHS] [ERROR:32] [OH99999] [ossl] [client_id: 192.168.1.174] [host_id: DS-IFSApp-Test2] [host_addr: 192.168.1.172] [pid: 8928] [tid: 6344] [user: SYSTEM] [VirtualHost: xxxx:0] OHS:2079 Client SSL handshake error, nzos_Handshake returned 43126(server xxxxxxx:443)
[2023-05-20T16:16:41.8982+02:00] [OHS] [ERROR:32] [OH99999] [ossl] [host_id: DS-IFSApp-Test2] [host_addr: 192.168.1.172] [pid: 8928] [tid: 6344] [user: SYSTEM] [VirtualHost: xxxxxx:0] OHS:2171 NZ Library Error: Unknown error

 

We reconfigured it using below two ways. but error is same as mentioned above.

Do You guys know  what can be a reason for this? Kindly give your comments

 

BR

Supuni

Badge +14

Hi @sara19 , Would it be possible to know whether you managed to solve this OHS issues, please? 

Thank you!

Badge +5

Hi @MitDenukN ,

 

We installed  64bit versions of Microsoft Visual C++ 2010 Redistributable along with Microsoft Visual C++ 2012 Redistributable,then its work

 

Thankyou

Sara

Badge +14

Hi @sara19 , I appreciate you sharing the solution.

Userlevel 2
Badge +5

[since the problem seems to be solved, please ignore this post]

Hi! For both these options, the loadbalancer certificate will be downloaded and placed in the java truststore, so you need to run the cluster update procedure. Just wanted to check whether this has been done. For the SSL proxy option the same OHS certificate must work for both nodes, so it needs to be either a * certificate or have alternative names in it. Now, I’m assuming you have two nodes.

Regards
/Martin

Userlevel 4
Badge +9

we had a similar issue - described in MWS http server is not running after IFS10 UPD21 on Windows Server 2019 | IFS Community

@MCSeugenc hinted to the solution

Hi,
installing Microsoft Visual C++ 2015 -2019 x64 runtime in Windows server 2016 did the trick for us
Br,
/Eugen

 

 

Reply