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 ... 39 40 [41] 42 43 ... 127
601
Information / Re: User control panel not working either
« on: April 05, 2025, 11:53:20 AM »
I haven't encountered the issue and probably don't fully understand what you are seeing. Have you tried manually running the root and user cronjobs from the shell so you can watch their output and ensure they have run (to validate your hypothesis)?

602
DNS / Re: Does CWP support .de domains?
« on: April 04, 2025, 05:22:26 PM »
It resolves now from the US of A. And reverse DNS looks to be in place, too:
Code: [Select]
dig -x 185.218.125.150

; <<>> DiG 9.10.6 <<>> -x 185.218.125.150
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44129
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;150.125.218.185.in-addr.arpa. IN PTR

;; ANSWER SECTION:
150.125.218.185.in-addr.arpa. 86400 IN PTR viking.dragocom.xyz.

603
Information / Re: Goaccess stopped working
« on: April 03, 2025, 11:47:41 PM »
How do I remember all my threads? I authored them, so I maintain a basic familiarity with them. Plus, if you test your methods and author an instructional post, sometimes it takes 15 min+ to test it ahead of publication. So I'm apt to remember a post that took some doing!

25MB is not overly large for an access log. Your error log, on the other hand, is rather large if it's >500MB. Do you have logrotate enabled to process all your domlogs?

Not sure what you're encountering, because I tested both methods when I posted to the other thread. Maybe something particular with your installation? Try the other method using the legacy geoip -- same as what the current GoAccess uses:
Code: [Select]
yum -y install geoip-devel
cd /usr/local/src
wget https://tar.goaccess.io/goaccess-1.9.3.tar.gz
tar -xzvf goaccess-1.9.3.tar.gz
cd goaccess-1.9.3/
./configure --prefix= --enable-debug --enable-utf8 --enable-geoip=legacy --with-getline --with-openssl
make
make install

604
DNS / Re: Does CWP support .de domains?
« on: April 03, 2025, 10:49:21 AM »
Definitely not dig'n that domain from here. It doesn't resolve -- no IP address.

605
Information / Re: Goaccess stopped working
« on: April 02, 2025, 01:01:42 PM »
Have you checked to see if your log files haven't ballooned in size to be too large to process? Are you using logrotate to keep them a manageable size?

I posted update instructions in another thread, but here it is again:
Also, can goaccess be updated?  server version is 1.2 from 2017.  Latest is 1.9
Nothing prevents you from updating if you so desire. Remove CWP's GoAccess and install prerequisite (MaxMind GeoIP library):
Code: [Select]
yum -y remove goaccess
yum install libmaxminddb-devel.x86_64
Download and compile GoAccess, install to replace the current 1.2 version:
Code: [Select]
cd /usr/local/src
wget https://tar.goaccess.io/goaccess-1.9.3.tar.gz
tar -xzvf goaccess-1.9.3.tar.gz
cd goaccess-1.9.3/
./configure --prefix= --enable-debug --enable-utf8 --enable-geoip=mmdb --with-getline --with-openssl
make
make install

606
Nginx / Re: Nginx Set up redirects
« on: April 02, 2025, 10:57:36 AM »
.htaccess is for Apache; nginx will ignore them. Edit the virtual host conf file under the [server] directive block -- the basic construct is to use this syntax:
Code: [Select]
return 301 http://www.example.com$request_uri;

607
MySQL / Re: MySQL - BAD CONFIGURATION DETECTED
« on: April 01, 2025, 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.

608
Installation / Re: Cron jobs from installation
« on: April 01, 2025, 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

609
CentOS 8 Problems / Re: CWP + ALmalinux 8 + updated Mariadb 11.4.5
« on: April 01, 2025, 12:35:40 PM »
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.

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

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

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

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

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

Pages: 1 ... 39 40 [41] 42 43 ... 127