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.
571
FTP / Re: ERROR: Connection timed out after 20 seconds of inactivity
« on: May 02, 2020, 02:30:48 AM »
Try editing /etc/pure-ftp/pure-ftpd.conf
find # PassivePortRange 30000 50000
and uncomment it. Open those ports in CSF
find # PassivePortRange 30000 50000
and uncomment it. Open those ports in CSF
572
CentOS-WebPanel Bugs / Re: WebServers vhost templates not applied
« on: May 01, 2020, 06:00:59 PM »
Default vhost type should be set to php-fpm I believe.
573
Updates / Re: Default Apache Page on All Domains
« on: May 01, 2020, 01:39:06 AM »
systemctl status httpd
in CWP -> WebServers Settings -> Webservers Main COnfig
Check Rebuild all Vhosts and click save
in CWP -> WebServers Settings -> Webservers Main COnfig
Check Rebuild all Vhosts and click save
574
CentOS 7 Problems / Re: Server stop. After reboot CWP not work
« on: April 30, 2020, 04:24:06 AM »
Sounds like your system may have rebooted into recovery mode. Best to contact your hosting provider.
575
Updates / Re: Packages not getting updated
« on: April 29, 2020, 01:43:41 AM »
yum remove python36u-3.6.8-1.el7.ius.x86_64
yum -y update
yum -y install cmake3
yum -y update
yum -y install cmake3
576
CentOS-WebPanel Bugs / Re: CWP backup error
« on: April 29, 2020, 01:41:02 AM »
They are aware...
577
CentOS 6 Problems / Re: No Loader is installed, please try to run this command or contact support: sh /s
« on: April 28, 2020, 10:58:05 AM »
Hello,
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)**
```
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
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)**
```
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
578
PHP / Re: CWP7.Pro Error | Unable to Login Admin Panel
« on: April 28, 2020, 10:55:47 AM »
Follow the directions from my post above.
579
Addons / Re: Error with eXtplorer Addons - Open Page White
« on: April 28, 2020, 09:48:06 AM »
It won't appear in your user files. It's part of the software.
It's not an actual File Manager per se, but more like a script installer.
It's not an actual File Manager per se, but more like a script installer.
580
CentOS 7 Problems / Re: Help SQL CWP
« on: April 28, 2020, 09:13:12 AM »
Step 1: Select Database
Step 2: CLick Privileges
Step 3: Find the user name
Step 4: Click Edit Privileges
Step 5: Click Databases
Step 6: Select your Database
Step 7: Make sure Data and Struction have all options checked
Step 2: CLick Privileges
Step 3: Find the user name
Step 4: Click Edit Privileges
Step 5: Click Databases
Step 6: Select your Database
Step 7: Make sure Data and Struction have all options checked
581
CWP API / Re: CWP API - Error SSL with IP or FQDN
« on: April 28, 2020, 08:38:38 AM »
Make sure /usr/local/cwpsrv/conf.d/api.conf exists
Make sure /usr/local/cwpsrv/conf/cwpsrv.conf contains the line include /usr/local/cwpsrv/conf.d/*.conf;
Make sure /usr/local/cwpsrv/conf/cwpsrv.conf contains the line include /usr/local/cwpsrv/conf.d/*.conf;
582
Updates / Re: New Update issue, Older files but new versions of php selected
« on: April 28, 2020, 08:24:01 AM »
Seriously, does no one know how to search the forum.
http://forum.centos-webpanel.com/index.php?topic=8783.msg30569#msg30569
http://forum.centos-webpanel.com/index.php?topic=8783.msg30569#msg30569
583
CentOS 7 Problems / Re: configure server vps centos7 for RTMP protocol
« on: April 28, 2020, 03:56:05 AM »
Step 3
nano /usr/lib/systemd/system/nginxrtmp.service
systemctl enable nginxrtmp
cd /etc/nginxrtmp/
rm nginx.conf
nano nginx.conf
systemctl start nginxrtmp
Now you should be able to follow the rest of the directions. Please note in step 8, that nginx.conf is in /etc/nginxrtmp
Code: [Select]
sudo ln -s /usr/lib64/nginxrtmp/modules /etc/nginxrtmp/modules
nano /usr/lib/systemd/system/nginxrtmp.service
Code: [Select]
[Unit]
Description=nginxrtmp - high performance web server
Documentation=https://nginx.org/en/docs/
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target
[Service]
Type=forking
PIDFile=/var/run/nginxrtmp.pid
ExecStartPre=/usr/sbin/nginxrtmp -t -c /etc/nginxrtmp/nginx.conf
ExecStart=/usr/sbin/nginxrtmp -c /etc/nginxrtmp/nginx.conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
[Install]
WantedBy=multi-user.target
systemctl enable nginxrtmp
cd /etc/nginxrtmp/
rm nginx.conf
nano nginx.conf
Code: [Select]
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935; # Standard port
chunk_size 8192;
# Application configuration
application origin_ffmpeg_1 {
live on;
record off;
meta copy;
exec ffmpeg -i rtmp://localhost:1935/origin_ffmpeg_1/$name <parameters/libs/modules> rtmp://localhost:1935/live_ffmpeg_1/$name_1;
}
application live_ffmpeg_1 {
live on;
record off;
}
}
}
systemctl start nginxrtmp
Now you should be able to follow the rest of the directions. Please note in step 8, that nginx.conf is in /etc/nginxrtmp
584
CentOS 7 Problems / Re: configure server vps centos7 for RTMP protocol
« on: April 28, 2020, 03:43:19 AM »
Here's a solution for you. Your installing NGINX, but seperate from the httpd nginx. (You'll notice cwpsrv is actually nginx).
Steps 1 & 2
Steps 1 & 2
Code: [Select]
sudo yum -y groupinstall 'Development Tools'
sudo yum -y install epel-release
sudo yum install openssl-devel
sudo yum install -y pcre-devel
wget https://nginx.org/download/nginx-1.18.0.tar.gz
tar -xzvf nginx-1.18.0.tar.gz
Code: [Select]
./configure --prefix=/etc/nginxrtmp --sbin-path=/usr/sbin/nginxrtmp --modules-path=/usr/lib64/nginxrtmp/modules --conf-path=/etc/nginxrtmp/nginx.conf --error-log-path=/var/log/nginxrtmp/error.log --pid-path=/var/run/nginxrtmp.pid --lock-path=/var/run/nginxrtmp.lock --user=nginx --group=nginx --build=CentOS --builddir=nginx-1.18.0 --http-log-path=/var/log/nginxrtmp/access.log --http-client-body-temp-path=/var/cache/nginxrtmp/client_temp --http-proxy-temp-path=/var/cache/nginxrtmp/proxy_temp --http-fastcgi-temp-path=/var/cache/nginxrtmp/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginxrtmp/uwsgi_temp --http-scgi-temp-path=/var/cache/nginxrtmp/scgi_temp --with-select_module --with-poll_module --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_slice_module --with-http_stub_status_module --with-mail=dynamic --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module --with-stream_realip_module --with-stream_ssl_preread_module --with-compat --add-module=../nginx-rtmp-module --with-debug