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

Pages: [1] 2
1
Apache / rebuild vhosts
« on: October 23, 2025, 07:05:56 AM »
Hello,

Do you know if there is any way to rebuld all apache vhosts from cli ?

Thanks

2
CentOS 9 Problems / monit with AL9
« on: October 18, 2025, 07:35:06 AM »
Hi,

Has anyone been able to configure Monit correctly in a server with Almalinux 9?


3
MySQL / root myql password
« on: October 15, 2025, 08:20:47 AM »
Hello,
I change root mysql password by mistake and now:

Code: [Select]
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart Control Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
You can reset the MySQL root password fast with this command: /scripts/mysql_pwd_reset -q


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

My server is with Almalinux 9 and
Mariadb  Ver 15.1 Distrib 10.11.14-MariaDB

 I try to edit this script to adapt: 
Code: [Select]
/scripts/mysql_pwd_reset

Quote
Enter MySQL root password (NO special characters): Yaj0ahLvXm
Shutting down any mysql processes...
Resetting password... hold on
--------------
UPDATE mysql.user SET Password=PASSWORD('Yaj0ahLvXm'),Authentication_string=PASSWORD('Yaj0ahLvXm') WHERE user='root'
--------------

ERROR 1348 (HY000) at line 1: Column 'Password' is not updatable
Cleaning up...

Password reset has been completed

New MySQL root password: Yaj0ahLvXm

