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.
Pages: [1]
1
SSL / How to install shared SSL from command line?
« on: June 27, 2024, 05:40:36 PM »
Hello everyone,
Is there a command in the CWP API that allows me to install shared SSL from a command line? I wanted to try to automate some processes and needed this command since sometimes the account does not have a DNS propagated immediately.
A command like installssl.sh dominio.com.br.
Thank you in advance for your help.
Is there a command in the CWP API that allows me to install shared SSL from a command line? I wanted to try to automate some processes and needed this command since sometimes the account does not have a DNS propagated immediately.
A command like installssl.sh dominio.com.br.
Thank you in advance for your help.
2
PHP Selector / Re: PHPFPM 8.1.15 not getting build and activated
« on: May 06, 2023, 11:17:26 AM »
I managed to solve here by updating the repository packages.
"yum update"
"yum update"
3
PHP Selector / Re: PHPFPM 8.1.15 not getting build and activated
« on: May 05, 2023, 12:50:16 AM »
I can't install any version of php (fpm or not) after 7.2. I can only compile up to 7.2 after that the following error is occurring:
checking for libzip... not found
configure: error: Please reinstall the libzip distribution
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.genesisadaptive.com
* epel: ord.mirror.rackspace.com
* extras: ftpmirror.your.org
* updates: linux-mirrors.fnal.gov
Package ImageMagick-6.9.10.68-6.el7_9.x86_64 already installed and latest version
Package ImageMagick-devel-6.9.10.68-6.el7_9.x86_64 already installed and latest version
Package ImageMagick-perl-6.9.10.68-6.el7_9.x86_64 already installed and latest version
nothing to do
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2023-05-04 20:39:47-- http://static.cdn-cwp.com/files/php/pecl/imagick-3.4.4.tgz
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 198.27.104.40, 167.114.21.226, 151.80.90.199, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|198.27.104.40|:80... connected.
HTTP request sent, waiting response... 200 OK
Length: 253434 (247K) [application/x-tar]
Saving to: 'imagick-3.4.4.tgz'
0K .......... .......... .......... .......... ......... .20% 1.23M 0s
50K .......... .......... .......... .......... ......... .40% 2.42M 0s
100K .......... .......... .......... .......... ......... . 60% 2.45M 0s
150K .......... .......... .......... .......... ......... 80% 2.48M 0s
200K .......... .......... .......... .......... ....... 100% 73.2M=0.1s
2023-05-04 20:39:48 (2.41 MB/s) - 'imagick-3.4.4.tgz' saved [253434/253434]
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/imagick.sh: line 10: /opt/alt/php73/usr/bin/phpize: No such file or directory
ln: failed to create symbolic link '/usr/local/include/ImageMagick': File exists
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/imagick.sh: line 12: ./configure: No such file or directory
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/imagick.sh: line 18: /opt/alt/php73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /imagick.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.genesisadaptive.com
* epel: ord.mirror.rackspace.com
* extras: ftpmirror.your.org
* updates: linux-mirrors.fnal.gov
Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version
Package libsodium-devel-1.0.18-1.el7.x86_64 already installed and latest version
nothing to do
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28505 100 28505 0 0 83392 0 --:--:-- --:--:-- --:--:-- 83592
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/sodium.sh: line 9: /opt/alt/php73/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/sodium.sh: line 10: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/sodium.sh: line 14: /opt/alt/php73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so
Build Completed
####################
Error:Can't add notification!
checking for libzip... not found
configure: error: Please reinstall the libzip distribution
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.genesisadaptive.com
* epel: ord.mirror.rackspace.com
* extras: ftpmirror.your.org
* updates: linux-mirrors.fnal.gov
Package ImageMagick-6.9.10.68-6.el7_9.x86_64 already installed and latest version
Package ImageMagick-devel-6.9.10.68-6.el7_9.x86_64 already installed and latest version
Package ImageMagick-perl-6.9.10.68-6.el7_9.x86_64 already installed and latest version
nothing to do
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
--2023-05-04 20:39:47-- http://static.cdn-cwp.com/files/php/pecl/imagick-3.4.4.tgz
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 198.27.104.40, 167.114.21.226, 151.80.90.199, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|198.27.104.40|:80... connected.
HTTP request sent, waiting response... 200 OK
Length: 253434 (247K) [application/x-tar]
Saving to: 'imagick-3.4.4.tgz'
0K .......... .......... .......... .......... ......... .20% 1.23M 0s
50K .......... .......... .......... .......... ......... .40% 2.42M 0s
100K .......... .......... .......... .......... ......... . 60% 2.45M 0s
150K .......... .......... .......... .......... ......... 80% 2.48M 0s
200K .......... .......... .......... .......... ....... 100% 73.2M=0.1s
2023-05-04 20:39:48 (2.41 MB/s) - 'imagick-3.4.4.tgz' saved [253434/253434]
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/imagick.sh: line 10: /opt/alt/php73/usr/bin/phpize: No such file or directory
ln: failed to create symbolic link '/usr/local/include/ImageMagick': File exists
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/imagick.sh: line 12: ./configure: No such file or directory
make: *** No rule to make target `clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/imagick.sh: line 18: /opt/alt/php73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /imagick.so
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.genesisadaptive.com
* epel: ord.mirror.rackspace.com
* extras: ftpmirror.your.org
* updates: linux-mirrors.fnal.gov
Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version
Package libsodium-devel-1.0.18-1.el7.x86_64 already installed and latest version
nothing to do
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28505 100 28505 0 0 83392 0 --:--:-- --:--:-- --:--:-- 83592
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/sodium.sh: line 9: /opt/alt/php73/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/sodium.sh: line 10: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php_selector/external_modules/7.3/sodium.sh: line 14: /opt/alt/php73/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so
Build Completed
####################
Error:Can't add notification!
4
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.
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.
5
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.
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.
6
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.
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.
7
CentOS-WebPanel Bugs / Re: Resellers sub-accounts missing after update
« on: May 15, 2020, 05:28:18 PM »
hello,
I also have the same problem, does anyone already have a solution for this?
I also have the same problem, does anyone already have a solution for this?
8
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
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
9
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.
10
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?
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?
11
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
solved the problem with the acme.sh upgrade command
Pages: [1]