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.
1726
E-Mail / Re: SMTP Error 451
« on: February 13, 2023, 09:31:28 AM »
You can set message throughput limits under the Packages > Packages menu item (don't you love the redundancy there?).
It is set under the Hourly Emails setting.
It is set under the Hourly Emails setting.
1727
E-Mail / Re: I can rececive emails, but cannot send any emails
« on: February 13, 2023, 09:27:04 AM »
I can confirm (testing against 3 CWP servers) that an nmap ping probe (example above) will not set off the CSF firewall. You won't block yourself by doing so.
Code: [Select]
localhost$ nmap -P0 yourserver.com
Starting Nmap 7.93 ( https://nmap.org ) at 2023-02-13 02:20 MST
Nmap scan report for yourserver.com (111.111.111.111)
Host is up (0.075s latency).
Not shown: 982 closed tcp ports (conn-refused)
PORT STATE SERVICE
25/tcp filtered smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
143/tcp open imap
443/tcp open https
445/tcp filtered microsoft-ds
465/tcp open smtps
587/tcp open submission
993/tcp open imaps
995/tcp open pop3s
2031/tcp open device2
3306/tcp open mysql
8888/tcp open sun-answerbook
1728
Other / Re: How to protect my files against download
« on: February 13, 2023, 09:12:42 AM »
curl and wget can get a lot, and many offline web readers can suck down a whole site and localize the HTML. So not much you can do about it.
1729
Installation / Re: Thunderbird problem
« on: February 13, 2023, 09:10:59 AM »
Funny thing is that I've seen countless T-Bird IMAP bugs over the years. And yet, Postbox (a commercial Thunderbird derivative, still using the T-Bird mail engine) seems to have fixed those IMAP errors! I never encounter any when I use Postbox, and having bought a lifetime license years ago, I get all updates that have been released. It offers a lot more spit-n-polish than the default T-bird experience.
1730
MySQL / Re: virtual memory size
« on: February 11, 2023, 12:23:28 AM »
Definitely consider doing some MySQL performance tuning. There are scripts you can download that check your environment and offer suggestions for changes in you my.cnf file.
MySQL allocates memory in tons of places. Especially look at table cache
Performance_schema
Run this:
and look at the last line. That may be the cause for the systems with small amount of RAM, i.e. 1G or less
InnoDB
Run this:
check the buffer pool section, memory allocated for buffer_pool and related caches)
Temporary tables in RAM
Find all in-memory tables by running
Prepared statements, when it is not deallocated (check the number of prepared commands via deallocate command by running
Welcome to the deep end
MySQL allocates memory in tons of places. Especially look at table cache
Performance_schema
Run this:
Code: [Select]
show engine performance_schema status and look at the last line. That may be the cause for the systems with small amount of RAM, i.e. 1G or less
InnoDB
Run this:
Code: [Select]
show engine innodb status check the buffer pool section, memory allocated for buffer_pool and related caches)
Temporary tables in RAM
Find all in-memory tables by running
Code: [Select]
select * from information_schema.tables where engine='MEMORY'Prepared statements, when it is not deallocated (check the number of prepared commands via deallocate command by running
Code: [Select]
show global status like ‘ Com_prepare_sql';show global status like 'Com_dealloc_sql'Welcome to the deep end
1731
E-Mail / Re: I can rececive emails, but cannot send any emails
« on: February 11, 2023, 12:15:15 AM »1732
CSF Firewall / Re: Custom Webpage rather than "not solved"
« on: February 10, 2023, 03:37:45 PM »
The one-liner above should be:
Code: [Select]
cp /etc/csf/csf.conf{,.backup} && csf -u && sed -i 's/MESSENGER = "0"/MESSENGER = "1"/g' /etc/csf/csf.conf ; sed -i 's/MESSENGERV2 = "0"/MESSENGERV2 = "1"/g' /etc/csf/csf.conf ; sed -i 's/MESSENGER_HTTPS_IN = ""/MESSENGER_HTTPS_IN = "443"/g' /etc/csf/csf.conf ; useradd csf -s /bin/false ; csf -ra
And here it is as multiple lines:Code: [Select]
cp /etc/csf/csf.conf{,.backup}
csf -u
sed -i 's/MESSENGER = "0"/MESSENGER = "1"/g' /etc/csf/csf.conf
sed -i 's/MESSENGERV2 = "0"/MESSENGERV2 = "1"/g' /etc/csf/csf.conf
sed -i 's/MESSENGER_HTTPS_IN = ""/MESSENGER_HTTPS_IN = "443"/g' /etc/csf/csf.conf
useradd csf -s /bin/false
csf -ra
1733
MySQL / Re: virtual memory size
« on: February 10, 2023, 08:07:37 AM »
Check the available RAM on your server:
Check mysql configuration: /etc/my.cnf or in the configuration directory: /etc/my.cnf.d.
Run
Do you have a lot of caching in your my.cnf file?
Code: [Select]
free -g
cat /proc/meminfoCheck what applications are using large amounts of RAM: top or htop (see the resident vs virtual memory)Check mysql configuration: /etc/my.cnf or in the configuration directory: /etc/my.cnf.d.
Run
Code: [Select]
vmstat 5 5 to see if the system is reading/writing via virtual memory and if it is swapping...Do you have a lot of caching in your my.cnf file?
1734
MySQL / Re: MySQL Database Server - Failed
« on: February 10, 2023, 07:46:40 AM »
Try moving or removing the aria_log_control file, then start mariadb.
Code: [Select]
/var/lib/mysql/aria_log_control
1735
Mod_Security / Re: Mod Security issue? pid 2459:tid 140698774865664
« on: February 10, 2023, 07:41:15 AM »
You're using the OWASP ruleset. I would suggest trying the Comodo rules instead -- it will throw less false-positives; it's not as restrictive and is more beginner-friendly.
1736
Some people just click on the "Unread" link and only peruse those (few) threads. To discover more, you have use this link instead:
Click here to try all unread topics.
Or better yet, simply look on the Forum homepage and just scroll the forum list to see if any topics are new or interest you. But you don't see the "child" fora:
Control Web Panel
(So you could make a case for there being too many categories and sub-categories. But it does help for categorization of issues.)
Click here to try all unread topics.
Or better yet, simply look on the Forum homepage and just scroll the forum list to see if any topics are new or interest you. But you don't see the "child" fora:
Control Web Panel
(So you could make a case for there being too many categories and sub-categories. But it does help for categorization of issues.)
1737
CentOS-WebPanel GUI / Re: How can I enable force HTTPS for Apache webserver for all domains?
« on: February 10, 2023, 07:31:37 AM »
It's possible to do a permanent redirect in the vhost config:
But a 301 redirect is preferred. In vhost conf or in .htaccess:
Code: [Select]
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
Redirect permanent / https://example.com/
</VirtualHost>But a 301 redirect is preferred. In vhost conf or in .htaccess:
Code: [Select]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://example.com/$1 [L,R=301]
1738
CentOS-WebPanel GUI / Re: How to enable one click login to phpmyadmin
« on: February 10, 2023, 07:25:46 AM »
Unless your MySQL password differs from your r00t password... then MySQL r00t does not equal r00t...
1739
Installation / Re: What distro to go for..
« on: February 10, 2023, 07:24:22 AM »
Good, good, good to know! Thanks for the advice, Starburst. I'll be looking at AlmaLinux as my CentOS 7 EOL exit path.
1740
Installation / Re: Rocky Linux 8 too Rocky??
« on: February 10, 2023, 07:22:57 AM »Rocky Linux has suffered from missing packages, since the pre-release versions.Good to know your experience! I trust your impressions. I was leaning toward AlmaLinux anyway, but I think you've swayed me fully to pursue AlmaLinux for my CentOS 7 EOL exit plan!
But ultimately we had to abandon it for AlmaLinux.
