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
Apache / Re: Logrotate domlogs
« on: February 27, 2019, 03:04:15 AM »Yes and i have not uploaded the file from windows. I have create the config file whit help of: Create a new configuration file.
When i check /usr/local/apache/domlogs
It seems to have roatated the logs. But way give that error?
Makes not sense you try to rotate "/usr/local/apache/domlogs/*".
Makes sense you try to rotate only "/usr/local/apache/domlogs/*.log" (or "/usr/local/apache/domlogs/*.bytes") files.
Otherwise you will rotate "*.gz" files already rotated.
257
Apache / Re: Logrotate domlogs
« on: February 24, 2019, 07:31:13 PM »
May be it interpreting the '-' character in path ("/opt/alt/php-fpm71/usr/var/log/php-fpm.log") as a needed to double quotee character.
258
CentOS 7 Problems / Re: CentOS7, nginx, Php 7.2 and Prestashop issue
« on: February 24, 2019, 07:15:08 PM »
May you have just overrided that configuration in somewhere..??
Try to change the severity of error_log to "warn" and check, in:
and change it to:
Check another conf files included in configuration too:
/etc/nginx/cloudflare.inc;
/etc/nginx/conf.d/*.conf;
/etc/nginx/fastcgi_params;
Try to change the severity of error_log to "warn" and check, in:
Code: [Select]
error_log /var/log/nginx/error.log crit;
and change it to:
Code: [Select]
error_log /var/log/nginx/error.log warn;
Check another conf files included in configuration too:
/etc/nginx/cloudflare.inc;
/etc/nginx/conf.d/*.conf;
/etc/nginx/fastcgi_params;
259
CentOS 7 Problems / Re: not appear domain and users email
« on: February 24, 2019, 07:01:07 PM »
This loop is not dealing with 'domains', just only with 'user' field, to make nginx deal with 'location' of that user.
But try to execute the command, and check if your configuration is ok:
(note I changed to '*' in the command)
But try to execute the command, and check if your configuration is ok:
Code: [Select]
# mysql --defaults-extra-file=/root/.my.cnf root_cwp -B -N -s -e "SELECT * FROM user"
(note I changed to '*' in the command)
260
Apache / Re: Logrotate domlogs
« on: February 23, 2019, 04:09:48 AM »
It is executing correctly, but continues to claim about "double quotes" in the filename.
Is possible you have uploaded file from windows computer in "binary" format to the server..??
(if so, install a program named "dos2unix", and convert them)
If no, try to put filenamed in double quotes really.
Is possible you have uploaded file from windows computer in "binary" format to the server..??
(if so, install a program named "dos2unix", and convert them)
If no, try to put filenamed in double quotes really.
261
CentOS 7 Problems / Re: CentOS7, nginx, Php 7.2 and Prestashop issue
« on: February 23, 2019, 04:01:46 AM »
In your configuration, you have:
So, you have a parameter to $document_root$fastcgi_script_name, but these are checked as a filenames:
So, try to check your logfiles in '/usr/local/apache/domlogs/idefix.com.error.log' and '/var/log/nginx/error.log', because you may some installation problem, seeking for a path that doesn't exist.
Regards,
Netino
Code: [Select]
location ~ [^/]\.php(/|$) {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
if (!-f $document_root$fastcgi_script_name) {
return 404;
}
(...)
So, you have a parameter to $document_root$fastcgi_script_name, but these are checked as a filenames:
Code: [Select]
if (!-f $document_root$fastcgi_script_name) {
So, try to check your logfiles in '/usr/local/apache/domlogs/idefix.com.error.log' and '/var/log/nginx/error.log', because you may some installation problem, seeking for a path that doesn't exist.
Regards,
Netino
262
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
263
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
265
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.
266
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
267
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
268
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.?
269
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"
270
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..?