Unable to register users

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
grover_d
Registered User
Posts: 7
Joined: Tue Sep 06, 2005 2:43 am

Unable to register users

Post by grover_d »

Hello,

I have done a completely new installation of phpbb 3.3.8 on my system.

I have:

phpbb 3.3.8
apache 2.4.54
mariadb 10.4.26-1
php-fpm 7.4.30

This is a completely new installation. I was able to connect to install the system. I can work on the ACP without any issues.

I have put in my forum structure without any issues.

Then I went to register a user and agree to the conditions. I filled out the page with my ID,etc and get:

Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

This would imply something bad happened talking to the php-fpm system. Looking at the logs there, I see: 1

Code: Select all

[18-Nov-2022 15:42:30.741346] DEBUG: pid 9175350, fpm_pctl_perform_idle_server_maintenance(), line 382: [pool www] currently 0 active children, 16 spare children, 16 running children. Spawning rate 1
[18-Nov-2022 15:42:31.429597] DEBUG: pid 9175350, fpm_event_loop(), line 430: event module triggered 2 events
[18-Nov-2022 15:42:31.429702] DEBUG: pid 9175350, fpm_event_loop(), line 430: event module triggered 1 events
[18-Nov-2022 15:42:31.440999] DEBUG: pid 9175350, fpm_got_signal(), line 82: received SIGCHLD
[18-Nov-2022 15:42:31.441022] DEBUG: pid 9175350, fpm_event_loop(), line 430: event module triggered 1 events
[18-Nov-2022 15:42:31.441110] WARNING: pid 9175350, fpm_children_bury(), line 259: [pool www] child 11207038 exited on signal 4 (SIGILL) after 256870.558712 seconds from start
[18-Nov-2022 15:42:31.441184] DEBUG: pid 9175350, fpm_children_make(), line 407: blocking signals before child birth
[18-Nov-2022 15:42:31.449567] DEBUG: pid 9175350, fpm_children_make(), line 431: unblocking signals, child born
[18-Nov-2022 15:42:31.449689] NOTICE: pid 9175350, fpm_children_make(), line 437: [pool www] child 11207040 started
[18-Nov-2022 15:42:31.741848] DEBUG: pid 9175350, fpm_pctl_perform_idle_server_maintenance(), line 382: [pool www] currently 0 active children, 16 spare children, 16 running children. Spawning rate 1
[18-Nov-2022 15:42:32.741994] DEBUG: pid 9175350, fpm_pctl_perform_idle_server_maintenance(), line 382: [pool www] currently 0 active children, 16 spare children, 16 running children. Spawning rate
This log implies that php-fpm attempted to execute an illegal instruction, but why would all of the other php code I have on the system be working?

The apache log shows:

Code: Select all

[Fri Nov 18 15:42:31.429807 2022] [proxy_fcgi:error] [pid 12648840:tid 12851] [client 9.211.126.63:54367] AH01067: Failed to read FastCGI header, referer: https://birch4.xxx.xxxxxx.xxx.com/PlayScreen/ucp.php?mode=register&sid=70daf83648343a147a3d8db77b71abb0
[Fri Nov 18 15:42:31.429855 2022] [proxy_fcgi:error] [pid 12648840:tid 12851] (70014)End of file found: [client 9.211.126.63:54367] AH01075: Error dispatching request to : , referer: https://birch4.xxx.xxxxxx.xxx.com/PlayScreen/ucp.php?mode=register&sid=70daf83648343a147a3d8db77b71abb0
I have read the php-fpm docs enough to see that is just cannot be them.

The line in my http config file reads:

Code: Select all

ProxyPassMatch "^/(.*\.php(/.*)?)$" "fcgi://127.0.0.1:9000/var/www/htdocs/$1" enablereuse=on
And again, EVERYTHING I do from the ACP works fine.

I also have phpMyAdmin installed and running without any issues.

Do you have any ideas of what the issue might be or how to debug it?
Last edited by Mick on Sat Nov 19, 2022 8:06 am, edited 2 times in total.
Reason: Code tags added for clarity.
usmc_1811
Registered User
Posts: 6
Joined: Wed Aug 03, 2022 11:13 pm

Re: Unable to register users

Post by usmc_1811 »

After some further digging, the issue appears to be stack corruption down this call stack:

[9000000000E65F4]strncpy+0000F4 ()
[90000000014E960]__res_vinit+0008A0 (??, ??)
[1003C4F10]00000001003C4F10 ()
[100099FA0]execute_ex+005300 (??)
[1000A2430]zend_execute+000170 (??, ??)
[1000DFF44]zend_execute_scripts+000078 (??, ??, ??)

The strncpy() is overwriting part of the stack.

Is there a way for me to disable zend?
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52643
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Unable to register users

Post by stevemaury »

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
Post Reply

Return to “[3.3.x] Support Forum”