New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

New update broke http conf files and php fpm

Started by vbpal, December 30, 2021, 01:29:08 PM

Previous topic - Next topic

vbpal

CWP folks,

The latest update that happened overnight completely hosed my system. It appears that the following was changed:

ALL php-fpm user files have characters in them like:  [꣫end%] instead of [username] it looks like the template files have errors in them which caused the change.

All my webserver configurations were rebuilt including ones that were customized.

Folks, we cannot willy nilly change out configuration files. This is still causing me hours of downtime and rebuilding from scratch. There is no good reason to do this without proper warning and testing

DaveF

Having massive issues here too. Did something with the SSL and I can't find the issue.
Anyone else seeing this?

mgworek

Quote from: DaveF on December 30, 2021, 01:46:56 PM
Having massive issues here too. Did something with the SSL and I can't find the issue.
Anyone else seeing this?

Check your host files and see the 2 topics below. My vhosts are being over written every night for the past 2 nights. could be bandwidth bug or whatever is described.

Comenius

With the recent nightly automatic update, it seems like the CWP web service has bound to port 443 instead of its custom SSL port, which is causing the normal Apache web service to fail when it attempts to bind to it as well?

[~]$ netstat -tulpn | grep :443
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      4657/cwpsrv: master

● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2021-12-30 07:51:27 PST; 2s ago
  Process: 32736 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Dec 30 07:51:27 systemd[1]: Starting Web server Apache...
Dec 30 07:51:27 apachectl[32736]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
Dec 30 07:51:27 apachectl[32736]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:443
Dec 30 07:51:27 apachectl[32736]: no listening sockets available, shutting down
Dec 30 07:51:27 apachectl[32736]: AH00015: Unable to open logs
Dec 30 07:51:27 systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 30 07:51:27 systemd[1]: Failed to start Web server Apache.
Dec 30 07:51:27 systemd[1]: Unit httpd.service entered failed state.
Dec 30 07:51:27 systemd[1]: httpd.service failed.

Comenius

To get my sites back up and running I had to comment out all of the lines in /usr/local/apache/conf.d/ssl.conf

Definitely not a long term solution for people who need SSL from Apache.

Hopefully the CWP folks can figure out a permanent fix!

hdview

cwp they just messed with new update,  i can't even update my cwp pro. anyone can help me  :-\

iam getting this
i can't update cwp pro due to problem.
[root@******~]# /scripts/update_cwp
Could not open input file: /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

not working.

Netino

As reported by CWP team, the solutions is just:

rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all


The first command remove all bandwidth limits from your sites, and the second rebuil all sites configurations of your webservers.

Regards,
Netino

Netino

Quote from: hdview on December 30, 2021, 07:56:35 PM
(...)
i can't update cwp pro due to problem.
[root@******~]# /scripts/update_cwp
Could not open input file: /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

not working.

Try first the following command, to update Ioncube loader:

# /scripts/update_ioncube


After that, try the command:

/scripts/update_cwp


linkses

Hi,

we have the same issue here, every conf file were built again overwritting the ones that we had changed, this cause downtime in our servers, and we need to act every day. The problem is that this issue is happening every night at 3 AM.

Every time this process change domain .conf files and templates files, changing

Our config
<VirtualHost *:80>

To
<VirtualHost IP:80>

Thanks

hdview

Quote from: Netino on December 31, 2021, 03:55:11 AM
Quote from: hdview on December 30, 2021, 07:56:35 PM
(...)
i can't update cwp pro due to problem.
[root@******~]# /scripts/update_cwp
Could not open input file: /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php

not working.

Try first the following command, to update Ioncube loader:

# /scripts/update_ioncube


After that, try the command:

/scripts/update_cwp



stil same problem. not working :(

Netino

#10
Quote from: hdview on December 31, 2021, 10:44:14 AM
stil same problem. not working :(

No error messages?
I can't guess what happen in your server without error messages.

Any error log messages?

After /scripts/update_cwp' command, you *must* to run:

rm -f /usr/local/cwp/users/suspended/*.bandwidth
/scripts/cwp_api webservers rebuild_all


mgworek

Day 3 of this happening.

The script command isn't working.

sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
mkdir: cannot create directory '/etc/varnish/conf.d': No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
ls: cannot access /etc/varnish/conf.d/vhosts/*.conf: No such file or directory

** (pkttyagent:23902): WARNING **: 04:00:00.159: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)

mgworek

ok, i disabled Hide all processes and now i get this with the script so not sure if it worked or not

sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
mkdir: cannot create directory '/etc/varnish/conf.d': No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
ls: cannot access /etc/varnish/conf.d/vhosts/*.conf: No such file or directory

Netino

Quote from: mgworek on January 01, 2022, 04:09:04 AM
ok, i disabled Hide all processes and now i get this with the script so not sure if it worked or not

sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
mkdir: cannot create directory '/etc/varnish/conf.d': No such file or directory
sh: /etc/varnish/default.vcl: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
sh: /etc/varnish/conf.d/vhosts.conf: No such file or directory
ls: cannot access /etc/varnish/conf.d/vhosts/*.conf: No such file or directory

You have enabled and installed Varnish Server in CWP panel?