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] 2
1
CentOS 7 Problems / Time out 300% cpu sql
« on: November 19, 2023, 04:16:57 PM »

Please can someone help me fix this? I don't have thousands of visits, my server is strong but it only increases the visits a little and it is impossible to work. Please, I'm not an expert but I understand... I don't understand why the queries generate so much cpu usage... please help
2
CentOS-WebPanel GUI / errors in loading in web and panel
« on: June 17, 2022, 05:50:56 PM »



In the month of February I migrated my pages in wordpress to be used with the panel, with the help of iraquiboy, the pages were functional and working perfectly. For three months it worked perfectly. Since the end of May not only my pages but also the panel goes very badly, I check the logs of nginx, varnish, apache, the same panel but there is no error that helps me, I just get these graphical errors, loading errors and they come out 520 .... please help?
reading CWPSRV logs... i have this
2022/06/17 13:21:06 [error] 1336#0: *1531 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0" while reading response header from upstream, client: 200.119.32.155, server: localhost, request: "POST /cwp_23273f2121bfc9b88dd2a49d19cac1a3/admin/loader_ajax.php?ajax=dashboard HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "176.9.137.221:2031", referrer: "https://176.9.137.221:2031/cwp_23273f2121bfc9b88dd2a49d19cac1a3/admin/index.php"
2022/06/17 13:21:16 [error] 1336#0: *1531 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0
PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0" while reading response header from upstream, client: 200.119.32.155, server: localhost, request: "POST /cwp_23273f2121bfc9b88dd2a49d19cac1a3/admin/loader_ajax.php?ajax=dashboard HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "176.9.137.221:2031", referrer: "https://176.9.137.221:2031/cwp_23273f2121bfc9b88dd2a49d19cac1a3/admin/index.php"
php71 logs
[17-Jun-2022 13:20:45] WARNING: [pool cwpsrv] child 17113 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:20:45] WARNING: [pool cwpsrv] child 17113 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:20:45] WARNING: [pool cwpsrv] child 17113 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:20:45] WARNING: [pool cwpsrv] child 17113 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:20:45] WARNING: [pool cwpsrv] child 17113 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:20:49] WARNING: [pool cwpsrv] child 17112 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:20:54] WARNING: [pool cwpsrv] child 17112 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:20:59] WARNING: [pool cwpsrv] child 17112 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:04] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:05] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:06] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:06] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:09] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:14] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:16] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:16] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:16] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:16] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:16] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:16] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:16] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:16] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:16] WARNING: [pool cwpsrv] child 17112 said into stderr: "NOTICE: PHP message: PHP Notice: Undefined offset: 3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[17-Jun-2022 13:21:19] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:24] WARNING: [pool cwpsrv] child 17112 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:29] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:34] WARNING: [pool cwpsrv] child 17112 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:39] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:44] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:49] WARNING: [pool cwpsrv] child 17112 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:54] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:21:59] WARNING: [pool cwpsrv] child 17112 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:22:04] WARNING: [pool cwpsrv] child 17112 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:22:09] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:22:14] WARNING: [pool cwpsrv] child 17112 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[17-Jun-2022 13:22:19] WARNING: [pool cwpsrv] child 17113 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
3
MySQL / Re: postgree and mongo no authorized error
« on: May 18, 2022, 04:41:16 PM »Please check the permissions in the features module in the admin

4
MySQL / postgree and mongo no authorized error
« on: May 18, 2022, 02:43:51 PM »
This is enabled.

Here is enabled too

Here is enabled too

However


¿what can i do?

Here is enabled too

Here is enabled too

However


¿what can i do?
5
Apache / Using modrewrite to hide or avoid ~
« on: May 12, 2022, 02:38:42 PM »
Im trying to avoid to use ~ to enter in a user folder, i read about this and mod_rewrite can allow me this but im trying with differents way but any result is negative until now. creating a .htaccess and /home adding
RewriteRule ^/~([a-zA-Z0-9]+)/$ https://example.com/$1/ [R=301,L] but is not working or adding to httpd.conf is not working either.
Trying to be specific i want to avoid to ask to the user put ~ to access to a folder, i can't have a subdomain or domain per user,
hosting.example.com/user1 avoiding /~user
RewriteRule ^/~([a-zA-Z0-9]+)/$ https://example.com/$1/ [R=301,L] but is not working or adding to httpd.conf is not working either.
Trying to be specific i want to avoid to ask to the user put ~ to access to a folder, i can't have a subdomain or domain per user,
hosting.example.com/user1 avoiding /~user
6
DNS / Change shared ip for private
« on: April 26, 2022, 05:37:20 PM »
Is there a way to change the cwp setting so that the ip that is shown in shared ip and that can be seen using nslookup is the private ip and not the public ip
7
PHP / Re: Update issue
« on: March 08, 2022, 01:29:31 AM »
iraqiboy90 was helping for several hours to solve this problem, obviously I bought the license for a year, but I would not have been able to advance even two centimeters in placing my website correctly if it were not for the huge, gigantic and brilliant @ iraqiboy90, Thank you, I told you in private and I'll tell you here too, I thank you from here to heaven, you're great. Also thank @rcschaff for his tips and tricks, they are really great here, in other forums they insult you but you are really great, THANKS A BILLION
A tip for iraqiboy90, please create a youtube channel and make tutorials about this panel or general about linux, U ARE A GENIUS
A tip for iraqiboy90, please create a youtube channel and make tutorials about this panel or general about linux, U ARE A GENIUS
8
PHP / Re: Update issue
« on: March 07, 2022, 03:45:03 PM »you can see this here
https://control-webpanel.com/cwppro
i dont need selector just use php fpm
9
PHP / Re: Update issue
« on: March 07, 2022, 11:59:39 AM »
honestly im truly surprised, i don't understand why is necesary buy a license to use php-fpm, i know this panel is awesome but i want to know where is specified that,
10
PHP / Re: Update issue
« on: March 07, 2022, 11:36:41 AM »
I have not pro license, my panel is free, ¿why? ¿for use php, nginx or wordpress i need a license?
11
PHP / Re: Update issue
« on: March 07, 2022, 10:00:19 AM »
With the great help of @rcschaff, the permissions of this php-fpm file were changed so that 7.3 of the panel could work without problem, but at 3 am today the file was modified in permissions again, which causes an error 502, what about this panel?

The permissions that were changed yesterday, automatically changed again by themselves, it seems like a joke in bad taste

The permissions that were changed yesterday, automatically changed again by themselves, it seems like a joke in bad taste
14
PHP / Re: Update issue
« on: March 07, 2022, 05:03:30 AM »That should be fine, because there should be a socket file in php-fpm73. Ideally, you should not be using the cwpsrv php-fpm, but the client version in /opt/alt/php*
I understand that I should not use it, I followed your advice in previous posts and I stopped getting 502 using cwp's php, because in this route
/opt/alt/php-fpm73/usr/var/sockets

there is nothing, the files are deleted, as I explained in the first post, I can do a clean installation of the panel, I put the wordpress, I do the configuration that I have, but after a few hours of working the djflakf1.sock file is deleted and I do not understand why in fact others have reported the same
http://forum.centos-webpanel.com/php/php-fpm-socket-not-create/
15
PHP / Re: Update issue
« on: March 07, 2022, 03:41:33 AM »
If I do that, that is, edit the file, which is what you suggested, I will have the bad gateway problem again because the djflakf.sock file is deleted
Pages: [1] 2