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.
16
PHP / Re: PHP Switcher version in Almalinux 9
« on: May 06, 2024, 08:56:25 PM »AlmaLinux 8.x EOL in 2029. That's soon??Correct, Almalinux 8 ends in 2029 but Security Support, Active Support already ended on May 1 of this year.
AlmaLinux 9 is only 3 years behind that in 2032.
Reference: https://wiki.almalinux.org/FAQ.html
https://endoflife.date/almalinux
Since it is a VPS to do the migrations, I don't mind putting Almalinux 8 or 9, but... I would have liked to be able to do the migrations to Almalinux 9, through Active Support.
Quote
As far as PHP on the beta.Ok, that explains everything, because of what happens to me regarding the PHP version (I don't know if this also happens in the Pro version of CWP).
Right on: https://control-webpanel.com/installation-instructions#step4
"CWP is released for EL9 as a beta, and old PHP versions are removed i.e. only PHP 7.4 to 8.3 are supported."
So only the built-in 7.4.33 is currently working in the beta.
Bug report has been submitted that 8.3.x isn't working.
Again, CWP for EL9 is currently in beta.
I am sure they are working as fast as they can to get it ready.
Anyway, knowing that it is in beta and that they are working on it...ok, if I had known (when I looked at the installation instructions, your link, I didn't pay attention to the beta note and the PHP issue... I had it in front of me and I didn't see it... )
I thank you for your prompt and detailed reply, it has clarified everything for me.
Now I will wait for this issue to be resolved.
That said, thank you.
17
PHP / PHP Switcher version in Almalinux 9
« on: May 06, 2024, 08:14:09 PM »
I currently have two vps running on Almalinux 8.9, cwp pro.
As 8.9 reaches EOL soon, I have taken a VPS to do the migrations (VPSold to VPSnew, reconfigure VPS with Almalinux 9.x) and then, VPS new to VPS old.
Obviously, the new VPS that I use for this, I will do it from one account to one account, so I don't put CWP pro on it and I don't have access to PHP FPM (I don't need it).
My surprise was that PHP Switcher does not take me any version lower than php 7.4.33, I need php 7.1.33 but I can't.
Is there any limitation or am I doing something wrong?
As 8.9 reaches EOL soon, I have taken a VPS to do the migrations (VPSold to VPSnew, reconfigure VPS with Almalinux 9.x) and then, VPS new to VPS old.
Obviously, the new VPS that I use for this, I will do it from one account to one account, so I don't put CWP pro on it and I don't have access to PHP FPM (I don't need it).
My surprise was that PHP Switcher does not take me any version lower than php 7.4.33, I need php 7.1.33 but I can't.
Is there any limitation or am I doing something wrong?
18
PHP / Re: 503 Service unavailable
« on: March 27, 2024, 12:28:39 AM »Did you check (and increase) max execution time, memory limit, etc. in your php.ini?Yes, was the first I was try.
In this moment, I have this values:
('memory_limit', '256M')
('upload_max_filesize', '128M');
('post_max_size', '256M');
('max_input_time', '-1');
('max_execution_time', '-1');
('default_socket_timeout', '-1');
And I try with 512M, 256M and 512M (in the order, mem limit, upload max, post max...)
Also I try with 1024M, 512M and 1024M.
Same result all time...
Thanks for your reply.
19
PHP / 503 Service unavailable
« on: March 26, 2024, 06:47:35 PM »
I am encountering this problem and I don't know how to solve it.
I have a PHP script, which in the past worked for me without any problem on the same database, same environment...etc...
But it was on another host and another panel...
I launch it, it works, and from time to time, I get this error message, 503 service unavailable.
If I change a number in the url (what it does is that it imports data from one site to another) it continues without a problem.
After a lot of searching, the only error in the log I see is:
"child 4484 exited on signal 11 (sigsegv) after xxxxx seconds"
I have increased the times (set to -1) resources in php, in php-fpm I have set:
"pm = ondemand
pm.max_children = 100
pm.max_requests = 10000
pm.process_idle_timeout = 900s"
I did get that the max_children was low, it was advisable to raise it, but it was not the error.
I deleted the error log, I repeat the process, and the only error that appears is the previous one, signal 11...
I've been like this for 1 month or more, and I'm desperate...
Any ideas?
I have a PHP script, which in the past worked for me without any problem on the same database, same environment...etc...
But it was on another host and another panel...
I launch it, it works, and from time to time, I get this error message, 503 service unavailable.
If I change a number in the url (what it does is that it imports data from one site to another) it continues without a problem.
After a lot of searching, the only error in the log I see is:
"child 4484 exited on signal 11 (sigsegv) after xxxxx seconds"
I have increased the times (set to -1) resources in php, in php-fpm I have set:
"pm = ondemand
pm.max_children = 100
pm.max_requests = 10000
pm.process_idle_timeout = 900s"
I did get that the max_children was low, it was advisable to raise it, but it was not the error.
I deleted the error log, I repeat the process, and the only error that appears is the previous one, signal 11...
I've been like this for 1 month or more, and I'm desperate...
Any ideas?
20
PHP / Re: Internal server Error or The server is temporarily unable
« on: March 06, 2024, 06:57:32 PM »try temporarily dropping the CSF firewall. or upping your connection limits on mariadb if your PHP script makes many DB calls.I appreciate your response.
I made so many, so many changes to my account, that today I had to rollback a snapshot,,,
I didn't think about deactivating the CSF firewall, but I didn't get any notice or alert either.
Indeed, the script makes modifications to the database but... it does not "break" the mysql service either...
I just checked my my.cnf file and I don't have any max_connections value set, I'm going to see if I can see a way to know what value is set by default.
But...the script, I don't think it makes many calls, it is an old script, I have to run it at most in php 5.6 but...4 years ago I used it, without problems, on another hosting and panel, but without problems, with the same database as now...
It doesn't cost me anything to try those two things, but I'm afraid that...
If I use php-fpm the response is a 503 error, if I use php-cgi the response is 500 (always at the exact same point).
If it can do anything, I prefer the max_connections of the database, because for php, I have already given everything to the maximum even...
I say it, I really appreciate your response.
21
PHP / Internal server Error or The server is temporarily unable
« on: March 06, 2024, 12:01:27 AM »
This happens to me.
I run a script in PHP, what it performs is a conversion of tables in the database, I used this script in the past, and it didn't give me any problems (in the same database) but... I used another panel.
Well, if I configure it to use php-cgi, at one point I get "Internal Server Error", if I configure it to use php-fpm, at the same point I get "The server is temporarily unable..."
And I've been dealing with this for many hours, I've tried everything I can think of and found, but I can't solve it.
Any idea? I'm starting to get a little desperate, to say the least...
PS: No errors in the apache or mysql log
I run a script in PHP, what it performs is a conversion of tables in the database, I used this script in the past, and it didn't give me any problems (in the same database) but... I used another panel.
Well, if I configure it to use php-cgi, at one point I get "Internal Server Error", if I configure it to use php-fpm, at the same point I get "The server is temporarily unable..."
And I've been dealing with this for many hours, I've tried everything I can think of and found, but I can't solve it.
Any idea? I'm starting to get a little desperate, to say the least...
PS: No errors in the apache or mysql log
22
SSL / Re: AutoSSL and Cloudflare
« on: February 26, 2024, 07:42:27 PM »This is normal for Cloudflare, the RIGHT way to use cloudflare is that you install the cloudflare cert on your server, it is a wildcard ssl cert that goes between your server and cloudflare, then all proxied traffic is encrypted. Cloudflare then will use its own autossl between their servers and the internet.This only works if you have your web server separate -- but that is not the normal use case for CWP, which as a general purpose hosting platform, also has e-mail. So you need the other SANs that aren't available on the wildcard certficate. And CF only handles port 80 -> 443 in that case, not mail ports.
Correct, that's what I wanted to say and/or add in my previous reply.
23
SSL / Re: AutoSSL and Cloudflare
« on: February 26, 2024, 11:41:36 AM »This is a Cloudflare issue.
But I would log into Cloudflare, look at all the SSL settings for the domain name that is working correctly, and mirror those setting to the 2nd.
More than likely you have Cloudflare handling the SSL somewhere.
I have thought about it, because one server does work with the Cloudflare proxy and the other does not.
It has no explanation... I have reviewed the cloudflare configuration for the VPS that works for me, it does not handle any certificate.
I checked both accounts on Cloudflare and left them the same, with the same settings.
Maybe I should spend more and go point by point and see where the difference is.
This is normal for Cloudflare, the RIGHT way to use cloudflare is that you install the cloudflare cert on your server, it is a wildcard ssl cert that goes between your server and cloudflare, then all proxied traffic is encrypted. Cloudflare then will use its own autossl between their servers and the internet.
This happens on cpanel as well, it is the way traffic is being blocked to the autogenerated paths, and since we are unable to dynamically create dns records to validate domain ownership, it makes it very complicated.
It works sometimes, but if you REALLY want it to work ALL of the time, spend the extra few minutes and just download and install the cloudflare cert then make sure in cloudflare ssl is set to full, and enable all of the ssl features.
Yes, I had already thought about it and done it in the past, it is easy to do, but....there I have a problem, I need the SAN for the email, if I do this, I do not have that possibility.
In cPanel, it didn't happen to me, but I haven't used it for a few years now...
24
SSL / AutoSSL and Cloudflare
« on: February 26, 2024, 02:51:39 AM »
Curious what happens to me, I have two servers, they are two different vps, both, the dns in the registrar point to Cloudflare and from there, to the sites.
Well, one, no problem, I have the A record of www and the site name pointing to VPS1 (proxyfied by Cloudflare, orange icon) and without problem, autossl renews me without any problem.
The second VPS, VPS2 and another site, there is no way, if I don't deactivate Cloudflare it won't generate the AutoSSL certificate... and I don't know what to do anymore, I'm a little desperate.
Thanks and regards.
Well, one, no problem, I have the A record of www and the site name pointing to VPS1 (proxyfied by Cloudflare, orange icon) and without problem, autossl renews me without any problem.
The second VPS, VPS2 and another site, there is no way, if I don't deactivate Cloudflare it won't generate the AutoSSL certificate... and I don't know what to do anymore, I'm a little desperate.
Thanks and regards.
25
E-Mail / Re: CWP Email Compromised & SPAM Filtering
« on: September 16, 2023, 07:38:58 PM »I would love to know how to set this up with cwp7Are you referring to spamassassin or what was indicated by the OP of the thread?
26
E-Mail / Re: Not connect to mail from i-mac devices
« on: February 08, 2023, 06:27:20 PM »Are you supporting STARTTLS ports in addition to the SSL/TLS mail ports?
143 for IMAP, 25 for SMTP, 110 for POP3, 587 for submission.
I can't say how your Mac clients are set to connect to the server, but they can support both STARTTLS or SSL/TLS.
First of all, thanks for answering and apologies for the delay in answering, I spent a few days without being able to answer and the email notification entered my spam folder...
Indeed, in firewall I have those ports open, this is a list of the ports (I have removed those that are not relevant and/or are used for other things):
Quote
tcpI'm seeing, 465 and 587 are not in OUT but they must be in IN not OUT (correct me if I'm wrong).
IN: 20, 21, 25, 53, 80, 110, 143, 443, 465, 587, 993, 995,
OUT: 20, 21, 25, 53, 80, 110, 113, 443, 143, 993, 995,
What I commented, thanks for the answer and sorry for my delay in answering, between the fact that I could not connect for a few days and the email notification arrived at spam...
This is a topic that has me intrigued, indeed, a Mac connects just like any other (I think...)
27
E-Mail / Re: Not receiving any spam emails
« on: February 08, 2023, 06:21:09 PM »
Sorry, it's ok, I've seen this answer now, I spent a few days without being able to connect and the notification email came to spam.
I'm glad you solved it
I'm glad you solved it
28
CSF Firewall / Re: The module csfofficial does not exist
« on: January 18, 2023, 10:19:34 AM »
Solved with re install csf...
29
CSF Firewall / The module csfofficial does not exist
« on: January 17, 2023, 11:43:32 AM »
Hello,
I have 2 servers, are same, same o.s. same version of cwp, same version of config server...al are same.
In one, I have in my menu: ConfigServerScripts - ConfigServerFirewall.
In the other server, I don't have this, and if I try to access by url per module, appears:
The module csfofficial does not exist
How can solved this?
Thanks and regards.
I have 2 servers, are same, same o.s. same version of cwp, same version of config server...al are same.
In one, I have in my menu: ConfigServerScripts - ConfigServerFirewall.
In the other server, I don't have this, and if I try to access by url per module, appears:
The module csfofficial does not exist
How can solved this?
Thanks and regards.
30
E-Mail / Re: Not connect to mail from i-mac devices
« on: January 15, 2023, 09:08:38 AM »
Any iddea or suggestion?
Regards!
Regards!