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.
181
Installation / Re: Fresh install has MariaDB error. How to resolve?
« on: May 12, 2023, 09:56:29 AM »
The page:
https://wiki.centos-webpanel.com/mariadb-upgrade-from-10-2-to-10-4
explains how to upgrade MariaDB from 10.2 to 10.4.
The upgrade process from 10.2 to 10.6 is similar. Just replace 10.4 to 10.6 in the above instructions.
https://wiki.centos-webpanel.com/mariadb-upgrade-from-10-2-to-10-4
explains how to upgrade MariaDB from 10.2 to 10.4.
The upgrade process from 10.2 to 10.6 is similar. Just replace 10.4 to 10.6 in the above instructions.
182
Postfix / Re: All inbound mail fails when enabling Spam Assassin/Avamis
« on: May 11, 2023, 07:31:19 PM »
Are there some records associated with the sender's email address in the email logs and/or IP address (/var/log/maillog) ?
183
CentOS Configuration / Re: Help me. lfd on cwp.xxxxxx.com: Suspicious process running under user memcached
« on: May 11, 2023, 10:08:45 AM »
Hi,
memcached is a caching daemon/service.
If your websites don't use memcached and you don't need it then just stop memcached.
In other case you put the line:
and then restart CSF:
memcached is a caching daemon/service.
If your websites don't use memcached and you don't need it then just stop memcached.
Code: [Select]
service memcached stop
run as root in console (terminal).In other case you put the line:
Code: [Select]
exe:/usr/bin/memcached
into the file: /etc/csf/csf.pignoreand then restart CSF:
Code: [Select]
csf -r
run it as root in console (terminal).
184
CentOS 7 Problems / Re: Without any type of access
« on: May 11, 2023, 10:02:15 AM »
Guys, I assume you need to contact the hosting company you rent your VPS from to get assistance or make attempt to access the VPS via serial console, etc if your service provider offers such feature.
185
SSL / Re: How to Change SSL Port number in cwp?
« on: May 10, 2023, 06:27:07 PM »
Hi,
If you use CSF then you can do it using CSF (ip tables). However you will be forced to specify the port number in your URLs like:
https://domain.com:4443/
to access the sites over HTTPS.
If it is ok for you then just put the following line into the file:
/etc/csf/csf.redirect
then restart CSF:
If you use CSF then you can do it using CSF (ip tables). However you will be forced to specify the port number in your URLs like:
https://domain.com:4443/
to access the sites over HTTPS.
If it is ok for you then just put the following line into the file:
/etc/csf/csf.redirect
Code: [Select]
*|4443|*|443|tcp
then restart CSF:
Code: [Select]
csf -r
186
CentOS-WebPanel GUI / Re: Packages won't update on account
« on: May 10, 2023, 09:06:20 AM »
Have the same issue.
However, when I do:
1. Suspend account
2. Unsuspend account
3. Restart CWP
the limits of the account become correct accordingly to the specs of the applied package.
However, when I do:
1. Suspend account
2. Unsuspend account
3. Restart CWP
the limits of the account become correct accordingly to the specs of the applied package.
187
Installation / Re: How to improve site speed and security
« on: May 10, 2023, 07:57:56 AM »
Hi,
If you don't want to buy the Litespeed license and spend on your time to redesign apache mod_rewrite rules for Nginx then on my opinion the better performance will be delivered by the webserver configuration: Nginx+Apache (php+fpm)
Additionally, the following configuration will allow you to enable Web Application Firewall (WAF) mod_security for your websites. mod_security blocks suspicious HTTP/HTTPS requests. However, the default mod_rewrite rules offered by CWP (Pro) causes false positive alarms. So it is better to review the mod_security logs from time to time to find and analyze the blocked HTTP/HTTPS requests. If the alarm is false positive then you can disable the problematic rule(s) over .htaccess of your website.
If you don't want to buy the Litespeed license and spend on your time to redesign apache mod_rewrite rules for Nginx then on my opinion the better performance will be delivered by the webserver configuration: Nginx+Apache (php+fpm)
Additionally, the following configuration will allow you to enable Web Application Firewall (WAF) mod_security for your websites. mod_security blocks suspicious HTTP/HTTPS requests. However, the default mod_rewrite rules offered by CWP (Pro) causes false positive alarms. So it is better to review the mod_security logs from time to time to find and analyze the blocked HTTP/HTTPS requests. If the alarm is false positive then you can disable the problematic rule(s) over .htaccess of your website.
188
Information / Re: Reduce server response time [Anyone Else?]
« on: May 10, 2023, 07:22:31 AM »
Our company hosts numerous Wordpress based websites served by Nginx+Apache (php-fpm). Additionally we recommend to install caching plugin like TotalCache for each Wordpress website:
https://wordpress.org/plugins/w3-total-cache/
The chaing nginx+apache+caching plugin shows very good results.
I think the default Varnish config isn't so good. To get excellent performance using Nginx+Varnish+Apache you need to customize the Varnish config according to the requirements of your website.
https://wordpress.org/plugins/w3-total-cache/
The chaing nginx+apache+caching plugin shows very good results.
I think the default Varnish config isn't so good. To get excellent performance using Nginx+Varnish+Apache you need to customize the Varnish config according to the requirements of your website.
189
Information / Re: Apache uses multiple cores but I have doubt will Nginx use multiple core
« on: July 30, 2022, 01:55:36 PM »
Nginx is multethreaded webserver.
CWP sets "auto" for nginx "worker_processes":
https://nginx.org/en/docs/ngx_core_module.html#worker_processes
It will run as many nginx processes as many cores your server/vps has.
Additionally you can link each nginx process to specific core(s) using the directive worker_cpu_affinity:
https://nginx.org/en/docs/ngx_core_module.html#worker_cpu_affinity
CWP sets "auto" for nginx "worker_processes":
https://nginx.org/en/docs/ngx_core_module.html#worker_processes
It will run as many nginx processes as many cores your server/vps has.
Additionally you can link each nginx process to specific core(s) using the directive worker_cpu_affinity:
https://nginx.org/en/docs/ngx_core_module.html#worker_cpu_affinity
190
FTP / Re: cannot connect to port 21 after upgrade to cwppro
« on: December 10, 2021, 01:03:22 PM »
Hi,
Do you use some local FTP client like Filezilla or net2ftp ? In case you use the local mail client then show us the FTP log of your FTP client and server (remove the server IP before you paste logs here).
Do you use some local FTP client like Filezilla or net2ftp ? In case you use the local mail client then show us the FTP log of your FTP client and server (remove the server IP before you paste logs here).
191
DNS / Re: Why is the displayed content different on IPV6 and IPV4?
« on: November 13, 2021, 11:23:31 AM »
Open the config files (Nginx, Apache) of the problematic website and make sure the virtual host is configured to accept connections over IPv6.
Most likely there is IPv4 address only. That is why you get the default CWP page when try to access the site over IPv6.
Look here:
https://www.mysterydata.com/enable-ipv6-cwp-centos-webpanel/
this guide will help you to understand if the problematic website has the correct webserver config files.
Most likely there is IPv4 address only. That is why you get the default CWP page when try to access the site over IPv6.
Look here:
https://www.mysterydata.com/enable-ipv6-cwp-centos-webpanel/
this guide will help you to understand if the problematic website has the correct webserver config files.
192
DNS / Re: Error when starting Bind DNS Server
« on: November 13, 2021, 11:19:01 AM »
It looks like the files 'named.ca', 'named.empty', 'named.localhost', 'named.loopback' were removed from the folder:
on your CWP server.
If you have some other server running under CentOS with BIND just copy the above files from the working server to your broken CWP server, chmod, chown the files and then try to restart BIND.
Code: [Select]
/var/named/
on your CWP server.
If you have some other server running under CentOS with BIND just copy the above files from the working server to your broken CWP server, chmod, chown the files and then try to restart BIND.
193
Apache / Re: Website blocked after installing mod_rewrite
« on: November 02, 2021, 12:43:40 PM »
Is apache installed as the frontend webserver ? Or do you use Nginx, Varnish ?
194
MySQL / Re: CWP Painel Root - MySQL Error Connection
« on: November 02, 2021, 12:11:27 PM »
Hi,
1. What does happen when you just run "mysql" in shell ? Are you able to connect to MySQL/MariaDB at all ?
2. Please make sure the login details listed in the file:
are correct and CWP is able to connect to the database with the login credentials from file. Just run the command provided below in shell:
Replace db_user, db_pass, db_name with the actual values from the file.
1. What does happen when you just run "mysql" in shell ? Are you able to connect to MySQL/MariaDB at all ?
2. Please make sure the login details listed in the file:
Code: [Select]
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
are correct and CWP is able to connect to the database with the login credentials from file. Just run the command provided below in shell:
Code: [Select]
mysql -u db_user -p db_pass -h localhost db_name
Replace db_user, db_pass, db_name with the actual values from the file.
195
Installation / Re: Use as POP3/Imap only
« on: November 02, 2021, 11:35:39 AM »
CWP installs all necessary software to support mail service (pop/imap/smtp) by default. So you just need to do:
1. Install CWP on some server
2. Create an account on your sever with CWP for the domain name you want to receive/send emails
3. Create the necessary mailboxes for the domain
4. Direct the MX record(s) of the domain to your CWP server
Moreover, you can automate the steps 2-3 using the API provided by CWP.
1. Install CWP on some server
2. Create an account on your sever with CWP for the domain name you want to receive/send emails
3. Create the necessary mailboxes for the domain
4. Direct the MX record(s) of the domain to your CWP server
Moreover, you can automate the steps 2-3 using the API provided by CWP.