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
MySQL / Re: Started getting MySQL (database) errors. Tried updating via yum but errors
« on: March 23, 2024, 08:52:40 PM »
Ok, it did update and now when I log in Centos Web Panel, I am NOT getting the error "MySQL bad configuration detected, check from the console by using mysql command" so this is good, right?
Also, the CPU usage seems to be VERY high.. any suggestions?
edit: still getting frequent database errors on website
Also, the CPU usage seems to be VERY high.. any suggestions?
edit: still getting frequent database errors on website
2
MySQL / Re: Started getting MySQL (database) errors. Tried updating via yum but errors
« on: March 23, 2024, 08:45:18 PM »
Ok, this is what I did. In mariadb.repo, I changed one point
This was my old one:
I changed the 10.3 to 10.4 and then I did a "yum update"
It is updating.. will let you know if it solved the issues
This was my old one:
Code: [Select]
# MariaDB 10.2 CentOS repository list - created 2019-07-03 08:40 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.3/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
enabled=1
I changed the 10.3 to 10.4 and then I did a "yum update"
It is updating.. will let you know if it solved the issues
3
MySQL / Re: MySQL - BAD CONFIGURATION DETECTED
« on: March 23, 2024, 08:34:56 PM »
Similar issue. I didn't even do anything and suddenly getting this error and updating is also failing
4
MySQL / Started getting MySQL (database) errors. Tried updating via yum but errors
« on: March 23, 2024, 08:33:02 PM »
I started getting many database errors. When I log in Centos Web Panel, I got this message: "MySQL bad configuration detected, check from the console by using mysql command !!!"
I checked and their were updates (I have the Paid/Pro version of centos). I tried but it didn't work, so I manually went into SSL and did tied.
When I do yum update, I get these errors:
What to do?? This is a main website of a client and I don't wanna mess anything up.
I checked and their were updates (I have the Paid/Pro version of centos). I tried but it didn't work, so I manually went into SSL and did tied.
When I do yum update, I get these errors:
Code: [Select]
"Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
MariaDB-client-10.3.39-1.el7.c FAILED
http://yum.mariadb.org/10.3/centos7-amd64/rpms/MariaDB-client-10.3.39-1.el7.cent os.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
MariaDB-common-10.3.39-1.el7.c FAILED
http://yum.mariadb.org/10.3/centos7-amd64/rpms/MariaDB-common-10.3.39-1.el7.cent os.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
MariaDB-compat-10.3.39-1.el7.c FAILED
http://yum.mariadb.org/10.3/centos7-amd64/rpms/MariaDB-compat-10.3.39-1.el7.cent os.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
MariaDB-devel-10.3.39-1.el7.ce FAILED
http://yum.mariadb.org/10.3/centos7-amd64/rpms/MariaDB-devel-10.3.39-1.el7.cento s.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
MariaDB-server-10.3.39-1.el7.c FAILED
http://yum.mariadb.org/10.3/centos7-amd64/rpms/MariaDB-server-10.3.39-1.el7.cent os.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
MariaDB-shared-10.3.39-1.el7.c FAILED
http://yum.mariadb.org/10.3/centos7-amd64/rpms/MariaDB-shared-10.3.39-1.el7.cent os.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
Error downloading packages:
MariaDB-devel-10.3.39-1.el7.centos.x86_64: [Errno 256] No more mirrors to try.
MariaDB-server-10.3.39-1.el7.centos.x86_64: [Errno 256] No more mirrors to try .
MariaDB-common-10.3.39-1.el7.centos.x86_64: [Errno 256] No more mirrors to try .
MariaDB-client-10.3.39-1.el7.centos.x86_64: [Errno 256] No more mirrors to try .
MariaDB-shared-10.3.39-1.el7.centos.x86_64: [Errno 256] No more mirrors to try .
MariaDB-compat-10.3.39-1.el7.centos.x86_64: [Errno 256] No more mirrors to try "
.
What to do?? This is a main website of a client and I don't wanna mess anything up.
5
PHP / Re: PHP Version Switcher / PHP Selector not updating PHO
« on: February 24, 2024, 11:19:46 PM »I've posted this in other threads, but to get PHP 8.3.x working in CWP, you have to build it without the following options:
mbstring
imagick
ioncube
But without ionCube, some encrypted PHP scripts won't work.
Check their requirements, and if it says it need ionCube, you are stuck with PHP 8.2.x for right now.
And that has nothing to do with CWP, that is due to the ionCube Loaders not supporting PHP 8.3., yet (as of this post).
thanks.. had to switch back to 7.4.33 from 8.2 because many of the Wordpress plugins not yet compatible with 8
Did install 8.2 on another server to test suff
6
PHP / Re: PHP Version Switcher / PHP Selector not updating PHO
« on: February 24, 2024, 02:58:57 AM »There have been some issues with the 8.3.x tree. You could try to build without IonCube and mbstring support and see if that works. Or wait until the bugs have been shaken out better. 8.2.14 should meet your needs, unless you are a cutting edge developer
thanks! no, not a cutting edge developer.. far from it just read somewhere that 8.3 is at least 20% faster for woocommerce/wordpress than 8.2 (which is supposed to be faster from 7.4..)
7
PHP / Re: PHP Version Switcher
« on: February 24, 2024, 12:24:08 AM »Try 8.2.14 and see if that works for you.
yes, 8.2.14 worked, but 8.3 and 8.31 not working! strange
8.3 and 8.31 not even working after 8.2.14
8
PHP / Re: PHP Version Switcher / PHP Selector not updating PHO
« on: February 24, 2024, 12:22:39 AM »
Ok, this is wierd
I tried to Upgrade it to 8.2.14 and it worked!!!
Then I from there, I tried to upgrade to 8.3 and 8.3.1 but same issue, not working
I tried to Upgrade it to 8.2.14 and it worked!!!
Then I from there, I tried to upgrade to 8.3 and 8.3.1 but same issue, not working
9
PHP / Re: PHP Version Switcher / PHP Selector not updating PHO
« on: February 23, 2024, 05:46:33 PM »
Using the PHP version switcher, the last message on the build is;
If I used PHP Selector, this is what I got:
But How do I select it? Centos still says my PHP is 7.4.33 (this is on BOTH my VPS/servers)
Code: [Select]
"Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/"
If I used PHP Selector, this is what I got:
Code: [Select]
"Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /opt/alt/php83/usr/lib/php/extensions/no-debug-non-zts-20230831/
Creating config file
Build Completed
###################"
But How do I select it? Centos still says my PHP is 7.4.33 (this is on BOTH my VPS/servers)
10
PHP / PHP Version Switcher / PHP Selector not updating PHO
« on: February 23, 2024, 05:35:53 PM »
I have 2 servers, BOTH have the same issue.
Apache version: Apache/2.4.57
PHP version: 7.4.33
MySQL version: 10.4.33-MariaDB
They are 4 core, 8gb ram (VPS in on KVM)
Distro Name: CentOS Linux release 7.9.2009 (Core)
Kernel Version: 3.10.0-1160.108.1.el7.x86_64
Platform: x86_64 kvm
I am using Centos Web Panel Pro. Now to the issue
Tried updating PHP from 7.4.33 to 8.3.1 - Waited 15-20 minutes. Final message on the Screen/Log is "Build Complete"
Even tried rebooting the server but the build is still 7.4.33 What am I doing wrong?
I tried searching the forum and found a couple of people who said it might be a memory issue (they had less than 2gb ram.. But I have 8gb ram!)
Hope someone can help
Apache version: Apache/2.4.57
PHP version: 7.4.33
MySQL version: 10.4.33-MariaDB
They are 4 core, 8gb ram (VPS in on KVM)
Distro Name: CentOS Linux release 7.9.2009 (Core)
Kernel Version: 3.10.0-1160.108.1.el7.x86_64
Platform: x86_64 kvm
I am using Centos Web Panel Pro. Now to the issue
Tried updating PHP from 7.4.33 to 8.3.1 - Waited 15-20 minutes. Final message on the Screen/Log is "Build Complete"
Even tried rebooting the server but the build is still 7.4.33 What am I doing wrong?
I tried searching the forum and found a couple of people who said it might be a memory issue (they had less than 2gb ram.. But I have 8gb ram!)
Hope someone can help
11
PHP / Re: PHP Version Switcher
« on: February 23, 2024, 05:16:16 PM »
I am on version 7.4
Tried switching to 8.3.1
Many times. Process gets complete.. but PHP is still on 7.4
This is happening on 2 Web Panels (i have 2 servers.. both have Centos webpanel PRO.. )
Any suggestions pls?
Tried switching to 8.3.1
Many times. Process gets complete.. but PHP is still on 7.4
This is happening on 2 Web Panels (i have 2 servers.. both have Centos webpanel PRO.. )
Any suggestions pls?
12
E-Mail / How to enable SSL/TLS and ports 995 and 465/587 for POP email
« on: May 16, 2023, 11:33:07 AM »
I have set up a mail server for my website and can access emails via the unsecured 110 and 25 ports but If I try to connect via SSL to port 995, I keep getting an error.
Can someone point me, as to what do i need to do?
Thanks a LOT in advance!
(Centos 7)
Can someone point me, as to what do i need to do?
Thanks a LOT in advance!
(Centos 7)
13
Updates / Re: Manually Updating MariaDB (from 10.2)
« on: September 04, 2022, 12:09:12 PM »
For anyone else facing the same issue, I followed this step by step: https://linuxglobe.com/centos/centos-7/upgrading-mariadb-10-2-to-10-3-on-centos-7.html
and It worked. So far, no issues
Now I am wondering, should I update to 10.6? Any suggestions?
My main reason for updating was, I was getting too many 524 errors on website of client. Not sure if this will help but worth a try
and It worked. So far, no issues
Now I am wondering, should I update to 10.6? Any suggestions?
My main reason for updating was, I was getting too many 524 errors on website of client. Not sure if this will help but worth a try
14
Updates / Manually Updating MariaDB (from 10.2)
« on: September 04, 2022, 12:03:27 PM »
Hello,
I am on Centos 7
When I ran "yum update", MariaDB and its components failed to update (got a 404 error from its repo) so I went in /etc/yum.repo and changed MariaDB repo link from
old: https://yum.mariadb.org/10.2/centos7-amd64
to this new: https://yum.mariadb.org/10.3/centos7-amd64
(just changed 10.2 to 10.3), then I did "yum clean all" and then ran "yum update"
many packages got updated but the main one still didn't. Tried it even after whole server reboot but got this error:
Failed:
MariaDB-server.x86_64 0:10.2.41-1.el7.centos
Error in PREIN scriptlet in rpm package MariaDB-server-10.3.36-1.el7.centos.x86_ 64
It says I need to manually remove 10.2 and then install 10.3
I can't risk the clients website on this server. How can I safely (step by step) update MariaDB manually? (also which version should I do it to, 10.6?)
(Screenshot of 'yum update')
I am on Centos 7
When I ran "yum update", MariaDB and its components failed to update (got a 404 error from its repo) so I went in /etc/yum.repo and changed MariaDB repo link from
old: https://yum.mariadb.org/10.2/centos7-amd64
to this new: https://yum.mariadb.org/10.3/centos7-amd64
(just changed 10.2 to 10.3), then I did "yum clean all" and then ran "yum update"
many packages got updated but the main one still didn't. Tried it even after whole server reboot but got this error:
Failed:
MariaDB-server.x86_64 0:10.2.41-1.el7.centos
Error in PREIN scriptlet in rpm package MariaDB-server-10.3.36-1.el7.centos.x86_ 64
It says I need to manually remove 10.2 and then install 10.3
I can't risk the clients website on this server. How can I safely (step by step) update MariaDB manually? (also which version should I do it to, 10.6?)
(Screenshot of 'yum update')
15
Migration from other control panels / Re: Migrate account from cPanel server
« on: January 07, 2020, 05:28:53 PM »
Tried this 2 times.
Both times, database was restored, domain names were restored (but directory setting is not correct) and files were NOT restored!!
1. I can manually unpack files and restore them BUT
2. how do I change the domain settings?
e.g. all domains are pointed to
home/username/public_html
whereas some should be to home/username/public_html/domain.name OR home/username/domain.name
Also, why aren't files getting restored automatically?
P.S IF i manually unpack the files, I still need to change settings cause if I go to domain, ALL domains are set to home/username/public_html/ ( i have 10 domains).
domain 1 -> home/username/public_html/
domain 2 -> home/username/public_html/
etc
need to change to home/username/public_html/domain1.com
etc
how? (apart from deleting each and then readding)
Both times, database was restored, domain names were restored (but directory setting is not correct) and files were NOT restored!!
1. I can manually unpack files and restore them BUT
2. how do I change the domain settings?
e.g. all domains are pointed to
home/username/public_html
whereas some should be to home/username/public_html/domain.name OR home/username/domain.name
Also, why aren't files getting restored automatically?
P.S IF i manually unpack the files, I still need to change settings cause if I go to domain, ALL domains are set to home/username/public_html/ ( i have 10 domains).
domain 1 -> home/username/public_html/
domain 2 -> home/username/public_html/
etc
need to change to home/username/public_html/domain1.com
etc
how? (apart from deleting each and then readding)
Pages: [1] 2