However the problem is not solved :(

Could you help me?

ERROR 1348 (HY000) at line 1: Column 'Password' is not updatable


How can I adapt the code -> /scripts/mysql_pwd_reset so that this error doesn't occur and the password changes correctly?

4
CSF Firewall / Firewall off in cwp panel
« on: October 14, 2025, 03:07:58 PM »
firewall appears disabled in cwp panel

but csf is working correctly

[root@s3 services]# csf -e
csf and lfd are not disabled!

[root@s3 services]# csf -e
csf and lfd are not disabled!


any idea?

5
CentOS 8 Problems / packages update error AlmaLinux 8
« on: October 10, 2025, 12:53:58 PM »
In a fresh VPS with Almalinux8

I have tried to do:

dnf -update


Error:
 Problem: package perl-IO-Compress-2.081-1.el8.noarch from @System requires perl(Compress::Raw::Zlib) >= 2.081, but none of the providers can be installed
  - cannot install both perl-Compress-Raw-Zlib-1:2.061-4.el7.x86_64 from base and perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 from @System
  - cannot install both perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 from baseos and perl-Compress-Raw-Zlib-1:2.061-4.el7.x86_64 from base
  - cannot install the best update candidate for package perl-IO-Compress-2.081-1.el8.noarch
  - cannot install the best update candidate for package perl-Compress-Raw-Zlib-2.081-1.el8.x86_64
  - package perl-Compress-Raw-Zlib-2.093-1.module_el8.3.0+6149+d2c5d96d.x86_64 from appstream is filtered out by modular filtering
  - package perl-Compress-Raw-Zlib-2.096-2.module_el8.10.0+3779+d5938d28.x86_64 from appstream is filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Any idea?

6
MySQL / update mariadb in almalinux 8
« on: September 30, 2025, 07:33:27 PM »
I try to follow these steps: https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/upgrade-mariadb-10-x-to-10-11-in-cwp-on-almalinux-8/

However in step 4

Code: [Select]
dnf install MariaDB-server MariaDB-client net-snmp perl-DBD-MySQL -y
...
Error:
 Problem: package MariaDB-server-10.6.23-1.el8.x86_64 from mariadb requires MariaDB-client >= 10.6.1, but none of the providers can be installed
  - cannot install both MariaDB-client-10.6.21-1.el8.x86_64 from mariadb and MariaDB-client-10.5.29-1.el8.x86_64 from cwp
  - cannot install both MariaDB-client-10.6.22-1.el8.x86_64 from mariadb and MariaDB-client-10.5.29-1.el8.x86_64 from cwp
  - cannot install both MariaDB-client-10.6.23-1.el8.x86_64 from mariadb and MariaDB-client-10.5.29-1.el8.x86_64 from cwp
  - cannot install the best candidate for the job
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

my repository:

Code: [Select]
[root@s3 src]# cat /etc/yum.repos.d/mariadb.repo
# MariaDB 10.11 RedHatEnterpriseLinux repository list - created 2025-09-30 19:31 UTC
# https://mariadb.org/download/
[mariadb]
name = MariaDB
# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# baseurl = https://rpm.mariadb.org/10.11/rhel/$releasever/$basearch
baseurl = https://mirrors.up.pt/pub/mariadb/yum/10.11/rhel/$releasever/$basearch
module_hotfixes = 1
# gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgkey = https://mirrors.up.pt/pub/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1

could help me?

7
May 15 18:52:11 s2.server.com spamd[14714]: prefork: child states: II
May 15 18:52:12 s2.server.com spamd[14716]: spamd: connection from localhost [::1]:36216 to port 783, fd 6
May 15 18:52:12 s2.server.com spamd[14716]: spamd: setuid to nobody succeeded
May 15 18:52:12 s2.server.com spamd[14716]: spamd: creating default_prefs: //.spamassassin/user_prefs
May 15 18:52:12 s2.server.com spamd[14716]: config: cannot create user preferences file //.spamassassin/user_prefs: No such file or directory
May 15 18:52:12 s2.server.com spamd[14716]: spamd: failed to create readable default_prefs: //.spamassassin/user_prefs
May 15 18:52:12 s2.server.com spamd[14716]: spamd: processing message <20250515165211.76CEA48265@documentos09i.spinazulficabemmelhor.sbs> for nobody:99
May 15 18:52:14 s2.server.com spamd[14716]: spamd: identified spam (6.2/5.0) for nobody:99 in 1.9 seconds, 2795 bytes.
May 15 18:52:14 s2.server.com spamd[14716]: spamd: result: Y 6 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,MPART_ALT_DIFF,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_MSPIKE_H2,RCVD_IN_PSBL,RCVD_IN_VALIDITY_RPB...
May 15 18:52:14 s2.server.com spamd[14714]: prefork: child states: II
Hint: Some lines were ellipsized, use -l to show in full.

any idea to fix this error?

8
Suggestions / posibility to restore backup via cli
« on: November 03, 2024, 09:24:52 AM »
It would be great to be able to use a script like in cPanel with restorepkg

with new backup CWP



9
New Modules / cloudflare module
« on: October 24, 2024, 07:56:38 AM »
Does anyone have any module to integrate Cloudflare in CWP user panel?

10
Aplications / 2fa not working
« on: October 14, 2024, 10:55:12 AM »
I have tested in two differents servers, and 2fa is not working.
Google QR is not loading :(

Does it work for you?

11
How to / local environment to create themes
« on: September 18, 2024, 02:53:33 PM »
Hi,

How can I create a local environment to create/modify CWP themes?

Anyone know how use TWIG for this?

12
Nginx / custom to block /whm
« on: September 07, 2023, 06:46:57 AM »
Hi,
I need to block domain.com/whm

¿How can I block this?


13
CSF Firewall / unlock ip
« on: August 24, 2023, 11:10:29 AM »
Is there any option to unlock ips from other server via api?
Like in cPanel from https://server:2087/cgi/configserver/csf.cgi?action=kill&ip=XXX.XXX.

Or any option to be able unlock one ip from whmcs, or similar?

14
CentOS-WebPanel Bugs / 2FA not working
« on: March 16, 2023, 12:51:01 PM »
Hi,

I am triying to use 2FA in user panel, but not working

Is there a bug?

does it work for you?

15
Backup / New backup restoration
« on: November 14, 2022, 03:56:16 PM »
Hi,

Is there any option to users are able to restore a backup generated from new backup tool?

i.e. not from admin panel but restore these backups from your user control panel

Thanks

Pages: [1] 2