Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] FastCGI Errors in syslog

Featured Replies

Hi,

Recently I have been getting about 1-2 errors a day from nginx in my unraid syslog:

 

Oct 21 09:34:55 AsQ-NAS nginx: 2019/10/21 09:34:55 [error] 5003#5003: *878192 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /admin/api.php?version HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "127.0.0.1"
Oct 21 09:34:55 AsQ-NAS nginx: 2019/10/21 09:34:55 [error] 5003#5003: *878194 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /admin/api.php?version HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost"

I am not sure when this started, but I dont remember seeing these errors before so I dont think it has always done it.

Some googling and searching on this forum has thrown up a few results, but in those always seem to result from a troublesome plugin whereas my issue seems to be more system related. For example in this post the errors quite obviously come from the dynamix sleep plugin:

 

If anybody can help to track down what is causing these nginx errors it would be much appreciated. Thankyou very much.

 

Diagnostics attached.

diagnostics-20191021-0914.zip

Edited by Ascii227

22 minutes ago, Ascii227 said:

Hi,

Recently I have been getting about 1-2 errors a day from nginx in my unraid syslog:

 


Oct 21 09:34:55 AsQ-NAS nginx: 2019/10/21 09:34:55 [error] 5003#5003: *878192 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /admin/api.php?version HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "127.0.0.1"
Oct 21 09:34:55 AsQ-NAS nginx: 2019/10/21 09:34:55 [error] 5003#5003: *878194 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 127.0.0.1, server: , request: "GET /admin/api.php?version HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost"

 

 

I read somewhere that this is caused by the Docker plugin Netdata. I have this error synonymous in the log.

Edited by Zonediver

  • Author
1 minute ago, Zonediver said:

 

I read somewhere that this is caused by the Docker plugin Netdata. I have this error in the logfile too.

Wow that was fast! Thankyou for your response, indeed it seems you are correct. I have the netdata docker installed, and to test I just went and restarted it. Immediately there were those nginx errors entered in the log again. This is reliably reproduceable.

 

I have found somebody else on the forum who has these errors after upgrading to 6.7.2. I cant guarantee thats when I started seeing the errors, but as I said before Im pretty sure they are a recent thing. I am also running 6.7.2, should we raise this as a bug?

 

Does this look like more of a netdata error or unraid?

8 minutes ago, Ascii227 said:

Wow that was fast! Thankyou for your response, indeed it seems you are correct. I have the netdata docker installed, and to test I just went and restarted it. Immediately there were those nginx errors entered in the log again. This is reliably reproduceable.

 

I have found somebody else on the forum who has these errors after upgrading to 6.7.2. I cant guarantee thats when I started seeing the errors, but as I said before Im pretty sure they are a recent thing. I am also running 6.7.2, should we raise this as a bug?

 

Does this look like more of a netdata error or unraid?

👍👍👍 - It's Netdata related, but i dont know why, how or what 😉

Edited by Zonediver

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.