Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Mod_Security / Re: After installing Mod Security, Apache cannot start
« Last post by gailclark80 on April 04, 2026, 12:55:00 AM »
OS: AlmaLinux release 9.6
Mod Security version: Mod Security has been uninstalled, I don't know
Ruleset. I tried OWASP old and Comodo WAF, and Apache cannot start with either.
22
Mod_Security / Re: After installing Mod Security, Apache cannot start
« Last post by overseer on April 04, 2026, 12:47:05 AM »
What OS/distribution are you running? CWP-provided Mod Security version? What ruleset?
Under AlmaLinux 8, lines one and two in my /usr/local/apache/conf.d/mod_security.conf file are:
Code: [Select]
LoadFile /usr/lib64/libxml2.so
LoadFile /usr/lib64/liblua-5.1.so
23
Mod_Security / After installing Mod Security, Apache cannot start
« Last post by gailclark80 on April 04, 2026, 12:37:39 AM »
After installing Mod Security, Apache cannot start. In the log, I saw the following error. How should I fix it?

Apr  4 00:26:59 li117 systemd[1]: Starting Web server Apache...
Apr  4 00:26:59 li117 kernel: Firewall: *UDP_OUT Blocked* IN= OUT=eth0 SRC=117.000.000.000 DST=110.000.000.000 LEN=
Apr  4 00:26:59 li117 apachectl[3256381]: httpd: Syntax error on line 513 of /usr/local/apache/conf/httpd.conf: Syntax error on line 2 of /usr/local/apache/conf.d/mod_security.conf: Cannot load /usr/lib64/ into server: /usr/lib64/: cannot read file data: Is a directory
Apr  4 00:26:59 li117 systemd[1]: httpd.service: Control process exited, code=exited, status=1/FAILURE
Apr  4 00:26:59 li117 systemd[1]: httpd.service: Failed with result 'exit-code'.
Apr  4 00:26:59 li117 systemd[1]: Failed to start Web server Apache.
24
Updates / Re: Roundcube vulnerability
« Last post by overseer on April 03, 2026, 02:18:35 AM »
Update to the script listed here:
http://forum.centos-webpanel.com/updates/roundcube-vulnerability/msg53064/#msg53064
Hi cyberspace,
Just used your script to update to 1.5.15 LTS -- on one server it worked fine, but on another server it errored out due to the system() function being disabled in that version of PHP, yet your script proceeded to report that the install had succeeded. I think you need to put some conditional logic around this code block to check for actual success before reporting success:
Code: [Select]
echo "Update completed successfully!"
echo "Now running version: $latest_version"
25
CentOS 9 Problems / Re: EL9 recent update casusing boot issue
« Last post by Starburst on April 02, 2026, 06:18:17 PM »
Its on VM. Startup RAM was 1GB. But allocated RAM is 20GB+

Interesting...

I've installed CWP with AL9 on a single AMD vCPU with 1GB before.
26
Information / Re: Installing CWP on AlmaLinux 9
« Last post by overseer on April 02, 2026, 02:13:49 PM »
I've posted the basic setup steps here in the forums a couple times.
Here it is again, or you also have options of people that can get the basic installed for you.

You can't have any services installed before installing CWP.

So if Apache is working 'out of the box', you are installing AlmaLinux 9.4 LAMP.
That won't work.

Reimage with the bare AlmaLinux 9.5

Setup your networking, hostname, timzone.

Then:

Code: [Select]
dnf install dnf-plugins-core
Code: [Select]
dnf install elrepo-release epel-release -y
Code: [Select]
dnf config-manager --set-enabled crb
Code: [Select]
dnf --refresh update
Code: [Select]
dnf install nano wget ipset ebtables iptables ipset-service uuid uuid-devel libuuid-devel m4 pcre pcre-devel zlib-devel perl-DBD-MySQL perl-IPC-Cmd perl-Pod-Html perl-Sys-Hostname perl-libwww-perl.noarch perl-LWP-Protocol-https.noarch perl-GDGraph libtool s-nail htop sysstat python3-perf ImageMagick ImageMagick-devel nmap make quota cockpit* -y
Code: [Select]
dnf --refresh update
Code: [Select]
dnf install clamav* clamd
Code: [Select]
dnf clean all
Code: [Select]
cd /usr/local/src
Code: [Select]
wget http://centos-webpanel.com/cwp-el9-latest
Code: [Select]
sh cwp-el9-latest
Code: [Select]
dnf install spamassassin amavis
Reboot

