Author Topic: My Web Sites are all Down  (Read 4894 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
My Web Sites are all Down
« on: April 23, 2020, 11:56:04 PM »
I submitted the below to support, but am posting here in case anyone has any ideas. My websites are all down!

I noticed that CWP needed an update. I updated it... it became non-responsive. I restarted it... nothing. I rebooted the server, now my websites are all down. What do I need to do to restore my websites.

Here is the log that support asks for:

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--100   899  100   899    0     0   4424      0 --:--:-- --:--:-- --:--:--  4428
===============================================
Kernel:
Linux brianjd.com 3.10.0 #1 SMP Mon Dec 9 19:36:21 MSK 2019 x86_64 x86_64 x86_64 GNU/Linux

CPU info:
model name      : Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz

Release:
CentOS Linux release 7.7.1908 (Core)

Arch:
x86_64

Virtualization Type:
openvz
lxc

Memory:
              total        used        free      shared  buff/cache   available
Mem:           2048         214        1145           2         687        1830
Swap:           512           0         512

MySQL info:
mysql  Ver 15.1 Distrib 10.4.12-MariaDB, for Linux (x86_64) using readline 5.1

Disk Info:
Filesystem         Size  Used Avail Use% Mounted on/dev/ploop20583p1   40G  9.0G   29G  24% /
none               1.0G     0  1.0G   0% /sys/fs/cgroup
none               1.0G     0  1.0G   0% /dev
tmpfs              1.0G     0  1.0G   0% /dev/shm
tmpfs              1.0G  272K  1.0G   1% /run
tmpfs              205M     0  205M   0% /run/user/0


Apache PHP info:
PHP 7.3.16 (cli) (built: Mar 22 2020 15:36:04) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.16, Copyright (c) 1998-2018 Zend Technologies

Apache start script check:
grep: /etc/init.d/httpd: No such file or directory

CWP Admin check:
/usr/local/cwpsrv/htdocs/admin

CWP version:
PHP Fatal error:  The file /usr/local/cwpsrv/htdocs/resources/scripts/cwp_version was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.
 Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

===============================================

Offline
*
Re: My Web Sites are all Down
« Reply #1 on: April 24, 2020, 12:36:27 AM »
Support was super fast! And they fixed it!

please run this

chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.961.zip
unzip -o -q cwp-el7-0.9.8.961.zip
rm -f cwp-el7-0.9.8.961.zip

cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip

Offline
**
Re: My Web Sites are all Down
« Reply #2 on: April 24, 2020, 03:30:33 AM »
Support was super fast! And they fixed it!

please run this

chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget static.cdn-cwp.com/files/cwp/el7/cwp-el7-0.9.8.961.zip
unzip -o -q cwp-el7-0.9.8.961.zip
rm -f cwp-el7-0.9.8.961.zip

cd /usr/local/cwpsrv/var/services/
wget static.cdn-cwp.com/files/cwp/el7/cwp-services.zip
unzip -o -q cwp-services.zip
rm -f cwp-services.zip

Exactly what I was looking for. Thank you for the post.

Offline
*
Re: My Web Sites are all Down
« Reply #3 on: April 24, 2020, 04:28:29 AM »
me2, the cwp service down afte update

thx, Now it's work