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.
256
CentOS 7 Problems / Re: Internal Server Error YII2
« on: February 23, 2019, 03:37:35 AM »
This is a yii2 framework question, and this is related to the yii2 framework community, not CWP.
But start checking your apache logs in:
/usr/local/apache/logs/error_log
and logfiles in /usr/local/apache/domlogs/ directory.
Regards,
Netino
But start checking your apache logs in:
/usr/local/apache/logs/error_log
and logfiles in /usr/local/apache/domlogs/ directory.
Regards,
Netino
257
CentOS 7 Problems / Re: not appear domain and users email
« on: February 23, 2019, 03:23:55 AM »
Check your MySQL root password are exactly the same in files:
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
and
/root/.my.cnf
Regards,
Netino
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
and
/root/.my.cnf
Regards,
Netino
259
Apache / Re: Logrotate domlogs
« on: February 23, 2019, 03:15:09 AM »
Try to run logrotate in debug mode, with the following commands:
According logrotate documentation, in debug mode, no changes will be made to the logs or to the logrotate state file.
And post here the results.
Code: [Select]
logrotate -d /etc/logrotate.d/FPM56
logrotate -d /etc/logrotate.d/syslog
According logrotate documentation, in debug mode, no changes will be made to the logs or to the logrotate state file.
And post here the results.
260
CentOS-WebPanel Bugs / Re: CSF and CWP
« on: February 20, 2019, 03:06:43 AM »
Have you ever tried to disable it before?
The commands sequence:
Regards,
Netino
The commands sequence:
Code: [Select]
# csf -x; csf -e
Regards,
Netino
261
Apache / Re: Logrotate domlogs
« on: February 20, 2019, 03:03:52 AM »
The rotation needs make sense with file '/var/lib/logrotate/logrotate.status'
Did you already check that file..??
The 'weekly' token may be means that logrotate wants to see at least a week old entry for your access.log file in order to rotate it.
Hence the problem seems to be that you are not storing the state entry to trigger the rotation.
Try to invert the order of 'missingok' before rotate, and touch a old file mentioned in file ''/var/lib/logrotate/logrotate.status'.
Regards,
Netino
Did you already check that file..??
The 'weekly' token may be means that logrotate wants to see at least a week old entry for your access.log file in order to rotate it.
Hence the problem seems to be that you are not storing the state entry to trigger the rotation.
Try to invert the order of 'missingok' before rotate, and touch a old file mentioned in file ''/var/lib/logrotate/logrotate.status'.
Regards,
Netino
262
Nginx / Re: Nginx Ultimate Bot Blocker
« on: February 16, 2019, 07:41:42 PM »
Are you sure you have not tried from an whitelisted IP address.?
263
CSF Firewall / Re: CSF Doesn't appear to be blocking ports?
« on: February 16, 2019, 04:37:04 AM »
Ok, looks working csf and ldf daemon.
Please, try to post the following command now:
Please, try to post the following command now:
Code: [Select]
# iptables -L -n | grep -5 "20\(31\|82\|83\|86\|87\|95\|96\)\|15015"
264
CentOS-WebPanel GUI / Re: MSQLI errors after reboot, Centos panel won't start
« on: February 15, 2019, 03:05:36 AM »
The message claims about you check the passwords if are the same in both files "/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php" and "/root/.my.cnf".
Impossible to know, but a partition full can cause impredictable problems in any case.
Are you already tryed create space in that partition..?
Impossible to know, but a partition full can cause impredictable problems in any case.
Are you already tryed create space in that partition..?
265
CSF Firewall / Re: CSF Doesn't appear to be blocking ports?
« on: February 15, 2019, 02:54:03 AM »266
E-Mail / Re: How to configure SendGrid or use SMTP for CWP
« on: February 10, 2019, 02:02:35 AM »
That documentation says users must employ authenticated SMTP relay services, typically connected via TCP port 587 submission, or alike.
Are you configured this port in your CWP server..??
If no, to you enable port 587, edit the file /etc/postfix/master.cf
and remove the # in front of the line:
so that it looks like this:
and restart postfix:
[/code]
systemctl reload postfix
[/code]
So, you will have a submission authenticated port, to you use it.
Are you configured this port in your CWP server..??
If no, to you enable port 587, edit the file /etc/postfix/master.cf
Code: [Select]
nano /etc/postfix/master.cf
and remove the # in front of the line:
Code: [Select]
#submission inet n - n - - smtpd
so that it looks like this:
Code: [Select]
submission inet n - n - - smtpd
and restart postfix:
[/code]
systemctl reload postfix
[/code]
So, you will have a submission authenticated port, to you use it.
267
E-Mail / Re: How to configure SendGrid or use SMTP for CWP
« on: February 09, 2019, 01:44:56 AM »
What are you meaning by "Microsoft Azure is blocked by default and there is no way to change that"..??
The SMTP server in CWP is already configured by default, but the CWP server blocks not authorized relays, not apps.
Regards,
Netino
The SMTP server in CWP is already configured by default, but the CWP server blocks not authorized relays, not apps.
Regards,
Netino
268
Postfix / Re: Wordpress and Postfix Mail Server Problem
« on: February 09, 2019, 01:40:45 AM »
Seems you have problems with the permissions of the file '/etc/postfix/mysql-virtual_vacation.cf':
So, post your permissions of the file '/etc/postfix/mysql-virtual_vacation.cf' with the command:
Regards,
Netino
Code: [Select]
(...)
Feb 5 07:47:29 server postfix/postfix-script[19619]: warning: not owned by root: /etc/postfix/mysql-virtual_vacation.cf
(...)
So, post your permissions of the file '/etc/postfix/mysql-virtual_vacation.cf' with the command:
Code: [Select]
# stat /etc/postfix/mysql-virtual_vacation.cf
Regards,
Netino
269
Information / Re: I want to change the PHP version of only single domain
« on: February 09, 2019, 01:30:57 AM »
Please just let me know if I am wrong, but I am afraid that PHP for only one domain could work only with the Php-CGI version, not Php-FPM.
Has anyone managed to use Php-FPM per domain, and / or along with the feature of choosing versions per directory .. ??
Regards,
Netino
Has anyone managed to use Php-FPM per domain, and / or along with the feature of choosing versions per directory .. ??
Regards,
Netino
270
CentOS Configuration / Re: I can enable ip6 in server? how? For my sites opened in ip6
« on: February 08, 2019, 03:09:15 AM »
Add the following at final of your file '/etc/sysctl.conf':
And execute:
But *BEFORE* check you firewall is configured and enabled to catch ipv6 events.
Regards,
Netino
Code: [Select]
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
And execute:
Code: [Select]
# sysctl -p
But *BEFORE* check you firewall is configured and enabled to catch ipv6 events.
Regards,
Netino