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 ... 3 4 [5] 6 7 ... 43
This is great -- your contributions seem valuable, resolving longstanding little niggling bugs. Please contribute your code directly to the devs, as they may miss your forum posts and Github code repository. They do appreciate code like this -- they accepted my patch script back in my early days of CWP where I fixed post-migration issues with the cPanel -> CWP migration routine (basic functionality worked, but some cleanup was needed).

...if the update to Python3 would effect any of the standard vanilla installations of CWP. Or would this only effect CWP Server admins that have software requirements specifically for Python2?
The python3 package is called that way -- python3, leaving the python command to call python 2.7.5. So there shouldn't inherently be any interference with any of the default CWP kit. But I am unwilling to test on my production servers, because I've been burned by a python3 upgrade on a Linux Mint system and entered into a circular dependency hell that actually borked the whole system and took some doing to resolve.

But do let us know how it goes. I am curious and watching this thread. I just wanted to mention the python3 caveat after reviewing your script.

PHP / Re: PHP File cache
« on: August 29, 2023, 02:16:23 PM »
You can disable opcache in your relevant php.ini for your version of php:

Code: [Select]
opcache.enable = 0
Or you can selectivel set opcache_reset() at head of your php script.

Scripts / Re: CWPPRO terminal unable to install
« on: August 29, 2023, 01:17:48 AM »
They hard code a few things in the forum software to prevent hack attempts. It won't let you mention the actual file path of where MariaDB keeps its my.cnf file by default either... you have to reference it like so: / etc / my.cnf

The other big note on your revised install_terminal script is that you are installing python3, whereas the default RHEL kit provides & supports python 2.7.5. So know the ramifications of such an installation before proceeding. I've lived with CWP Pro for a while now as is, and will hold steady until early next year when I move over to EL9 -- when CWP for EL9 is ready, of course.

Information / Re: Alma Linux 9 Support ETA?
« on: August 29, 2023, 01:02:19 AM »
We do have very clear confirmation from Josemnunez that the dev team is hard at work on EL9 support. So no promised time frame, but they are indeed working toward that goal. And if AlmaLinux and Rocky stick to their current target of binary/API level compatibility (not necessarily bug-for-bug clone status any more), those distributions should count toward EL9 compatibility.

Scripts / Re: CWP update script
« on: August 29, 2023, 12:58:14 AM »
If you really want to exit the script at any point (before it restarts Apache), simply insert
Code: [Select]
exit 0into the script at the desired point. Future CWP updates would likely overwrite the script, so you would make the script immutable:
Code: [Select]
chattr +i /scripts/update_cwp

CentOS 7 Problems / Re: is this a server ... please help ...
« on: August 25, 2023, 02:03:40 PM »
As Starburst indicated, Ajax is the last thing to look at in the tool chain. Can you give us the other relevant info (your core OS, which web server you are using, which PHP version you are using -- and if it is SuPHP or php-fpm, and which WordPress version you are running). Also, a larger log file snippet would be helpful. And disable CSF temporarily for testing, also disable Mod_Security for now...

CentOS 7 Problems / Re: is this a server ... please help ...
« on: August 25, 2023, 02:57:49 AM »
Sorry -- I'm not quite understanding what you're asking or what your overall goal is. Limit a demo time frame? It dies prematurely so the demo fails?

How to / Re: how to secure CentOS server using CWP features
« on: August 19, 2023, 02:47:03 AM »
It's a measured tactic; you determine which is more important: 1). receiving mail from every potential source and staying fully RFC compliant and enjoying peak performance (minus the added mail processing load of handling spam from RU and CN), or 2). engaging in the realities of modern warfare aka mail server administration -- with firewall blocking and spam filtering, including country IP range blocking.

Information / Re: Unknown user in cwp user quota
« on: August 19, 2023, 02:42:15 AM »
Do they only show up in the quota interface, and no where else? In a shell, try
Code: [Select]
id 1000
id 501
id 3000
(a semi-random selection of the UIDs -- if you get no results, the entries are for sure not connected to any valid account on the system.

Information / Re: mysqli_error()
« on: August 19, 2023, 02:38:32 AM »
You need to get mariadb fully functional before CWP will function properly. You may need to repair your tables, delete your log files (ib_logfile0 and ib_logfile1), or roll back to a backup (or recreate the root_cwp database) in order to get fully stabilized.

How to / Re: how to secure CentOS server using CWP features
« on: August 18, 2023, 02:37:54 AM »
Make sure you have DKIM/DMARC set up:
Are your SPF records correct?
SASL authentication required?
Are any of your accounts compromised (with weak passwords)? Check your log files and look for suspicious activity.
Do you have any insecure scripts that use php's mail function?
Are you blocking spammy countries (CN,RU,KP) with the CSF firewall?

Do you mind starting your own thread to address your particular problem? It seems off-topic to the Polkit error addressed in this thread.

Pages: 1 ... 3 4 [5] 6 7 ... 43