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.
391
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.
if it's not running
systemctl start php-fpm70
systemctl enable php-fpm70
otherwise post the status.
392
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
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
393
CentOS-WebPanel Bugs / Re: Trying to start mysql server, please wait! help!!!!!
« on: June 05, 2020, 05:24:36 AM »
Your going to want to reinstall mysql/mariadb. After reinstalling, you will have to restore databases.
394
CentOS-WebPanel Bugs / Re: Trying to start mysql server, please wait! help!!!!!
« on: June 05, 2020, 04:28:49 AM »
What were you deleting??
Manual Reinstall the files with the following:
if you delete /root/.my.cnf, you may be screwed.
you can try /scripts/mysql_pwd_reset
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
395
Installation / Re: MySQL errors when logging into CentOS Web Panel first time
« on: June 05, 2020, 01:25:25 AM »
Couldn't tell you. I would do a backup first before installing TCAdmin
396
Installation / Re: MySQL errors when logging into CentOS Web Panel first time
« on: June 05, 2020, 12:19:44 AM »
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.
397
CentOS 7 Problems / Re: Can't Access CWP URL | IP Address:2030 | Error 500
« on: June 04, 2020, 11:28:24 PM »
please run " tail -n 100 /usr/local/cwpsrv/logs/error_log " and report back.
398
CentOS 7 Problems / Re: Mail Services Error
« on: June 04, 2020, 04:35:19 PM »
We need to know the errors to help. Please post them.
399
CentOS 7 Problems / Re: Adding SSL on CWP
« on: June 04, 2020, 04:34:02 PM »
You have 2 options.
1) Access the user panel via panel.(domain.com)
2) Access the user panel via (hostname):2083
(domain.com):2083 will result in an ssl error, as the certificate is assigned to the hostname only.
1) Access the user panel via panel.(domain.com)
2) Access the user panel via (hostname):2083
(domain.com):2083 will result in an ssl error, as the certificate is assigned to the hostname only.
400
CentOS 7 Problems / Re: Can't Access CWP URL | IP Address:2030 | Error 500
« on: June 04, 2020, 04:29:34 PM »
run
/scripts/update_cwp
/scripts/update_cwp
401
CentOS 6 Problems / Re: /htdocs/resources/admin/include/cron.php has expired. in Unknown on line 0
« on: June 04, 2020, 04:28:06 PM »
Follow the Manual Update steps below. Please pay special attention to whether you are using CentOS 6 or 7, as it DOES matter.
Quote
Test what is the cwp PHP version and if it is updated to 7.2
/usr/local/cwp/php71/bin/php -v
PHP 7.2.30
if PHP was not updated to 7.2 then try manually
yum update cwpphp --enablerepo=cwp
**Manual update CentOS 7 (ignore if you have CentOS 6)**
```
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
```
Test if all is ok, it should run update without errors
```
sh /scripts/update_cwp
```
If you get error like:
> Cannot load the ionCube PHP Loader - it was built with configuration API320151012,NTS, whereas running engine is API320170718,NTS
then run this:
```
sed -i "s/ioncube_loader_lin_7.0/ioncube_loader_lin_7.2/g" /usr/local/cwp/php71/php.ini
sh /scripts/restart_cwpsrv
402
Installation / Re: installation CWP with cloudflare dns
« on: June 04, 2020, 04:26:10 PM »
your hostname should be a subdomain. SO in cloudflare, just don't use the proxy for the subdomain that is your hostname. (Gray cloud)
403
How to / Re: Disable Client Panel Addons
« on: June 03, 2020, 10:40:22 PM »
feature manager. Search for it in the Admin Panel
404
Apache / Re: Run Node js with CWP
« on: June 02, 2020, 04:59:01 PM »
Did you initialize a nodjs project, and configure it's port?
405
CentOS 7 Problems / Re: mysqld: Can't lock aria control file
« on: May 29, 2020, 05:34:56 PM »
systemctl stop mysqld
ps -ef | grep mysqld
if anything results.
killall mysqld
systemctl start mysql
ps -ef | grep mysqld
if anything results.
killall mysqld
systemctl start mysql