Configure & Start CSF

UPDATE DEPENDENCIES
Code: [Select]
dnf install php-cli libsodium libsodium-devel php-sodium php-pecl-zip  php-pecl-mailparse php-mbstring php-pear php-devel php-pecl-imagick
Code: [Select]
pecl channel-update pecl.php.net
To updated MariaDB follow:
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/

The one string to re-install MariaDB has been updated, or you'll get an error.
Run this instead:
Code: [Select]
dnf install MariaDB-server MariaDB-client net-snmp perl-DBD-MySQL --allowerasing
There are other steps, but everyone customizes their servers differently.
27
Information / Re: Modernizing CWP: Drop EOL, Support AL9, AL10 & Rocky
« Last post by ghoste on April 02, 2026, 12:47:59 PM »
We have the cwp panel 9 version - which on the official website is no longer BETA, it appears as the official recommended version.

If we install from 0 almalinux 9 - and then cwp panel the latest version, according to the procedure on the site, still a lot of bugs, for example:

Setup default Web Servers nginx+varnish+apache, but you will see that varnish does not work, if you install it manually at Varnish Conf this notification appears: Varnish NOT installed or conf file /etc/varnish/varnish.params does not exist
On CentOS 8 you can edit file: /usr/lib/systemd/system/varnish.service,

then at the clamd email services - it runs permanently, if I send myself an email from g-mail it enters the inbox at cwp test@mycompany.com after 10 minutes, (all zones configured correctly, dns, all impeccable, all perfect on mxtoolbox),

the spamassasin service has an error: razor2: razor2 check failed: No such file or directory razor2: Can't read: /var/lib/razor/ at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/Razor2.pm line 331. ,

another situation, CSF LFD firewall, if you do not disable SELINUX MANUALLY, it does not work....

and we do not know in the end if the vulnerabilities have been resolved.
I saw that version 0.9.8.1224 appeared - but again we do not know any changelog.

Attention I am talking here about cwp PRO, and many servers, with which we are in standbay to see where we are heading, migrate to another solution or come with clear news about what is happening

Quick guide EL9/ Almalinux 9

hostnamectl set-hostname srv.example.com
dnf install epel-release -y
dnf -y install wget
dnf -y update
reboot
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el9-latest
sh cwp-el9-latest

if there is an advanced setup, which will work all the services as they should, why don't you post it? (I see that you have: Order Installation from Experts for $5.49) - for what?
28
CentOS 9 Problems / Re: EL9 recent update casusing boot issue
« Last post by sETu on March 31, 2026, 10:50:55 PM »
Its on VM. Startup RAM was 1GB. But allocated RAM is 20GB+
29
CentOS-WebPanel GUI / Re: CWPPRO License Message
« Last post by cHAp on March 31, 2026, 03:08:46 PM »
1. Check in the CWP customer area to see if the IP address is correctly assigned to the license.

2. Run the command: /scripts/update_cwp (Yes, this is the update command, but do it just to be safe, since version 1224 was released today.)

3. If that doesn't work, try /scripts/reload_cwp. This will restart CWP!

Then check if that worked. I had this problem with an earlier version.
30
CentOS-WebPanel GUI / CWPPRO License Message
« Last post by rustylh on March 31, 2026, 02:14:23 PM »
My server is running CWPpro version: 0.9.8.1224. Everything works on the admin panel. However, when I go into the user panel PHP Selector it shows "You need a CWPPRO license to use this module. Contact your server administrator"

Any ideas?
Pages: 1 2 [3] 4 5 ... 10