Recent Posts

Pages: [1] 2 3 ... 10
1
Nginx / 502 Bad Gateway error after updating nginx
« Last post by imlemeciz on Today at 06:35:35 AM »
I deleted Nginxi and installed 1.26.2.

Nginx is active in the CWP panel. Started.

I get an error when I try to access the site

502 Bad Gateway nginx/1.26.2

nginx error log
Code: [Select]
2024/11/21 09:27:18 [notice] 3986#3986: signal 15 (SIGTERM) received from 1, exiting
2024/11/21 09:27:18 [notice] 3988#3988: exit
2024/11/21 09:27:18 [notice] 3986#3986: signal 17 (SIGCHLD) received from 3990
2024/11/21 09:27:18 [notice] 3986#3986: worker process 3987 exited with code 0
2024/11/21 09:27:18 [notice] 3986#3986: worker process 3990 exited with code 0
2024/11/21 09:27:18 [notice] 3986#3986: signal 29 (SIGIO) received
2024/11/21 09:27:18 [notice] 3986#3986: signal 17 (SIGCHLD) received from 3989
2024/11/21 09:27:18 [notice] 3986#3986: worker process 3989 exited with code 0
2024/11/21 09:27:18 [notice] 3986#3986: signal 29 (SIGIO) received
2024/11/21 09:27:18 [notice] 3986#3986: signal 17 (SIGCHLD) received from 3988
2024/11/21 09:27:18 [notice] 3986#3986: worker process 3988 exited with code 0
2024/11/21 09:27:18 [notice] 3986#3986: exit
2024/11/21 09:27:24 [notice] 4054#4054: using the "epoll" event method
2024/11/21 09:27:24 [notice] 4054#4054: nginx/1.26.2
2024/11/21 09:27:24 [notice] 4054#4054: built by gcc 11.4.1 20231218 (Red Hat 11.4.1-3) (GCC)
2024/11/21 09:27:24 [notice] 4054#4054: OS: Linux 5.14.0-503.14.1.el9_5.x86_64
2024/11/21 09:27:24 [notice] 4054#4054: getrlimit(RLIMIT_NOFILE): 1024:524288
2024/11/21 09:27:24 [notice] 4055#4055: start worker processes
2024/11/21 09:27:24 [notice] 4055#4055: start worker process 4056
2024/11/21 09:27:24 [notice] 4055#4055: start worker process 4057
2024/11/21 09:27:24 [notice] 4055#4055: start worker process 4058
2024/11/21 09:27:24 [notice] 4055#4055: start worker process 4059


php-fpm.log
Code: [Select]
[21-Nov-2024 09:36:49] WARNING: [pool cwpsrv] child 4427 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:36:54] WARNING: [pool cwpsrv] child 4427 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:36:59] WARNING: [pool cwpsrv] child 4445 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:37:04] WARNING: [pool cwpsrv] child 4613 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:37:09] WARNING: [pool cwpsrv] child 4427 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:37:14] WARNING: [pool cwpsrv] child 4445 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:37:27] WARNING: [pool cwpsrv] child 4613 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:37:46] WARNING: [pool cwpsrv] child 4613 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:37:49] WARNING: [pool cwpsrv] child 4940 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:37:54] WARNING: [pool cwpsrv] child 4613 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[21-Nov-2024 09:37:59] WARNING: [pool cwpsrv] child 4940 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"

2
PHP Selector / Re: Cannot update php version
« Last post by Starburst on November 20, 2024, 07:02:49 PM »
CWP is alive & well.

The recommended OS now is AlmaLinux 8.

AlmaLinux 9 works as well with CWP, but only works with PHP 7.4.x and higher.
3
No, I just ran the normal
Code: [Select]
dnf --refresh update
That's usually what I do on all of them, just because it's personal preference.

DNF has the option to run automatically, and we have a few servers setup that way.

Same with freshclam, that service is set to automatic on all servers running email.

4
CSF Firewall / Re: Cant start firewall
« Last post by Starburst on November 20, 2024, 06:53:46 PM »
What is the CSF log showing?
5
CSF Firewall / Re: Cant start firewall
« Last post by anandmys on November 20, 2024, 10:22:22 AM »
Hi reintalled a new VPS and migrated the accounts before I saw this message.

Thanks for the support

According to the error the kernel module iptables_filter isn't loaded and OS can't load it for some reason. It could happen if:

1. You use custom kernel without iptables_filter support (Kernel installed from some 3rd party repository or compiled from sources with iptables_filter disabled)
2. Your provider uses OpenVZ/LXC virtualization and the kernel module iptables_filter isn't loaded at main node.

If the problem remains unsolved after the restoration then do following:

Run as root on your VPS:

Code: [Select]
uname -a
ls  /lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/

and show output.
6
dnf was run manually, so I could make sure the updates to AL 9.5 went without errors'

Hi,

thank you very much for the reply...

???Just a clarification when installing AL9.5 - and for this installation, let's follow the recommendations you gave us here:

https://forum.centos-webpanel.com/apache/issues-with-brand-new-fresh-install-with-almalinux-9-4/msg49159/#msg49159

And as you implement and I guess recommend, now that we install AL 9.5 and then CWP, in the future when updating AL to do it manually?

Thanks in advance!

BR
Venty
7
PHP Selector / Re: Cannot update php version
« Last post by cyberspace on November 20, 2024, 08:15:05 AM »
Reconfigure yum to retrieve the CentOS packages from the Vault repository:
https://www.nux.ro/Enable_vault_repositories_on_CentOS7/
then do:

Code: [Select]
yum clean all
yum update

but don't expect to get the latest server software.

If it is ok for you to reinstall the server to use some current centos alternative then I recommend to use Almalinux 8 or 9. Almalinux is supported by CWP.
8
PHP Selector / Re: Cannot update php version
« Last post by pete-cwp on November 20, 2024, 07:38:34 AM »
Dang, im not a regular user and clearly have not updated my server in quite some time.

What is the best alt to centos, i know stream can work, but is RHEL supported in the longer term, or are there better alternatives ?

I would have no issue in formatting server and installing everything from fresh to move forward.

Does CWP work with these or do i need cpanel or something else ?
9
PHP Selector / Re: Cannot update php version
« Last post by Starburst on November 20, 2024, 07:17:08 AM »
Don't know how MANY times this has been posted over and over.
But here is it again...


CENTOS 7 IS DEAD - D-E-A-D, unalive, no longer with us, finished, no longer supported, kaput...

You want to use a PAST EOL OS like CentOS 7, that's fine.

BUT EXPECT ERRORS AND THINGS NOT TO WORK.

RedHat even has Frozen and Archived the repos for CentOS 7. Hence all the 404 Errors.

There was a temporary way to access the archived repos, so you could upgrade to AlmaLinux 8.
But not sure if that is still working.
10
dnf was run manually, so I could make sure the updates to AL 9.5 went without errors'
Pages: [1] 2 3 ... 10