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] 6.12.8 - Syslog Flooded with FastCGI sent in stderr: "Primary script unknown"

Featured Replies

Hi again,

this morning I had issues with upgrading from 6.12.6 to 6.12.8, which got resolved.

 

I took a peak at my syslog just now, and it is flooded with hundreds of the following, every 5 seconds:

 

Quote

Feb 25 20:31:26 SelaNAS nginx: 2024/02/25 20:31:26 [error] 24302#24302: *190202 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.69, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas", referrer: "http://selanas/Main"

 

I don't even have dynamix.my.servers listed in Plugins.

 

How do I uninstall the plugin? I don't use it.

 

Any idea?

 

Thanks!

Edited by shpitz461

Solved by JorgeB

  • Author

There was an old thread from 2019 which turned out to be netdata related, doesn't seem to be the case for me.

  • Author

Anyone?

  • Community Expert

Try booting is safe mode, also which computer is this?

On 2/26/2024 at 1:42 AM, shpitz461 said:

client: 192.168.1.69

 

  • Author

Thanks, I'll try later in the day.

.69 is my windows 11 VM, from which I manage Unraid most of the time.

  • Author

I closed the page on the VM and opened it in my laptop, now the same error is logged on the laptop's IP:

 

Quote

Feb 27 10:57:00 SelaNAS nginx: 2024/02/27 10:57:00 [error] 14864#14864: *1399951 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.10, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas:8443", referrer: "https://selanas:8443/Main"
Feb 27 10:57:05 SelaNAS nginx: 2024/02/27 10:57:05 [error] 14864#14864: *1399951 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.10, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas:8443", referrer: "https://selanas:8443/Main"

Every 5 seconds.

  • Author

I have this plugin as a folder on the USB:

image.thumb.png.6160243a196d1f392370e4c4d722e659.png

There's no corresponding .plg file for it.

Can i just delete the folder to make the issue go away?

Thanks

  • Author

if I don't have any pages open, the error stops.

And I tried MAIN and VMs tabs, both produce the nginx errors in the log:

Quote

Feb 27 10:56:03 SelaNAS nginx: 2024/02/27 10:56:03 [error] 14864#14864: *1382995 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.69, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas.local:8443", referrer: "https://selanas.local:8443/Main"
Feb 27 10:56:09 SelaNAS nginx: 2024/02/27 10:56:09 [error] 14864#14864: *1382995 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.69, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas.local:8443", referrer: "https://selanas.local:8443/Main"
Feb 27 10:56:15 SelaNAS nginx: 2024/02/27 10:56:15 [error] 14864#14864: *1382995 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.69, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas.local:8443", referrer: "https://selanas.local:8443/Main"
Feb 27 10:56:21 SelaNAS nginx: 2024/02/27 10:56:21 [error] 14864#14864: *1382995 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.69, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas.local:8443", referrer: "https://selanas.local:8443/Main"
Feb 27 10:56:27 SelaNAS nginx: 2024/02/27 10:56:27 [error] 14864#14864: *1382995 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.69, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas.local:8443", referrer: "https://selanas.local:8443/Main"
Feb 27 10:56:32 SelaNAS nginx: 2024/02/27 10:56:32 [error] 14864#14864: *1399861 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.69, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas.local:8443", referrer: "https://selanas.local:8443/Main"
Feb 27 10:56:44 SelaNAS nginx: 2024/02/27 10:56:44 [error] 14864#14864: *1399951 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.10, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas:8443", referrer: "https://selanas:8443/Main"
Feb 27 10:56:50 SelaNAS nginx: 2024/02/27 10:56:50 [error] 14864#14864: *1399951 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.10, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas:8443", referrer: "https://selanas:8443/Main"
Feb 27 10:56:55 SelaNAS nginx: 2024/02/27 10:56:55 [error] 14864#14864: *1399951 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.10, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas:8443", referrer: "https://selanas:8443/Main"
Feb 27 10:57:00 SelaNAS nginx: 2024/02/27 10:57:00 [error] 14864#14864: *1399951 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.10, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas:8443", referrer: "https://selanas:8443/Main"
Feb 27 10:57:05 SelaNAS nginx: 2024/02/27 10:57:05 [error] 14864#14864: *1399951 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.10, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas:8443", referrer: "https://selanas:8443/Main"
Feb 27 10:57:10 SelaNAS nginx: 2024/02/27 10:57:10 [error] 14864#14864: *1399951 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.1.10, server: , request: "POST /plugins/dynamix.my.servers/include/unraid-api.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "selanas:8443", referrer: "https://selanas:8443/Main"
Feb 27 10:58:45 SelaNAS rpc.mountd[23532]: refused mount request from 192.168.1.69 for /mnt/user/camera (/): not exported
Feb 27 10:58:45 SelaNAS rpc.mountd[23532]: refused mount request from 192.168.1.69 for /mnt/user/pbx (/): not exported
Feb 27 10:59:42 SelaNAS sshd[5441]: Connection from 192.168.1.69 port 40360 on 192.168.1.3 port 61001 rdomain ""
Feb 27 10:59:44 SelaNAS sshd[5441]: Postponed keyboard-interactive for root from 192.168.1.69 port 40360 ssh2 [preauth]
Feb 27 10:59:45 SelaNAS sshd[5441]: Postponed keyboard-interactive/pam for root from 192.168.1.69 port 40360 ssh2 [preauth]
Feb 27 10:59:45 SelaNAS sshd[5441]: Accepted keyboard-interactive/pam for root from 192.168.1.69 port 40360 ssh2
Feb 27 10:59:45 SelaNAS sshd[5441]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)
Feb 27 10:59:45 SelaNAS sshd[5441]: pam_elogind(sshd:session): Failed to connect to system bus: No such file or directory
Feb 27 10:59:45 SelaNAS sshd[5441]: Starting session: subsystem 'sftp' for root from 192.168.1.69 port 40360 id 0

 

  • Community Expert
  • Solution
22 minutes ago, shpitz461 said:

Can i just delete the folder to make the issue go away?

You can delete it, not sure it will help, but it won't hurt for sure.

  • Author

Thanks @JorgeB, I deleted the plugin folder and rebooted, no more errors.

  • shpitz461 changed the title to [SOLVED] 6.12.8 - Syslog Flooded with FastCGI sent in stderr: "Primary script unknown"

@shpitz461 Thanks. I had the same error and your thread helped me to fix it.

  • Author

You bet, it's probably old remnants from much older versions.

 

I wonder if there's a tool that can scan the USB drive and produce a list of 'suspect' files...

  • 2 weeks later...

I also have this issue after updating to 6.12.8


I have deleted the folder, but i am adding a drive to a pool atm, so i cannot reboot and see if its fixed until that's done. 

I hope this gets escalated and fixed quickly as it seems directly related to the 6.12.8 update  

  • 11 months later...
On 3/10/2024 at 5:40 PM, miicar said:

I also have this issue after updating to 6.12.8


I have deleted the folder, but i am adding a drive to a pool atm, so i cannot reboot and see if its fixed until that's done. 

I hope this gets escalated and fixed quickly as it seems directly related to the 6.12.8 update  

 

Did you ever solve this issue? 

  • 1 month later...
On 2/18/2025 at 1:48 PM, thewagdy said:

 

Did you ever solve this issue? 

Sort of.  I don't get massive storms as much, but it still happens from time to time.  I think with the latest updates, its happening allot less.  About to switch my home server over to 7.0.1, i hope that will have everything solved.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.