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