phillxnet
(Philip Guyton)
May 3, 2020, 11:08am
2
@quistian Welcome the Rockstor community.
Do you have ssh access, or direct terminal access. As to investigate you are going to need root access. We have seen an as yet unexplained issue that can cause the nginx process to fail and the following issue covers this and it’s fix.
opened 10:13AM - 25 Sep 17 UTC
closed 11:37AM - 16 Dec 23 UTC
Thanks to forum members grizzly and petermc for highlighting this issue. On rare… occasions the /opt/rockstor/etc/nginx/nginx.conf file is empty. This leads to a Web-UI failure and the following error messages in /var/log/nginx/errors.log:
```
2016/05/04 07:41:12 [emerg] 14606#0: no "events" section in configuration
2016/05/04 07:41:13 [emerg] 14636#0: no "events" section in configuration
2016/05/04 07:41:16 [emerg] 14794#0: no "events" section in configuration
2016/05/04 07:41:19 [emerg] 14861#0: no "events" section in configuration
```
The issue author has also seen this occurrence but it's cause has yet to be established:
```
ls -la /opt/rockstor/etc/nginx/nginx.conf
-rw------- 1 root root 0 Nov 5 11:23 /opt/rockstor/etc/nginx/nginx.conf
```
Referenced forum threads (please update on this issues resolution):
grizzly: https://forum.rockstor.com/t/solved-rockstor-webui-no-longer-starts-3-8-13/1444
petermc: https://forum.rockstor.com/t/opt-rockstor-etc-nginx-nginx-conf-empty/3812
Take a look at that issue and see if that matches what you system is experiencing. The issue links back to the following forum thread/post:
@petermc Hello again.
Yes this is a funny one as it’s cause has yet to be established and I’ve seen it myself: though only very rarely. Since it’s come up again I’ve created an issue so it doesn’t get forgotten:
As for a work around I have just done the following that hopefully mimics the build processes creation of this file from it’s template file: /opt/rockstor/conf/nginx.conf.in
cat /opt/rockstor/conf/nginx.conf.in | sed -e 's/\${buildout:directory}/\/opt\/rockstor/g' -e 's/\${init-gu…
And to help further if you could paste the output of the following in the forum we can see what exact version of Rockstor you are running:
yum info rockstor
Hope that helps.
1 Like