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.


Topics - leebrimlow

Pages: [1]
1
CentOS 8 Problems / Can not install CWP 8 on Rockylinux 8 or Almalinux 8
« on: February 06, 2025, 09:56:00 AM »
Hello, i can not install CWP 8 on Rockylinux 8 or Almalinux 8

i got this error .


Code: [Select]
[root@ForsanHotelsAlma8GbRam4vCpu src]# sh cwp-el8-latest
cwp-el8-latest: line 83: [: 8.10: integer expression expected
cwp-el8-latest: line 86: [[: 8.10: syntax error: invalid arithmetic operator (error token is ".10")
cwp-el8-latest: line 89: [[: 8.10: syntax error: invalid arithmetic operator (error token is ".10")
CentOS Web Panel repo for Linux 8 - x86_64                          1.7 MB/s | 305 kB     00:00
MariaDB                                                             222  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
MariaDB                                                             247  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
CentOS Web Panel repo for Linux 8 - x86_64                          110 kB/s | 2.9 kB     00:00
Rocky Linux 8 - AppStream                                            23 kB/s | 4.3 kB     00:00
Rocky Linux 8 - BaseOS                                               20 kB/s | 4.3 kB     00:00
Rocky Linux 8 - Extras                                               15 kB/s | 3.1 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64                      133 kB/s |  12 kB     00:00
MariaDB                                                             170  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
MariaDB                                                             244  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
MariaDB                                                             252  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Rocky Linux 8 - PowerTools                                          9.5 MB/s | 3.9 MB     00:00
Extra Packages for Enterprise Linux 8 - x86_64                       44 MB/s |  14 MB     00:00
MariaDB                                                             246  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
MariaDB                                                             247  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
MariaDB                                                             231  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
MariaDB                                                                                                               244  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
MariaDB                                                                                                               233  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
No match for argument: apr
No match for argument: exim
No match for argument: sendmail
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
MariaDB                                                                                                               220  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
cwp-el8-latest: line 268: mysql: command not found
cwp-el8-latest: line 269: mysql: command not found

PREPARING THE SERVER
##########################
Failed to stop firewalld.service: Unit firewalld.service not loaded.
Failed to disable unit: Unit file firewalld.service does not exist.

#############################################
Please wait... installing web server files...
#############################################

MariaDB                                         234  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
MariaDB                                                                                                               245  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.4/centos8-amd64/repodata/repomd.xml (IP: 2a01:4f8:1c17:e53d::1)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Compiler requires 512 MB RAM + SWAP
Installation FAILED at httpd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   899  100   899    0     0   4086      0 --:--:-- --:--:-- --:--:--  4086
sh: line 36: mysql: command not found
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory
Received
Please contact CWP support about this issue and include the last few lines from the error:
http://centos-webpanel.com/contact



2
CentOS-WebPanel Bugs / 502 Bad Gateway cwpsrv - Root and user Login
« on: December 28, 2024, 09:59:15 AM »
Hello, suddenly i can not login the root or the user panel.
i got this erro: 502 Bad Gateway - cwpsrv

i tried : systemctl start cwp-phpfpm
and got this: Failed to start cwp-phpfpm.service: Unit cwp-phpfpm.service not found.

tried :

Code: [Select]
[root@panel scripts]# ./restart_cwpsrv
Failed to restart cwpsrv-phpfpm.service: Unit cwpsrv-phpfpm.service not found.
Failed to restart cwp-phpfpm.service: Unit cwp-phpfpm.service not found.

[root@panel scripts]# systemctl status cwp-phpfpm
Unit cwp-phpfpm.service could not be found.

[root@panel scripts]# tail /usr/local/cwp/php71/var/log/php-fpm.log
[28-Dec-2024 05:46:44] WARNING: [pool cwpsrv] child 713668 said into stderr: "sed: couldn't write 76 items to stdout: Broken pipe"
[28-Dec-2024 05:46:49] WARNING: [pool cwpsrv] child 713668 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[28-Dec-2024 05:46:54] WARNING: [pool cwpsrv] child 713668 said into stderr: "sed: couldn't write 1 item to stdout: Broken pipe"
[28-Dec-2024 05:46:59] WARNING: [pool cwpsrv] child 713668 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[28-Dec-2024 05:47:04] WARNING: [pool cwpsrv] child 713669 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[28-Dec-2024 05:47:09] WARNING: [pool cwpsrv] child 713668 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[28-Dec-2024 05:47:14] WARNING: [pool cwpsrv] child 713669 said into stderr: "sed: couldn't write 1 item to stdout: Broken pipe"
[28-Dec-2024 05:47:19] WARNING: [pool cwpsrv] child 713668 said into stderr: "sed: couldn't write 1 item to stdout: Broken pipe"
[28-Dec-2024 05:47:24] WARNING: [pool cwpsrv] child 713669 said into stderr: "sed: couldn't write 76 items to stdout: Broken pipe"
[28-Dec-2024 05:47:29] WARNING: [pool cwpsrv] child 713669 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"

3
Postfix / Can not send E-mail unless gmail
« on: December 11, 2024, 02:24:07 PM »
Hello, i have a problem that i can not send any e-mail to any mail server. or temp-mail or outlook or live.com

i can receive but can not send.

i only can send and receive from Gmail.




4
CentOS 9 Problems / Error in SMTP
« on: November 03, 2024, 07:49:46 PM »
i got this error when sending any email to any email address:









this is /usr/local/cwpsrv/var/services/roundcube/logs/errors.log:

Code: [Select]
[02-Nov-2024 17:37:08 Etc/UTC] PHP Fatal error:  Uncaught Error: Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/db/mysql.php:149
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_db.php(152): rcube_db_mysql->dsn_options()
#1 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_db.php(138): rcube_db->conn_create()
#2 /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_db.php(230): rcube_db->dsn_connect()
#3 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail_utils.php(45): rcube_db->db_connect()
#4 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail_utils.php(111): rcmail_utils::db()
#5 /usr/local/cwpsrv/var/services/roundcube/bin/update.sh(174): rcmail_utils::db_update()
#6 {main}
  thrown in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/db/mysql.php on line 149
[02-Nov-2024 17:53:38 +0000]: <1aohg1nh> DB Error: [1146] Table 'roundcube.carddav_migrations' doesn't exist (SQL Query: SELECT `filename` FROM carddav_migrations) in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_db.php on line 543 (GET /?_autologin=1&sess=ZXlKMWMyVnlJam9pYVc1bWIwQm1iM0p6WVc1b2IzUmxiSE11YzJFaUxDSndZWE56SWpvaU9HUXdOakZsTURSaE1qWTFJaXdpYUc5emRDSTZJbXh2WTJGc2FHOXpkQ0lzSW1OM2NGOXpaWE56YVc5dUlqb2lObU15TlRGaE9XTXdPV05qTldNME9ESTRabVpoTVRGbFkyTmhZMlkzWkRNaWZRPT0=)
[02-Nov-2024 17:53:55 +0000]: <1aohg1nh> PHP Error: Invalid response code received from server (POST /?_task=mail&_unlock=loading1730570035163&_framed=1&_lang=en_US&_action=send)
[02-Nov-2024 17:53:55 +0000]: <1aohg1nh> SMTP Error: Failed to add recipient 'me@te.com'. 4.3.0 <me@te.com>: Temporary lookup failure (Code: 451) in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube.php on line 1702 (POST /?_task=mail&_unlock=loading1730570035163&_framed=1&_lang=en_US&_action=send)
[02-Nov-2024 17:54:13 +0000]: <1aohg1nh> PHP Error: Invalid response code received from server (POST /?_task=mail&_unlock=loading1730570053076&_framed=1&_lang=en_US&_action=send)
[02-Nov-2024 17:54:13 +0000]: <1aohg1nh> SMTP Error: Failed to add recipient 'me@te.com'. 4.3.0 <me@te.com>: Temporary lookup failure (Code: 451) in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube.php on line 1702 (POST /?_task=mail&_unlock=loading1730570053076&_framed=1&_lang=en_US&_action=send)
[03-Nov-2024 18:52:42 +0000]: <eltocub7> PHP Error: Invalid response code received from server (POST /?_task=mail&_unlock=loading1730659962227&_framed=1&_lang=en_US&_action=send)
[03-Nov-2024 18:52:42 +0000]: <eltocub7> SMTP Error: Failed to add recipient 'test@test.com'. 4.3.0 <test@test.com>: Temporary lookup failure (Code: 451) in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube.php on line 1702 (POST /?_task=mail&_unlock=loading1730659962227&_framed=1&_lang=en_US&_action=send)

This is Maillog :

Code: [Select]
Nov  3 20:12:26 panel postfix/pickup[274507]: AF0A116071B: uid=0 from=<root>
Nov  3 20:12:26 panel postfix/cleanup[276767]: AF0A116071B: message-id=<20241103191226.AF0A116071B@panel.forsanhotels.sa>
Nov  3 20:12:26 panel postfix/proxymap[274310]: warning: mysql:/etc/postfix/mysql-virtual_alias_default_maps.cf is unavailable. unsupported dictionary type: mysql
Nov  3 20:12:26 panel postfix/cleanup[276767]: warning: proxy:mysql:/etc/postfix/mysql-virtual_alias_default_maps.cf lookup error for "leebrimlow@gmail.com"
Nov  3 20:12:26 panel postfix/cleanup[276767]: warning: AF0A116071B: virtual_alias_maps map lookup problem for leebrimlow@gmail.com -- message not accepted, try again later
Nov  3 20:12:26 panel postfix/proxymap[274310]: warning: mysql:/etc/postfix/mysql-virtual_vacation.cf is unavailable. unsupported dictionary type: mysql
Nov  3 20:12:26 panel postfix/cleanup[276767]: warning: proxy:mysql:/etc/postfix/mysql-virtual_vacation.cf lookup error for "leebrimlow@gmail.com"
Nov  3 20:12:26 panel postfix/cleanup[276767]: warning: AF0A116071B: recipient_bcc_maps map lookup problem -- message not accepted, try again later


System info:




5
CentOS 7 Problems / CPU high usage after mariadb upgrade 10.11
« on: October 26, 2024, 03:25:17 PM »
After upgrading from 10.4 to 10.11  , i got high cpu usage and all my websites not working.
the panel became too slow.

any help please ?

CPU Model: AMD Ryzen 5 3600 6-Core Processor
CPU Details: 12 Core (2200 MHz)
Distro Name: CentOS Linux release 7.9.2009 (Core)
Kernel Version: 3.10.0-1160.119.1.el7.x86_64
Platform: x86_64 Dedicated



6
CentOS 8 Problems / litespeed version
« on: October 25, 2024, 04:54:12 PM »
Hello, Which version of litespeed i should buy after the trial version expires.
if i bought the Site-Owner license will it work ?



7
MySQL / Can not update MariaDB
« on: August 17, 2024, 10:34:34 PM »
Hello, I want to update MariaDB from 10.4 to 10.11

i followed the Wiki steps and got this error:


[root@panel ~]# yum -y update "MariaDB-*"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
epel/x86_64/metalink                                                                                                            | 5.1 kB  00:00:00
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=<repoid> ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>
        or
            subscription-manager repos --disable=<repoid>

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: extras/7/x86_64

8
CentOS 7 Problems / i can't log in the admin panel
« on: November 15, 2023, 03:14:18 PM »
Hello, the NGINX service stoped, i don't know why, then i restarted the server from reboot button in server settings.
Now i can't log in and all my websites are down :'( , please help



image: https://www12.0zz0.com/2023/11/15/15/583482951.png

9
Apache / i want to add port to my domain
« on: August 16, 2021, 03:16:37 AM »
Hello everyone, my domain is https://wiki-eg.com/ , and i want it to be https://wiki-eg.com:2053/ .
i tried to make webserver Domain Conf Nginx > Varnich > apache > proxy (custom port) and set custom port 2053. like image 1 : https://imgur.com/WuRyZvZ  .

but when i go to https://wiki-eg.com/ i get this error : https://imgur.com/r4yTPOk ,

when i go to https://wiki-eg.com:2053/ , i get this error : https://imgur.com/TwWHr4g
 
i am using Cloudflare Full SSL , webserver : Nginx & Varnish & Apache and PHP FPM .

can you help me please !


10
CentOS 7 Problems / Mysql High CPU , all my Websites are down
« on: July 30, 2019, 10:05:57 PM »
hi , i have a contabo vps which have DDOS attacks protection and cloudflare with the main domain, VPS specs:
CPU Model: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
CPU Details: 4 Core (2200 MHz)
Ram : 8GB
Distro Name: CentOS Linux release 7.6.1810 (Core)
Kernel Version: 3.10.0-957.21.3.el7.x86_64
i run CWP Pro.
i have installed 3 wordpress sites , there is one with about 35000 posts.

Now, the CPU usage is 100% and all my websites are down because of mysqld service

there are some screenshots of the CWP processes and mysql queries.

https://imgur.com/Q8yK9A7



https://imgur.com/uzFLNm3


https://imgur.com/577yZ5V

please help me , how can i optimize mysql for better performance?

11
CentOS 7 Problems / PHP-FPM high CPU and Mysqld
« on: May 30, 2019, 09:33:39 AM »
can you please help me to know what is the best configuration for php-fpm and mysql .

My VPS specs:

Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
Ram : 8 G
Disk: 150 G SSD

Apache version: Apache/2.4.39
PHP version: 5.6.21
MySQL version: 10.1.40-MariaDB

i have only one user

i attached a photo of live monitor , where there was only 30 visitor on my sites at the same time , and the stats doesn't change if they are 30 or 300 .

Photo : https://imgur.com/4Nn3TIL

Pages: [1]