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 - cyberspace

Pages: 1 [2] 3 4 ... 29
16
Updates / Re: Server updates don't seem to be happening
« on: March 15, 2025, 12:05:48 PM »
You need to upgrade MariaDB to 10.6 or more recent version. You can find how to upgrade MariaDB here:
https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version
just adapt the instructions according to your requirements.

If you decide to upgrade MariaDB to

17
Mod_Security / Re: 19GB modsec_audit.log
« on: March 15, 2025, 10:39:15 AM »
It will be executed automatically on daily bases. All files located in the folder /usr/local/apache/logs/ with the names "log" at the end:

something.log
something_log
somethinglog

will be checked for their size. If the file size is over than 100Mb the log file will be rotated.

18
CentOS 7 Problems / Re: Move /var/vmail to /home/vmail
« on: March 14, 2025, 01:39:50 PM »
Quote
The symbolic link is allready made.

The folder /var/vmail contains only 2 clients left, The rest of 10 mail clients are allready moved to /home/vmail

The link doesn't exist. There could be the symlink OR folder. Check it once again.

19
Mod_Security / Re: 19GB modsec_audit.log
« on: March 14, 2025, 01:35:07 PM »
Create the file:

/etc/logrotate.d/httpd

with the following content:

Code: [Select]
/usr/local/apache/logs/*log
{
        missingok
        notifempty
        sharedscripts
        copytruncate
        compress
        postrotate
                if [ -f /usr/local/apache/logs/httpd.pid ]; then
                        kill -USR1 `cat /usr/local/apache/logs/httpd.pid`
                fi
        endscript
        maxsize 100M
}

It will rotate files called like "anythinglog" located in the folder /usr/local/apache/logs/

20
CentOS 9 Problems / Re: wp_remote_post() failed
« on: March 13, 2025, 10:08:07 PM »
You server can connect to the port 443 (https) of www.paypal.com when the firewall is disabled. So try to connect to www.paypal using curl:

Code: [Select]
curl -i -X POST -A "WooCommerce/9.7.1; https://testsimulazione.it" https://www.paypal.com/cgi-bin/webscr
You should get headers from the server and raw HTML if connection is established. In other case, if the connection fails, check response headers.

21
CentOS 7 Problems / Re: Move /var/vmail to /home/vmail
« on: March 13, 2025, 06:03:47 PM »
remove /var/vmail and create a symlink from /var/vmail to /home/vmail:
Code: [Select]
rm -rf /var/vmail
ln -s /home/vmail /var/vmail

22
CentOS 9 Problems / Re: wp_remote_post() failed
« on: March 13, 2025, 05:09:28 PM »
Ok, install traceroute and telnet using dnf:

Code: [Select]
dnf -y install telnet traceroute
the run the commands from the previous post again.

23
CentOS 9 Problems / Re: wp_remote_post() failed
« on: March 13, 2025, 12:48:44 PM »
Disable firewall and then in shell run:

Code: [Select]
telnet www.paypal.com 443

traceroute  www.paypal.com

iptables -L -n

show us results and run firewall on your vps/server again.

24
CentOS 7 Problems / Re: Move /var/vmail to /home/vmail
« on: March 13, 2025, 12:39:42 PM »
The access permissions 777 or 770 not always are correct. Some applications/system services check access permissions and if they aren't strict enough the service fails for security reasons.

Check the files/folders inside /home/vmail/DOMAIN.COM. The should belong to "USER:vmail".

No, you don't need to restart cwp,nginx,apache.

Check mail and roundube log files. The log files are the best friend for INVESTIGATION. Currently we are guessing where the problem is.

25
CentOS 7 Problems / Re: Move /var/vmail to /home/vmail
« on: March 13, 2025, 09:10:03 AM »
1. Make sure dovecot is up and works.

2. Make sure access permissions and owner of the folder:
 /home/vmail
are  correct.

3. Check mail logs to investigate the problem:

/var/log/maillog

4. If you decided to move some system folder to another location then I recommend to follow the steps like:

Code: [Select]
mv /var/vmail /home/
ln -s /home/vmail /var/vmail

26
CentOS 9 Problems / Re: wp_remote_post() failed
« on: March 12, 2025, 04:53:25 PM »
Hi,

The function name wp_remote_post() allows me think the function sends some post request to some host. To investigate the problem you need to know where the function wp_remote_post() sends the request to (host) and then emulate the request using "curl" or similar utility, make attempt to connect to the host using "telnet", etc.

Anyway, the problem could be caused by bad DNS resolvers, firewall, error in your script, etc.

28
E-Mail / Re: sendmail
« on: March 11, 2025, 10:49:22 PM »
Most likely the emails sent through the form don't pass the DKIM/SPF tests. Try to switch to "smtp" instead of "sendmail".

Anyway, the better way to investigate the problem is to check the mail logs:
/var/log/maillog

29
Information / Re: SSL too long
« on: March 11, 2025, 01:57:56 PM »
If you use Centos 7 then it can be caused by the outdated openssl version used by Centos 7.

Anyway, check if the SSL is installed properly:
https://www.sslshopper.com/ssl-checker.html

30
E-Mail / Re: Email Autodiscover failed & Certificate error exception
« on: March 10, 2025, 07:47:20 AM »
Make sure the SSL is installed for the domain name and subdomains cpanel, webmail, mail, ftp.

Use "mail.domain.com" as incoming/outgoing mail server.

Pages: 1 [2] 3 4 ... 29