Skip to main content
NetApp Knowledge Base

StorageGRID VM Gateway node service nginx-gw in error state

Views:
335
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:
11/7/2024, 11:01:17 AM

Applies to

StorageGRID OS 11.6.x

Issue

Unable to start nginx-gw service due to which VM gateway node appears offline.

root@<Node>:~ # service
nginx-gw status
nginx-gw in error state.
root@<Node>:~ # service nginx-gw start
starting nginx-gw ... failed to start:
entered error state.

== Servermanager.log ==

[2022-06-13T02:12:05.578] INFO -- Moving APIC certificates file "/tmp/apic.json"
[2022-06-13T02:12:05.578] INFO -- Moving APIC certificates file "/tmp/apic.json"
[2022-06-13T02:12:05.578] INFO -- Overwriting existing file "/var/local/tmp/apic.json"
[2022-06-13T02:12:05.578] INFO -- Overwriting existing file "/var/local/tmp/apic.json"
[2022-06-13T02:12:05.578] ERROR -- Failed to render config templates
Traceback (most recent call last):
  File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 181, in <module>
    do_sync_files(args.sync_files)
  File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 124, in do_sync_files
    with open(dest_path, "w") as fd:
IOError: [Errno 13] Permission denied: '/var/local/tmp/apic.json'
[2022-06-13T02:12:05.578] ERROR -- Failed to render config templates
Traceback (most recent call last):
  File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 181, in <module>
    do_sync_files(args.sync_files)
  File "/usr/local/nginx-gw/generate_nginx_

[2022-06-13T02:12:05.578] ERROR -- Failed to render config templates
Traceback (most recent call last):
  File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 181, in <module>
    do_sync_files(args.sync_files)
  File "/usr/local/nginx-gw/generate_nginx_gw_configs.py", line 124, in do_sync_files
    with open(dest_path, "w") as fd:
IOError: [Errno 13] Permission denied: '/var/local/tmp/apic.json'
2022-06-13 02:12:05 +0000 | nginx-gw | nginx-gw ended
2022-06-13 02:12:08 +0000 | nginx-gw | Too many failed attempts, entering error state
2022-06-13 02:12:08 +0000 | nginx-gw | nginx-gw ended
2022-06-13 02:12:10 +0000 | nginx-gw | unknown state found by init.d status: ok: down: nginx-g w: 0s, normally up

 

 

 

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.