Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - soloweb_ademilton

Pages: [1]
1
PHP Selector / Re: Error php-fpm whmcs 503 Service Unavailable
« on: June 02, 2020, 08:43:57 PM »
Hi guys,

Here is the solution to my problem, if someone has the same question as mine.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

In short, my problem was not in navigating whmcs, but in some functions such as suspension and account creation. The service was actually executed on the server but whmcs did not receive the return.


The error log returned the following:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[Tue Jun 02 15:51:28.730550 2020] [proxy_fcgi:error] [pid 41392:tid 140348181440256] [client 1.1.1.1:37024] AH01067: Failed to read FastCGI header, referer: https://www.dominio.com.br/whmcs/admin/clientsservices.php?userid=1
[Tue Jun 02 15:51:28.730589 2020] [proxy_fcgi:error] [pid 41392:tid 140348181440256] (104)Connection reset by peer: [client 1.1.1.1:37024] AH01075: Error dispatching request to : , referer: https://www.dominio.com.br/whmcs/admin/clientsservices.php?userid=1

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

And my browser reported an error on the inspection - 503 service unavailable.

Practically whmcs was not receiving the response from the server because the webservice service was restarted at the time of the request, I don't know why but this is a php-fpm configuration.

Several forums said to increase the webservice timeout the request_timeout of the php-fpm pool but the only directive that needs to be changed is process_control_timeout.

just add this in php-fpm.conf
I added 10s to the value and it worked normal.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
before:
include = /opt/alt/php-fpm73/usr/etc/php-fpm.d /*.conf

after:
process_control_timeout = 10s
include = /opt/alt/php-fpm73/usr/etc/php-fpm.d /*.conf
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Hope this helps.



2
PHP Selector / Re: Error php-fpm whmcs 503 Service Unavailable
« on: May 26, 2020, 11:40:09 AM »
Hello friend,

sorry if i didn't explain it properly. The problem is not that php-fpm starts or not, whmcs runs practically normal, it only has problems in some functions, the 503 return I have is when I try to execute, for example, the suspension of an account, the page is in loop with no return none, only on the chrome inspection console.

3
PHP Selector / Error php-fpm whmcs 503 Service Unavailable
« on: May 26, 2020, 12:50:50 AM »
I have a serious problem in my whmcs when using php-fpm.

I updated my server so that the webservice forces use for php-fpm, I use the pro license. In the google-chrome inspection console it talks about error 503, in the error log it reports the following error:

  [proxy_fcgi: error] [pid 48744: tid 140059009345280] (104) Connection reset by peer: [client] AH01075: Error dispatching request to:

Please someone give me a light on this problem I have tried several solutions like increasing max_children, request_terminate_timeout and apache proxytimeout but nothing has changed.
Thank you in advance for your help.

4
hello,

I also have the same problem, does anyone already have a solution for this?

5
Nginx / Re: Nginx does not start
« on: May 02, 2020, 02:52:41 AM »
Hi guys,

I managed to solve.

Just follow these steps:


Create file /etc/systemd/system/nginx.service.d/override.conf with the following contents:
insert
[Service]
LimitNOFILE=65536

Reload systemd daemon with:
systemctl daemon-reload

Add this to Nginx config file:
worker_rlimit_nofile 16384; (has to be smaller or equal to LimitNOFILE set above)

And finally restart Nginx:
systemctl restart nginx

6
Nginx / Re: Nginx does not start
« on: May 01, 2020, 06:15:44 PM »
increase the open file limit for the service or the server.

thanks Sandeep

and how would it be ?, I've tried to do this following some tips from other forums and sites but still have the same problem.

7
Nginx / Nginx does not start
« on: April 30, 2020, 01:26:47 PM »
Hi guys,

I'm having a problem putting Apache + nginx + varnish to work, nginx does not start showing the following error:

emerg] 49623 # 49623: open () "/usr/local/apache/domlogs/domainserver.error.log" failed (24: Too many open files)

Does anyone have an idea of what it might be? Or have you faced a similar problem?

8
CentOS 7 Problems / Re: AutoSSL Hangs and Fails
« on: September 27, 2019, 02:23:20 PM »
Hello guys

solved the problem with the acme.sh upgrade command

Pages: [1]