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.
2
CentOS-WebPanel GUI / SSL link on admin login page point on IP address instead hostname
« on: September 28, 2018, 02:14:09 PM »
"Click here for SSL login" in admin login window point to CWP Server IP instead hostname - https://192.168.200.172:2031/login/index.php?login=logout
I rebuilt CWP via 'change hostname' option, but this link was not updated.
Manually entered URL https://cwp.mydomainname.tld:2031 work properly.
CWP version: 0.9.8.740
I rebuilt CWP via 'change hostname' option, but this link was not updated.
Manually entered URL https://cwp.mydomainname.tld:2031 work properly.
CWP version: 0.9.8.740
4
CentOS-WebPanel Bugs / Incorrect owner/group and permissions for subdomain directory
« on: September 26, 2018, 08:18:05 AM »
CWP create folder for subdomain with incorrect owner/group and permissions (if subfolder created outside /home/user/public_html)
1. Add a subdomain and assign for it directory outside main domain public_html, for example /home/user/subdomain/public_html
2. Check owner/group and directory mode from shell or from File Manager
subdomain folder have root as owner:group and directory mode is 755 against 750 for main domain
I fixed this using root shell, but this is a bug for user.
1. Add a subdomain and assign for it directory outside main domain public_html, for example /home/user/subdomain/public_html
2. Check owner/group and directory mode from shell or from File Manager
Code: [Select]
#cd /home/user
#ls -l
drwxr-xr-x 3 root root 4096 Sep 26 09:51 subdomain
drwxr-x--- 5 user nobody 4096 Jan 9 2018 public_html
#
subdomain folder have root as owner:group and directory mode is 755 against 750 for main domain
I fixed this using root shell, but this is a bug for user.
5
PHP / Re: php-cgi use hig CPU usage
« on: April 09, 2018, 10:25:40 AM »
Yes, it helped particulary - reduced from 100% to 60-75%
6
PHP / Re: php-cgi use hig CPU usage
« on: April 06, 2018, 09:41:04 AM »
Same problem (appeared 1 month ago or even more)
php-cgi for any site consume up 100% CPU during page load
CWP version: 0.9.8.586
Distro Name: CentOS Linux release 7.4.1708 (Core)
Kernel Version: 3.10.0-693.21.1.el7.x86_64
CPU Model: Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
CPU Details: 4 Core (1862 MHz)
Platform: x86_64 [hyperv]
Apache version: Apache/2.4.29
PHP version: 5.6.35
MySQL version: 10.1.32-MariaDB
FTP version: 1.0.46
php-cgi for any site consume up 100% CPU during page load
CWP version: 0.9.8.586
Distro Name: CentOS Linux release 7.4.1708 (Core)
Kernel Version: 3.10.0-693.21.1.el7.x86_64
CPU Model: Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
CPU Details: 4 Core (1862 MHz)
Platform: x86_64 [hyperv]
Apache version: Apache/2.4.29
PHP version: 5.6.35
MySQL version: 10.1.32-MariaDB
FTP version: 1.0.46
7
CentOS 6 Problems / Re: Problem with mail and with ssl
« on: February 16, 2018, 08:17:13 PM »here is screenshot of my issue with mail http://prntscr.com/iefbbg it would be great if this is fixed.
incorrect HELO in server settings, or HELO doesn’t match to hostname
check
smtpd_banner =
myhostname =
in postfix main.cf
8
Backup / Re: Restore MYSQL Backup from Daily Backup
« on: January 23, 2018, 06:43:15 AM »
I see a ^M after /bin/bash - did you copy/paste script from Windows machine?
Use CentOS editor ‘nano’ or ‘mcedit’ from ‘mc’ package to remove unwanted ^M (DOSCarrige Return)
Use CentOS editor ‘nano’ or ‘mcedit’ from ‘mc’ package to remove unwanted ^M (DOSCarrige Return)
9
MySQL / Re: /var/lib/mysql = du -sh = 175G / I want to clear them
« on: January 21, 2018, 08:48:00 PM »
you should connect to your SQL server using SQL root login,
then execute command in SQL console (172 was used as example)
then leave SQL console
If you disable binary logging, yes, you can delete this files with rm command when MySQL stopped
Code: [Select]
#mysql -u root -p
then execute command in SQL console (172 was used as example)
Code: [Select]
mysql>PURGE BINARY LOGS TO ‘mysql-bin.172’;
then leave SQL console
Code: [Select]
mysql>exit
If you disable binary logging, yes, you can delete this files with rm command when MySQL stopped
10
MySQL / Re: /var/lib/mysql = du -sh = 175G / I want to clear them
« on: January 21, 2018, 08:22:55 PM »
https://dev.mysql.com/doc/refman/5.7/en/purge-binary-logs.html
https://mariadb.com/kb/en/library/sql-commands-purge-logs/
You need to use phpMyAdmin or mysql console client to do this.
Don’t delete this files using OS shell!
https://mariadb.com/kb/en/library/sql-commands-purge-logs/
You need to use phpMyAdmin or mysql console client to do this.
Don’t delete this files using OS shell!
11
DNS Manager / Re: I use freedns but I cant send or recive email.
« on: January 21, 2018, 06:22:29 PM »
Your SMTP server is not availiable from internet
use https://mxtoolbox.com for different tests
use https://mxtoolbox.com for different tests
12
SSL / Re: SSL Expiring in 20 days - would like easy procedure to update godaddy cert
« on: January 16, 2018, 01:06:47 PM »
Why do you not a call to GoDaddy support? Their support quite responsible...
Or, try this help https://www.godaddy.com/help/renewing-my-ssl-certificate-864
Or, try this help https://www.godaddy.com/help/renewing-my-ssl-certificate-864
13
SSL / Re: Invalid certificate/key pair and Apache server fails to start
« on: January 16, 2018, 08:42:05 AM »
Examine log files in /usr/local/apache/logs/
Open /usr/local/apache/conf.d/vhosts-ssl.conf and verify that parameters
SSLCertificateFile
SSLCertificateKeyFile
(optional) SSLCertificateChainFile
point to right files, files exist and accessible for Apache. Check your key/cert pair using https://www.sslshopper.com/certificate-key-matcher.html
Open /usr/local/apache/conf.d/vhosts-ssl.conf and verify that parameters
SSLCertificateFile
SSLCertificateKeyFile
(optional) SSLCertificateChainFile
point to right files, files exist and accessible for Apache. Check your key/cert pair using https://www.sslshopper.com/certificate-key-matcher.html
14
Postfix / Re: yahoo gmail and hotmail
« on: January 13, 2018, 02:06:39 PM »
And you have IPv6 configured at your side?
15
CentOS 7 Problems / Re: Cannot open port 443
« on: January 12, 2018, 01:27:30 PM »
Looks like you have no service (Apache) that listen on port 443
exec this command in shell
netstat -an|grep 443
If you see nothing, your HTTPS engine is not enabled
exec this command in shell
netstat -an|grep 443
If you see nothing, your HTTPS engine is not enabled