Skip to main content
NetApp Knowledge Base

StorageGRID nginx service report an error status after a planned admin node reboot

Views:
722
Visibility:
Public
Votes:
1
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

  • StorageGRID 11.3.x
  • StorageGRID upgrade, or any other maintenance that would require a reboot of the admin node and/or service restart.

Issue

  • After upgrading StorageGRID Admin Node gets stuck by "Error: nginx-gw failed to start" on the starting services stage. It can also occur during a normal reboot of the admin node.

48179b88-1e74-4b01-b3e8-1bf239831c79_1.png

  • "Configuration validation failed" is detected in servermanager.log.

DEBUG -- Command '/usr/sbin/nginx-gw -t' PID 16587
DEBUG -- Command '/usr/sbin/nginx-gw -t' completed with exit code 1
WARNING -- Configuration validation failed.
nginx: [emerg] PEM_read_bio_X509_AUX("/etc/apache2/ssl.crt/custom-server-chain.crt") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
nginx: configuration file /etc/nginx-gw/nginx-gw.conf test failed

WARNING -- Configuration validation failed.
nginx: [emerg] PEM_read_bio_X509_AUX("/etc/apache2/ssl.crt/custom-server-chain.crt") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
nginx: configuration file /etc/nginx-gw/nginx-gw.conf test failed

ERROR -- Configuration not valid. Reverting all changes
ERROR -- Configuration not valid. Reverting all changes

  • The following messages can be seen in nginx-gw/error.log.

[emerg] 1343#1343: BIO_new_file("/etc/apache2/ssl.crt/custom-server-chain.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/apache2/ssl.crt/custom-server-chain.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)
[emerg] 16272#16272: PEM_read_bio_X509_AUX("/etc/apache2/ssl.crt/custom-server-chain.crt") failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.