So I just started commenting out shit that didn't work. 

root@cnmaestro:/home/cambium# nano /etc/nginx/conf.d/default.conf 
root@cnmaestro:/home/cambium# /etc/init.d/nginx 
nginx nginx-debug 
root@cnmaestro:/home/cambium# /etc/init.d/nginx start 
nginx: [emerg] unknown directive "track_uploads" in 
/etc/nginx/conf.d/default.conf:174 
root@cnmaestro:/home/cambium# nano /etc/nginx/conf.d/default.conf 
root@cnmaestro:/home/cambium# /etc/init.d/nginx start 
nginx: [emerg] unknown directive "track_uploads" in 
/etc/nginx/conf.d/default.conf:200 
root@cnmaestro:/home/cambium# nano /etc/nginx/conf.d/default.conf 
root@cnmaestro:/home/cambium# /etc/init.d/nginx start 
nginx: [emerg] unknown directive "upload_progress_json_output" in 
/etc/nginx/conf.d/default.conf:270 
root@cnmaestro:/home/cambium# nano /etc/nginx/conf.d/default.conf 
root@cnmaestro:/home/cambium# /etc/init.d/nginx start 
nginx: [emerg] unknown directive "report_uploads" in 
/etc/nginx/conf.d/default.conf:272 
root@cnmaestro:/home/cambium# nano /etc/nginx/conf.d/default.conf 
root@cnmaestro:/home/cambium# /etc/init.d/nginx start 
root@cnmaestro:/home/cambium# 


Finally works. :-) 




----- 
Mike Hammett 
Intelligent Computing Solutions 

Midwest Internet Exchange 

The Brothers WISP 




----- Original Message -----

From: "Mike Hammett" <af...@ics-il.net> 
To: af@afmug.com 
Sent: Sunday, September 18, 2016 8:56:22 PM 
Subject: [AFMUG] cnMaestro nginx failure 


root@cnmaestro:/home/cambium# tail /var/log/syslog 
Sep 19 01:51:22 cnmaestro monit[845]: 'nginx' trying to restart 
Sep 19 01:51:22 cnmaestro monit[845]: 'nginx' start: /etc/init.d/nginx 
Sep 19 01:51:53 cnmaestro monit[845]: 'nginx' failed to start 
Sep 19 01:52:53 cnmaestro monit[845]: 'nginx' process is not running 
Sep 19 01:52:53 cnmaestro monit[845]: 'nginx' trying to restart 
Sep 19 01:52:53 cnmaestro monit[845]: 'nginx' start: /etc/init.d/nginx 
Sep 19 01:53:23 cnmaestro monit[845]: 'nginx' failed to start 
Sep 19 01:54:23 cnmaestro monit[845]: 'nginx' process is not running 
Sep 19 01:54:23 cnmaestro monit[845]: 'nginx' trying to restart 
Sep 19 01:54:23 cnmaestro monit[845]: 'nginx' start: /etc/init.d/nginx 


root@cnmaestro:/home/cambium# tail /var/log/nginx/error.log 
2016/09/19 01:42:18 [emerg] 3895#3895: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 
2016/09/19 01:43:49 [emerg] 4937#4937: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 
2016/09/19 01:45:20 [emerg] 5977#5977: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 
2016/09/19 01:46:50 [emerg] 7057#7057: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 
2016/09/19 01:47:02 [emerg] 7204#7204: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 
2016/09/19 01:48:21 [emerg] 8111#8111: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 
2016/09/19 01:49:51 [emerg] 9131#9131: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 
2016/09/19 01:51:22 [emerg] 10258#10258: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 
2016/09/19 01:52:53 [emerg] 11268#11268: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 
2016/09/19 01:54:23 [emerg] 12383#12383: unknown directive "upload_progress" in 
/etc/nginx/conf.d/default.conf:56 


# reserve 1MB under the name 'uploads' to track uploads 
upload_progress uploads 1m; 



Thoughts? 




----- 
Mike Hammett 
Intelligent Computing Solutions 

Midwest Internet Exchange 

The Brothers WISP 





Reply via email to