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.


Messages - rcschaff

Pages: [1] 2 3 ... 32
1
SSL / Re: how to add ssl to virtual subdomain
« on: July 12, 2020, 09:47:06 PM »
A CSR isn't a certificate.

add your subdomain as you did.  As root user

/root/.acme.sh/acme.sh --config-home /root/.acme.sh/cwp_certs/ --issue --apache -d (subdomain)

then in the apche.conf, use the fullchain.cer file for the cert, and the .key


Easier option would be to add an account into CWP as a user and let the program do it itself.

2
Apache / Re: httpd.service failed. i need help !!!
« on: June 22, 2020, 12:15:50 AM »
Run the two commands it tells you to and post those logs.

3
Addons / Re: Custom nginx vhost for magento2
« on: June 19, 2020, 05:36:45 AM »
Your using Nginx as a reverse proxy to Apache or Varnish.  You don't need any of that stuff in a reverse proxy.  Your final endpoint (Apache) needs to be configured to handle the redirects, and nginx will just server static files and serve the rest back to varnish-> Apache. 

What you posted would be an nginx only setup.

4
cd to the nginx folder that was just untared

5
Give this a shot and see if it works.

http://forum.centos-webpanel.com/index.php?topic=8980.0

6
CentOS 7 Problems / Re: (70007)The timeout specified has expired
« on: June 06, 2020, 06:07:48 AM »
I would recommend turning off force fpm then, and see what happens.  If there are 1000 sites, there should be an equal number of sock files for each user account.

7
CentOS 7 Problems / Re: (70007)The timeout specified has expired
« on: June 06, 2020, 04:50:45 AM »
Are those the only 3 sites running on the server?

8
CentOS 7 Problems / Re: (70007)The timeout specified has expired
« on: June 06, 2020, 04:33:02 AM »
please reply with printout from:

ls -al /opt/alt/php-fpm70/usr/var/sockets

9
CentOS 7 Problems / Re: (70007)The timeout specified has expired
« on: June 06, 2020, 04:14:31 AM »
check systemctl status php-fpm70

if it's not running
systemctl start php-fpm70
systemctl enable php-fpm70

otherwise post the status.

10
CentOS 7 Problems / Re: hello, web try to update cwp get errors!!
« on: June 06, 2020, 04:13:20 AM »
This usually happens when trying to restart a systemd service.

The workaround is as follows:

groupadd -g 23 nohidproc
usermod -a -G nohidproc polkitd
mount -o remount,rw,hidepid=2,gid=nohidproc /proc
systemctl restart polkit
Add the following in /etc/fstab as well
echo "proc /proc proc defaults,hidepid=2,gid=nohidproc 0 0" >> /etc/fstab

After mount the new mountpoint

mount -a
systemctl restart polkit

11
Your going to want to reinstall mysql/mariadb.  After reinstalling, you will have to restore databases.

12
What were you deleting??

Manual Reinstall the files with the following:

Code: [Select]
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
```

**Manual update CentOS 6 (ignore if you have CentOS 7)**
```
chattr -i -R /usr/local/cwpsrv/htdocs
cd /usr/local/cwpsrv/htdocs
wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.765.zip
unzip -o cwp2-0.9.8.765.zip
rm -f cwp2-0.9.8.765.zip
```


**Manual update for services (This steep must be done for CentOS 6 and 7)**
```
chattr -R -i /usr/local/cwpsrv/var/services/
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

if you delete /root/.my.cnf, you may be screwed.

you can try /scripts/mysql_pwd_reset

13
Couldn't tell you.  I would do a backup first before installing TCAdmin

14
Perhaps you missed step one of the installation instructions.  "NEW CLEAN server.  CWP cannot be installed over top of any other software, or it can't possibly be supported.  If you already had nginx, we can't tell you which version is running.  Same with apache or any other webserver. 

15
please run "   tail -n 100 /usr/local/cwpsrv/logs/error_log   "  and report back.

Pages: [1] 2 3 ... 32