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] 2 3 ... 86
1
MySQL / Re: MySQL - BAD CONFIGURATION DETECTED
« on: Today at 12:41:59 PM »
Check the config file (or its directories) isn't group or other writeable but also make sure the file is readable by the mysql user. The easy way to check the last bit is with
Code: [Select]
sudo -u mysql my_print_defaults --mariadbd so see what configuration options are read. Also run
Code: [Select]
journalctl -u mariadb.service -n 30 -- failing to read configuration files is normally a warning.

2
Installation / Re: Cron jobs from installation
« on: Today at 12:37:30 PM »
root crontab?
Code: [Select]
1 2 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh/cwp_certs" > /dev/null
2 0 0 * * * /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/var/services/user_files/modules/backups/cron_autobackup.php
3 00 03 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=18000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_all_domains.php

3
MariaDB is deprecating the "mysql" binary references, preferring their own name/branding. So yes, symlink if you need the "drop-in" replacement names or due to web developer familiarity.

4
Apache / Re: How to stop malicious scans
« on: March 30, 2025, 01:09:57 AM »
Well-behaved bots (such as Googlebot and Bingbot) will respect a robots.txt file at the root of your site.
Code: [Select]
User-agent: Googlebot Disallow: /
Or for efficiency, use this code:
Code: [Select]
User-agent: *
Disallow: /

User-agent: Bingbot
User-agent: Googlebot
Disallow:

5
This is used as their bug report form:
https://control-webpanel.com/contact

I would open a support ticket with them. I will be doing a migration soon and see if I can replicate your issue or if it goes smoothly.

6
Yes, you are probably uncovering a bug, or at least something that doesn't cover all conditionals.
are you obfuscating the username='user_name' part of the log you posted?
and what is the contents of accounts.ini file?

8
Nginx / Re: Restrict access to a cwp_service
« on: March 27, 2025, 05:28:46 PM »
As an aside, does anyone actually use an index file named "index.htm"? I have deleted that possibility from my servers ages ago and only support index.php and index.html as possibilities for the index directive.

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

10
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

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

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

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

15
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/

Pages: [1] 2 3 ... 86