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 - MarioG

Pages: [1]
1
MySQL / Re: Alma 8.1 VM with latest CWP and MariaDB update problems
« on: March 22, 2025, 09:41:45 AM »
Thanks for your reply and solution.  I thought 10.11 wasn't supported by CWP, but followed the instructions on that link.  I did get this message on the line to yum install MariaDB-server:

Error: Transaction test error:
  file /usr/share/man/man1/mariabackup.1.gz from install of MariaDB-server-10.11.11-1.el8.x86_64 conflicts with file from package mariadb-backup-3:10.3.39-1.module_el8.8.0+3609+204d4ab0.x86_64
  file /usr/share/man/man1/mbstream.1.gz from install of MariaDB-server-10.11.11-1.el8.x86_64 conflicts with file from package mariadb-backup-3:10.3.39-1.module_el8.8.0+3609+204d4ab0.x86_64


So I removed the mariadb-backup package, tried again, and all was good.

2
MySQL / Alma 8.1 VM with latest CWP and MariaDB update problems
« on: March 21, 2025, 08:11:54 PM »
I've seen 2 similar messages, but none of the solutions worked for me.

I have a new AlmaLinux 8.10 VM with 6GB RAM and 4 vCPU, and did a 'dnf update' with no problems.
I then installed CWP, again with no problems.  I can login, setup items, firewalls, etc.
When I try to update from the CWP GUI, I get a message:

Last metadata expiration check: 0:02:01 ago on Fri Mar 21 14:30:53 2025.
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

When I now try to do a 'dnf update' from CLI, I get this:

CentOS Web Panel repo for Linux 8 - x86_64     1.0 MB/s | 305 kB     00:00
AlmaLinux 8 - BaseOS                           23 MB/s |  19 MB     00:00
AlmaLinux 8 - AppStream                        11 MB/s |  17 MB     00:01
AlmaLinux 8 - Extras                           46 kB/s |  14 kB     00:00
AlmaLinux 8 - PowerTools                       4.8 MB/s | 4.4 MB     00:00
AlmaLinux 8 - PowerTools Source                292 kB/s | 139 kB     00:00
AlmaLinux 8 - PowerTools debuginfo             1.2 MB/s | 744 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64 8.5 MB/s |  14 MB     00:01
MariaDB                                        310 kB/s | 614 kB     00:01
Error:
 Problem 1: package MariaDB-shared-10.5.28-1.el8.x86_64 from mariadb requires MariaDB-common, but none of the providers can be installed
  - cannot install the best update candidate for package mariadb-connector-c-3.1.11-2.el8_3.x86_64
  - package MariaDB-common-10.5.26-1.el8.x86_64 from mariadb is filtered out by modular filtering
  - package MariaDB-common-10.5.27-1.el8.x86_64 from mariadb is filtered out by modular filtering
  - package MariaDB-common-10.5.28-1.el8.x86_64 from mariadb is filtered out by modular filtering
 Problem 2: package MariaDB-shared-10.5.28-1.el8.x86_64 from mariadb requires MariaDB-common, but none of the providers can be installed
  - cannot install the best update candidate for package mariadb-connector-c-config-3.1.11-2.el8_3.noarch
  - package MariaDB-common-10.5.26-1.el8.x86_64 from mariadb is filtered out by modular filtering
  - package MariaDB-common-10.5.27-1.el8.x86_64 from mariadb is filtered out by modular filtering
  - package MariaDB-common-10.5.28-1.el8.x86_64 from mariadb is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


This error appears with a completely new installation of Alma8 and CWP.  I wouldn't think I need to do any more.

I tried instructions from here, similar results:
https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version

I checked the module list:
[root@rn1 ~]# dnf module list mariadb
Last metadata expiration check: 0:03:27 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
AlmaLinux 8 - AppStream
Name             Stream       Profiles                     Summary
mariadb          10.3 [d]     client, galera, server [d]   MariaDB Module
mariadb          10.5 [e]     client, galera, server [d]   MariaDB Module
mariadb          10.11        client, galera, server [d]   MariaDB Module


I tried to disable everything but the 10.5 stream, but it seems to re-enable them back to normal:

[root@rn1 ~]# dnf module disable mariadb -y
Last metadata expiration check: 0:08:06 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[root@rn1 ~]# dnf module list mariadb
Last metadata expiration check: 0:08:12 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
AlmaLinux 8 - AppStream
Name                  Stream       Profiles                     Summary
mariadb               10.3 [d]
  •   client, galera, server [d]   MariaDB Module

mariadb               10.5
  •      client, galera, server [d]   MariaDB Module

mariadb               10.11
  •     client, galera, server [d]   MariaDB Module


Hint: [d]efault, [e]nabled,
  • disabled, nstalled
[root@rn1 ~]# dnf module enable mariadb:10.5 -y
Last metadata expiration check: 0:08:34 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
Dependencies resolved.
==============================================================================
 Package                   Architecture        Version      Repository    Size
==============================================================================
Enabling module streams:
 mariadb                                                                                  10.5

Transaction Summary
==============================================================================

Complete!

[root@rn1 ~]# dnf module list mariadb
Last metadata expiration check: 0:08:47 ago on Fri 21 Mar 2025 03:13:35 PM EDT.
AlmaLinux 8 - AppStream
Name               Stream       Profiles                      Summary
mariadb            10.3 [d]     client, galera, server [d]    MariaDB Module
mariadb            10.5 [e]     client, galera, server [d]    MariaDB Module
mariadb            10.11        client, galera, server [d]    MariaDB Module


I tried this:

https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-install-tutorials/updated-cwp-installer-script-for-almalinux-8-with-mariadb-10-6/

But that script fails with this:

No match for argument: cwp-httpd
Error: Unable to find a match: cwp-httpd
Last metadata expiration check: 0:01:32 ago on Fri 21 Mar 2025 03:52:09 PM EDT.
No match for argument: cwp-suphp
Error: Unable to find a match: cwp-suphp

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   1812      0 --:--:-- --:--:-- --:--:--  1812
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory



3
CentOS 7 Problems / Re: Clamav + Amavis not auto starting
« on: May 18, 2019, 08:27:53 PM »
I had a similar issue with spamassassin.  For me, I manually enabled it from the shell:
systemctl enable spamassassin

It's now enabled on reboot.

4
CentOS-WebPanel GUI / Re: Security - Hide all processes
« on: May 18, 2019, 11:17:47 AM »
I had the same issue.  After a reboot, it defaulted to not being implemented.  I personally opted for a manual fix.

This feature uses the hideid option when mounting the /proc folder.  I made it a permanent fix by adding the following line to my /etc/fstab file:

proc   /proc    proc   defaults,hidepid=2   0   0

Warning: Be very careful, as an incorrect fstab file can stop your machine from booting properly.  Make backups or snapshots.

Hopefully, a future CWP update will resolve this.

5
CentOS-WebPanel Bugs / Re: Mysql Manager not respond
« on: May 16, 2019, 04:41:41 PM »
It should work if you make sure the new name has no underscores or dashes in it.  I just spent an hour realizing this when I created databases lp and then lp_wp, and all kinds of things went haywire when I tried to add lp_wp (including the endless 'Processing...').

So, the defect is that either the underscores should be allowed, or the user should be notified that names can't contain them.  But at least avoiding the underscores for now you can continue working.

Pages: [1]