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

Pages: 1 ... 13 14 [15] 16 17 ... 100
211
Apache / Re: How to stop malicious scans
« on: March 27, 2025, 05:24:16 PM »
Also consider installing Wordfence on the affected WP installs. It will block bad actors like this.
But Netino's solution is a good general purpose block for bots without user agent strings.

212
Built-in CWP terminal, or SSH session? Generally, you should not be hard-coding the TERM value. Linux tries very hard to set it to a sane value depending on things like which terminal you are actually using.

You can always remove the log file:
Code: [Select]
rm -f /usr/local/cwpsrv/logs/error_logor truncate it to zero bytes:
Code: [Select]
truncate -s0 /usr/local/cwpsrv/logs/error_log

213
Nginx / Re: Restrict access to a cwp_service
« on: March 26, 2025, 09:19:45 PM »
Would the CSF firewall work for you, or are you trying to be very selective about individual services?

214
What is the context of your question? What were you doing?

215
CSF Firewall / Re: Firewall CFS not enable alma8 - al8 (fixed)
« on: March 24, 2025, 09:31:43 PM »
Sometimes the CWP web GUI gets out of sync if you do things behind its back in the CLI. Either reboot the whole server and start CSF from the web GUI, or try stopping in the CLI and then starting it up in the web GUI.

217
But maybe some plugin need the older PHP.
Yes, that's the root of the problem! Some legacy customer sites are running older versions of plugins and WP themes, all interdependent, so I have seen this on a shared server. 8.1 wasn't possible for full compatibility, so I had to run with php 7.4.

php 7.4 on AlmaLinux 9:
https://orcacore.com/install-php-7-4-almalinux-9/

218
If WordPress is your lifeblood, you should stick with AL8 and PHP 7.4 for full WP compatibility. Hopefully 8.1 will be a truly viable option soon.

219
CentOS 7 Problems / Re: Job for httpd.service failed
« on: March 20, 2025, 12:08:52 AM »
Starburst was making a point that on your system, Apache (httpd) is only running on IPv6, not on IPv4. Is your server set up for IPv4 & IPv6 co-existing, or did you configure it to only handle IPv6? Mine is actually configured to disable IPv6. (Probably on the next major OS EOL cycle I will re-enable IPv6 and have co-existing protocols.)

220
CentOS 7 Problems / Re: Job for httpd.service failed
« on: March 19, 2025, 09:34:42 PM »
Run this to see what is occupying the httpd ports:
Code: [Select]
lsof -i :80
lsof -i :443

221
CentOS 9 Problems / Re: CWP to CWP Account Migration
« on: March 19, 2025, 01:08:55 PM »
Let's put those rumors to rest -- once and for all. CWP is active & alive. EL9 support is a long beta process, but it will emerge with better QoS as a result of the longer testing cycle. Since we're in Enterprise Linux land, that should tell you what we prefer -- long & stable.

222
Suggestions / Re: :):):) Comodo WAF rules update required :):):)
« on: March 18, 2025, 12:32:31 PM »
What is your country? https://dl.starburst.help/ works here with Xfinity (Comcast) in the USA.

223
E-Mail / Re: I send email but the email is not coming
« on: March 16, 2025, 07:11:08 PM »
Do you have a resolvable FQDN A record and working reverse DNS (PTR) provided by your hosting company? These are critical to ensure mail delivery. What is the IP address of the server so we can test its DNS setup?

224
Mod_Security / Re: 19GB modsec_audit.log
« on: March 15, 2025, 06:59:38 PM »
cyberspace's Logrotate config will catch anything ending in .log or _log, including /usr/local/apache/logs/modsec_audit.log
and /usr/local/apache/logs/modsec_debug.log (which is the subject of this thread:
Code: [Select]
0 /usr/local/apache/logs/*bytes
129M /usr/local/apache/logs/access_log
452K /usr/local/apache/logs/error_log
4.0K /usr/local/apache/logs/httpd.pid
4.0K /usr/local/apache/logs/modsec_audit.log
0 /usr/local/apache/logs/modsec_debug.log
0 /usr/local/apache/logs/phpmail.log
0 /usr/local/apache/logs/suphp_log
0 /usr/local/apache/logs/tmp
If you're thinking of logs in /usr/local/apache/domlogs/, that is a separate logrotate config for httpd, /etc/logrotate.d/httpd:
Code: [Select]
/usr/local/apache/domlogs/*.log {
    missingok
    notifempty
    sharedscripts
    daily
    rotate 7
    postrotate
        /sbin/service httpd reload > /var/log/httpd-rotate.log 2>&1 || true
    endscript
    compress
}
(which is why I would name cyberspace's config "modsec" or something like that, since your purpose is to rotate the Mod Security audit & error logs. The server-wide access & error_log files in that directory shouldn't be growing much in size unless you have something misconfigured.)

225
Addons / Re: WordPress Management Tool (i.e. WP-Toolkit)
« on: March 15, 2025, 02:54:19 PM »
Try it and see if Softaculous works for you.

Pages: 1 ... 13 14 [15] 16 17 ... 100