Skip to main content
NetApp Knowledge Base

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

Views:
404
Visibility:
Public
Votes:
0
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)

 

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support