AH01071: Got error 'Primary script unknown\n'

PabloC

Well-Known Member
Mar 24, 2015
60
3
58
Mar del Plata - Argentina
cPanel Access Level
Website Owner
Hello,

I've these errors in my Apache log

[Sat Oct 05 17:05:05.220094 2019] [proxy_fcgi:error] [pid 8034:tid 47199407486720] [client 66.249.64.147:42456] AH01071: Got error 'Primary script unknown\n'
[Sat Oct 05 17:33:43.955785 2019] [proxy_fcgi:error] [pid 8035:tid 47199497000704] [client 52.192.73.251:28947] AH01071: Got error 'Primary script unknown\n'

Could anyone guide me about how to solve this?

Thanks!
 

httpdocs

Well-Known Member
Mar 9, 2018
59
9
83
United States
cPanel Access Level
Root Administrator
Hello,

I've these errors in my Apache log

[Sat Oct 05 17:05:05.220094 2019] [proxy_fcgi:error] [pid 8034:tid 47199407486720] [client 66.249.64.147:42456] AH01071: Got error 'Primary script unknown\n'
[Sat Oct 05 17:33:43.955785 2019] [proxy_fcgi:error] [pid 8035:tid 47199497000704] [client 52.192.73.251:28947] AH01071: Got error 'Primary script unknown\n'

Could anyone guide me about how to solve this?

Thanks!
Post server details to help guide you better.
Apache version, C-panel and others
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,273
1,282
313
Houston
Hello,

What (if anything) is noted in the PHP-FPM error logs? You can find them per PHP version at /opt/cpanel/ea-phpXX/root/usr/var/log/php-fpm/error.log

Do you have any rewrite rules added in the .htaccess for the sites you're seeing this occur with (if you're able to pin it down to a specific site)
 

PabloC

Well-Known Member
Mar 24, 2015
60
3
58
Mar del Plata - Argentina
cPanel Access Level
Website Owner
Hello!

I've got hundreads of lines like this

[08-Oct-2019 19:08:55] NOTICE: [pool todoperros_com] child 18693 started
[08-Oct-2019 19:08:59] NOTICE: [pool todoperros_com] child 18665 exited with code 0 after 62.181765 seconds from start
[08-Oct-2019 19:08:59] NOTICE: [pool todoperros_com] child 18695 started
[08-Oct-2019 19:09:28] NOTICE: [pool todoperros_com] child 18682 exited with code 0 after 58.940302 seconds from start
[08-Oct-2019 19:09:28] NOTICE: [pool todoperros_com] child 18744 started
[08-Oct-2019 19:09:45] NOTICE: [pool todoperros_com] child 18689 exited with code 0 after 57.722906 seconds from start
[08-Oct-2019 19:09:45] NOTICE: [pool todoperros_com] child 18757 started
[08-Oct-2019 19:09:55] NOTICE: [pool todoperros_com] child 18692 exited with code 0 after 60.578018 seconds from start
[08-Oct-2019 19:09:55] NOTICE: [pool todoperros_com] child 18762 started
[08-Oct-2019 19:10:00] NOTICE: [pool todoperros_com] child 18695 exited with code 0 after 61.794768 seconds from start
[08-Oct-2019 19:10:00] NOTICE: [pool todoperros_com] child 18764 started
[08-Oct-2019 19:10:00] NOTICE: [pool todoperros_com] child 18693 exited with code 0 after 65.109071 seconds from start
[08-Oct-2019 19:10:00] NOTICE: [pool todoperros_com] child 18765 started
[08-Oct-2019 19:10:28] NOTICE: [pool todoperros_com] child 18744 exited with code 0 after 60.538661 seconds from start
[08-Oct-2019 19:10:28] NOTICE: [pool todoperros_com] child 18883 started
[08-Oct-2019 19:10:45] NOTICE: [pool todoperros_com] child 18757 exited with code 0 after 60.214805 seconds from start
[08-Oct-2019 19:10:45] NOTICE: [pool todoperros_com] child 18926 started
[08-Oct-2019 19:10:57] NOTICE: [pool todoperros_com] child 18762 exited with code 0 after 61.690406 seconds from start
[08-Oct-2019 19:10:57] NOTICE: [pool todoperros_com] child 18937 started
[08-Oct-2019 19:11:01] NOTICE: [pool todogatos_com] child 18797 exited with code 0 after 47.239572 seconds from start
[08-Oct-2019 19:11:01] NOTICE: [pool todogatos_com] child 18945 started
[08-Oct-2019 19:11:06] NOTICE: [pool todoperros_com] child 18764 exited with code 0 after 65.841152 seconds from start
[08-Oct-2019 19:11:06] NOTICE: [pool todoperros_com] child 18947 started
[08-Oct-2019 19:11:06] NOTICE: [pool todoperros_com] child 18765 exited with code 0 after 65.844983 seconds from start
[08-Oct-2019 19:11:06] NOTICE: [pool todoperros_com] child 18948 started

Yes, I have many rewrite rules in my main site.

What could be causing this? any ideas?

Thanks for your help! I don't know what is going on...
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,273
1,282
313
Houston
Those are just notices, this issue is commonly attributed to script errors or rewrite rules, you may need to go through the rewrite rules thoroughly to pinpoint the problem.
 

keat63

Well-Known Member
Nov 20, 2014
1,957
266
113
cPanel Access Level
Root Administrator
I've just started seeing these errors, I guess since enabling FPM.
I don't see anything which gives away the cause in the fpm error.log.

Any pointers ?