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] 2 3 ... 8
CentOS-WebPanel Bugs / Re: CSF and CWP
« on: Today at 03:06:43 AM »
Have you ever tried to disable it before?

The commands sequence:
Code: [Select]
# csf -x; csf -e


Apache / Re: Logrotate domlogs
« on: Today at 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'.


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

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:
Code: [Select]
# iptables -L -n | grep -5 "20\(31\|82\|83\|86\|87\|95\|96\)\|15015"

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

CSF Firewall / Re: CSF Doesn't appear to be blocking ports?
« on: February 15, 2019, 02:54:03 AM »
What is the result of the following command in your server..?:

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

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/

Code: [Select]
nano /etc/postfix/

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:

systemctl reload postfix

So, you will have a submission authenticated port, to you use it.

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.


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/':

Code: [Select]
Feb  5 07:47:29 server postfix/postfix-script[19619]: warning: not owned by root: /etc/postfix/

So, post your permissions of the file '/etc/postfix/' with the command:
Code: [Select]
# stat /etc/postfix/


Informations / 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 .. ??


Add the following at final of your file '/etc/sysctl.conf':
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.


CentOS 7 Problems / Re: Subdomain always pointing to subfolder
« on: February 08, 2019, 03:02:39 AM »
What is your subdomain configuration..??

How to / Re: How to change the default ports for admin login to only URL
« on: February 08, 2019, 03:01:24 AM »
I do not recommend to do it, unless you have your firewall scripts tested and up to date, and you be a paranoic reader of your logfiles, to react to them in case of problems.
Although the "security by obscurity" question, the virtual harassment of your server connected to internet 24x7 will be one step less from crackers, more commonly checked in port 80 than in another port.

I would recommend just to change it to another port, and additionally install something like vddos, and have a "recaptcha" to prevent robots and unknown people from testing your root password all the time.


E-Mail / Re: Dovecot IMAP/POP3 Server Failed issue
« on: February 08, 2019, 02:50:08 AM »
Check the line 106 of the file '/etc/dovecot/dovecot.conf', and if that file '/etc/pki/tls/certs/serv...' (obviously abbreviated) really exists.

Apache / Re: Large domlogs files
« on: February 08, 2019, 02:46:01 AM »
Create it with the following content:

Code: [Select]
/usr/local/apache/domlogs/*.log {
    rotate 52
/bin/kill -HUP `cat /usr/local/apache/logs/ 2>/dev/null` 2> /dev/null || true

Pages: [1] 2 3 ... 8