Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
Installation / Re: Varnish does not install with cwp-el9-latest - Fixed
« Last post by thefantas on June 04, 2026, 05:52:28 AM »


It doesn't say it's in beta; in fact, they recommend AlmaLinux versions 8 and 9.
Regards.
32
Maybe that's what hit our datacenter last Sunday afternoon/evening. Knocked everything out for hours with a major DDoS.
33
CSF Firewall / FYI - OWASP CRS Ruleset v4.27.0
« Last post by Starburst on June 03, 2026, 06:38:13 PM »
Just a quick FYI, if you are using the OWASP CRS ruleset with CSF, they released 4.27.0 on Monday (2026-06-01)

Also I try and keep any OWASP CRS security notifications at:
https://sysadmin.help/viewforum.php?f=43&sid=0fe95c9ec0fc6690ab773d6d681daed5
34
https://cybersecuritynews.com/http-2-bomb-remote-dos-exploit/

If you are running Apache <2.4.67 or Nginx <1.29.7, Please update ASAP.
35
Installation / Re: Varnish does not install with cwp-el9-latest - Fixed
« Last post by overseer on June 03, 2026, 03:33:32 AM »
Thanks for that!
But be advised that CWP's EL9 support is only in beta, so consider it a bug/incompatibility. AlmaLinux 8 is the current recommended disto to use with CWP for FULL compatibility. But glad you were able to produce a workaround for the sake of the community!
36
Installation / Varnish does not install with cwp-el9-latest - Fixed
« Last post by thefantas on June 03, 2026, 12:04:05 AM »
Hello, I recently installed CWP on AlmaLinux 9 (https://dl1.centos-webpanel.com/files/cwp-el9-latest) and to my surprise, when I go to WebServers_manage and select Nginx & Varnish & Apache, Varnish NEVER installs. By analyzing cwpsrv with stress-ng, I was able to detect exactly where the error is.

The strace accurately reveals why the installer was failing silently:

The panel tries to download a non-existent script (varnish.sh returns a 404 at https://dl1.centos-webpanel.com/files/s_scripts/el9/varnish.sh).

Then, it tries to apply a sed command to /etc/varnish/varnish.params. This throws an "Exit Code 2" because Varnish no longer uses that file in AlmaLinux 9.

Finally, it crashes when trying to clean /etc/varnish/conf.d/vhosts because the directory simply does not exist.

In the end, PHP generates the .vcl files, but the daemon is never actually installed or started.

The following EL8 script logic was used as a reference to build the fix: https://dl1.centos-webpanel.com/files/s_scripts/el8/varnish.sh



Code: [Select]
# 1. Install repositories and clean dependencies
dnf -y install epel-release jemalloc --enablerepo=epel
curl -s https://packagecloud.io/install/repositories/varnishcache/varnish64/script.rpm.sh | bash
dnf -y module disable varnish
dnf -y install varnish

# 2. Build the directory structure that the panel assumes exists
mkdir -p /etc/varnish/conf.d/vhosts
touch /etc/varnish/conf.d/vhosts.conf

# 3. Patch the CWP bug (The phantom file)
# We create this file to prevent the panel's internal "sed" from throwing Exit Code 2
echo "VARNISH_LISTEN_PORT=82" > /etc/varnish/varnish.params

# 4. Modify the master port at the Systemd level (The definitive way)
if [ -e "/usr/lib/systemd/system/varnish.service" ]; then
    sed -i "s|6081|82|g" /usr/lib/systemd/system/varnish.service
    systemctl daemon-reload
fi

# 5. Force PHP to regenerate the vHosts with the repaired structure
sh /scripts/cwpsrv_rebuild_user_conf

# 6. Bring up the proxy chain in order
systemctl enable --now varnish
systemctl restart httpd
systemctl restart varnish
systemctl restart nginx

I hope they update WebServers_manage
37
CentOS-WebPanel Bugs / Re: i can't loging in my reseller panel
« Last post by mkaioh2 on June 02, 2026, 05:15:30 AM »
It's not the browser; it's just that since I recently switched servers, my reseller didn't have a package assigned to me on the new server, so GPT chat helped me solve it XD. It helped me assign a package since I know absolutely nothing about commands or configuration, but anyway, I managed to access my account.
38
CentOS-WebPanel Bugs / Re: i can't loging in my reseller panel
« Last post by overseer on June 01, 2026, 06:24:43 PM »
Did you try another browser? Private browsing / Incognito mode? You need to eliminate the possibility that it is a local browser issue (incompatible extension or ad blocker interfering).
39
Backup / Re: New Backup Beta
« Last post by overseer on June 01, 2026, 06:23:03 PM »
Acknowledged bug -- should be fixed with the next update (as the dev has promised)...
40
CentOS-WebPanel GUI / Re: Bug in GUI for New Backup (beta)
« Last post by Martins-phpbb on June 01, 2026, 05:58:15 PM »
SMB is working  ftp fails as it looks like it saving the ftp password twice hence  login fails.

10 char password becomes 20 chars after you save it.
Pages: 1 2 3 [4] 5 6 ... 10