Show Posts

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.


Messages - Netino

Pages: 1 ... 15 16 [17] 18 19 ... 25
241
(...)
the second
from cwp >security>csf firwall>firwall configuration
and i search for: PT_USERPROC =

i found it 10 and i change it to 0
and finish
(...)

You disabled that feature, I would not recommend to you to do that.

Too, seems you don't have a 'Netdata' user, but instead a 'netdata' user. The case letter is a important difference.
I would try first that inclusion to file 'csf.pignore' with:
Code: [Select]
exe:/usr/bin/python2.7
user:netdata
cmd:netdata

IMPORTANT: Don't list the paths to "cmd line (as would perl or php) as this will prevent detection of really suspicious web scripts.
Try to find the command line "cmd" by searching the /proc process structure.

Regards,
Netino

242
Post the complete content of that mail.

To supress that messages, you must to include something like the following (for example for "amavisd") in the file "/etc/csf/csf.pignore":
Code: [Select]
exe:/usr/bin/perl
user:amavis
cmd:/usr/sbin/amavisd

Regards,
Netino

243
CentOS 7 Problems / Re: CWP Pro: User accounts are locked
« on: February 27, 2019, 03:41:15 AM »
If you are seeking for blocked IP's, you must check with the command:
Code: [Select]
# iptables -L -n | grep <YOUR IP NUMBER>

...or, if you are using "ipset":
Code: [Select]
# ipset list | grep <YOUR IP NUMBER>

If your IP are not in that list, you are not being blocked in your server, is possible to be a block in your ISP.

244
CentOS 7 Problems / Re: not appear domain and users email
« on: February 27, 2019, 03:33:19 AM »
Same issue ie. no domains when checking email routing etc. I checked in the DB and it's blank ie. no records.

The command: mysql --defaults-extra-file=/root/.my.cnf root_cwp -B -N -s -e "SELECT * FROM user"

Outputs the correct data for the 2 accounts I created, so I don't think it's an access issue. Those records were never created when the user account was created:

You can have problem in 'domains' table. Check if the domais are exactly the same in both tables.

245
CentOS 7 Problems / Re: not appear domain and users email
« on: February 27, 2019, 03:18:16 AM »
here is the output.

[root@cwp ~]# mysql --defaults-extra-file=/root/.my.cnf root_cwp -B -N -s -e "SELECT * FROM user"
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

This worths for you:
Quote
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

If the passwords are exactly the same, so you have problems in your "/root/.my.cnf" file.

you must have something like this in that file:
Code: [Select]
[client]

password=Wr3rT9r4tO8c
user=root
(obviously, the password is ficticious, adapt it to your case)

Anyway, if it still does not work, try to access directly your mysql/mariadb server, with the command:
Code: [Select]
# mysql -p root_cwp -B -N -s -e "SELECT * FROM user"

...and provide that password directly, as it ask it. It must access. If the system complains of "Access denied" then your password is wrong, you will need to reassign it.

246
High Performance / Re: 403 forbidden in subdomain or secondary domain
« on: February 27, 2019, 03:13:46 AM »
You must check you log files before you load your .htaccess file, and see for what files they are pointing.

Regards,
Netino

247
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.

248
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.

249
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:
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;

250
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:
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)

251
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.

252
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:

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

253
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

254
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

255
CentOS-WebPanel Bugs / Re: CSF and CWP
« on: February 23, 2019, 03:19:10 AM »
Quote
What do you mean?

Instead to run just:
Code: [Select]
# csf -e

Code: [Select]
# csf -x; csf -e

Pages: 1 ... 15 16 [17] 18 19 ... 25