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 - Wonder

Pages: [1] 2 3 ... 7
1
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.

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

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

4
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

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

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

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

8
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 cwp7
Are you referring to spamassassin or what was indicated by the OP of the thread?

9
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
tcp
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,
I'm seeing, 465 and 587 are not in OUT but they must be in IN not OUT (correct me if I'm wrong).

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

10
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

11
CSF Firewall / Re: The module csfofficial does not exist
« on: January 18, 2023, 10:19:34 AM »
Solved with re install csf...

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

13
E-Mail / Re: Not connect to mail from i-mac devices
« on: January 15, 2023, 09:08:38 AM »
Any iddea or suggestion?

Regards!

14
E-Mail / Not connect to mail from i-mac devices
« on: January 12, 2023, 11:01:28 AM »
Well, this strange case happens to me, from any other client, such as thunderbird, everything is perfect but... from two new i-mac devices, it does not connect to mail, testing, I have seen that, if I deactivate Firewall then it does connect, if I activate firewall does not connect.
But the imap firewall ports are correctly open, 993, 465...etc...otherwise it wouldn't work from Thunderbird for example.
And I don't like having to have the firewall disabled.

Any ideas? Because for me, it's the strangest thing I've ever seen...

Regards.

15
E-Mail / Re: Not receiving any spam emails
« on: January 12, 2023, 10:55:04 AM »
I have a weird issue, and I'm sure its just a setting somewhere.

I am able to send and receive emails in my inbox and all that is working fine, but my spam/junk folder has not received a single email since setting up cwp (2 months). I suppose that's a good thing, but it isn't as some emails I receive are from legit sources that end up in the spam folder, but once I switched to cwp I no longer receive any junk emails.

Just wondering if I need to set up spam experts or antispam for emails detected as spam to be sent to spam folder?
There is something I don't quite understand, do you mean that emails identified as spam enter your inbox?

Pages: [1] 2 3 ... 7