StorageGRID admin node nginx-gw service in error state
Applies to
StorageGRID 11.3.0.4 or below
Issue
- While reviewing
servermanager.log
file on the admin node found:
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)