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

Pages: 1 2 [3] 4
31
Apache / Nginx configure
« on: June 17, 2022, 01:15:46 AM »
My Web Server is Nginx & Apache, I have several ULRs without suffix, for example: https://www.example.com/my-post

Please note that there is no "/" at the end of this URL. Now visiting this URL will directly display the source code of this page. How can I make it display the content of the page?

32
PHP / PHP-FPM not working, 503 Service Unavailable
« on: April 28, 2022, 03:55:16 AM »
My website suddenly got the following error
503 Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

I checked the error log of the domain name and found the following code

it seem the PHP-FPM stopped working, how to fix it?

[Thu Apr 28 03:34:04.581381 2022] [proxy:error] [pid 969:tid 140569548404480] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm74/usr/var/sockets/mydomain.sock (*) failed
[Thu Apr 28 03:34:04.581404 2022] [proxy_fcgi:error] [pid 969:tid 140569548404480] [client 113.118.232.250:46144] AH01079: failed to make connection to backend: httpd-UDS
[Thu Apr 28 03:34:04.609360 2022] [proxy:error] [pid 968:tid 140569531619072] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm74/usr/var/sockets/mydomain.sock (*) failed
[Thu Apr 28 03:34:04.609400 2022] [proxy_fcgi:error] [pid 968:tid 140569531619072] [client 92.247.181.45:46146] AH01079: failed to make connection to backend: httpd-UDS
[Thu Apr 28 03:34:05.585224 2022] [proxy:error] [pid 967:tid 140569422513920] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm74/usr/var/sockets/mydomain.sock (*) failed
[Thu Apr 28 03:34:05.585250 2022] [proxy_fcgi:error] [pid 967:tid 140569422513920] [client 113.118.232.250:46148] AH01079: failed to make connection to backend: httpd-UDS
[Thu Apr 28 03:34:19.692806 2022] [proxy:error] [pid 968:tid 140569514833664] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm74/usr/var/sockets/mydomain.sock (*) failed
[Thu Apr 28 03:34:19.692837 2022] [proxy_fcgi:error] [pid 968:tid 140569514833664] [client 82.146.56.36:46154] AH01079: failed to make connection to backend: httpd-UDS
[Thu Apr 28 03:34:31.446718 2022] [proxy:error] [pid 968:tid 140569659246336] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm74/usr/var/sockets/mydomain.sock (*) failed
[Thu Apr 28 03:34:31.446743 2022] [proxy_fcgi:error] [pid 968:tid 140569659246336] [client 66.249.64.182:46156] AH01079: failed to make connection to backend: httpd-UDS
[Thu Apr 28 03:34:35.353507 2022] [proxy:error] [pid 968:tid 140569573582592] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm74/usr/var/sockets/mydomain.sock (*) failed

33
There are no other errors found in the log, it seems that I have to reinstall CWP7

34
But my website is often inaccessible, Google Chrome shows the error code is ERR_CONNECTION_RESET

There is error in the log: AH00492: caught SIGWINCH, shutting down gracefully

Is this error causing the website to be inaccessible?

35
But I don't need these subdomains, so I didn't add A records for these subdomains.
In addition, my mail is the purchased google enterprise mail, it needs to point to the A record provided by google

36
I use Nginx & Apache, now there is a strange problem, the website is frequently inaccessible, Chrome shows ERR_CONNECTION_RESET, I checked the error log, it shows as follows, how can I fix it?

I've tried rebuilding the server, and reinstalling SSL, but it doesn't solve the problem. I also tested the SSL certificate using the tool and the key and certificate match.

[Wed Mar 16 03:40:52.287922 2022] [mpm_event:notice] [pid 27942:tid 140218443245440] AH00492: caught SIGWINCH, shutting down gracefully
[Wed Mar 16 03:40:52.371153 2022] [ssl:warn] [pid 28976:tid 140594806794112] AH01909: cpanel.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 03:40:52.371792 2022] [ssl:warn] [pid 28976:tid 140594806794112] AH01909: mail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 03:40:52.372764 2022] [ssl:warn] [pid 28976:tid 140594806794112] AH01909: webmail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 03:40:52.390082 2022] [ssl:warn] [pid 28977:tid 140594806794112] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Mar 16 03:40:52.390603 2022] [ssl:warn] [pid 28977:tid 140594806794112] AH01909: cpanel.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 03:40:52.391149 2022] [ssl:warn] [pid 28977:tid 140594806794112] AH01909: mail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 03:40:52.391560 2022] [ssl:warn] [pid 28977:tid 140594806794112] AH01909: webmail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 03:40:52.393985 2022] [mpm_event:notice] [pid 28977:tid 140594806794112] AH00489: Apache/2.4.51 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Wed Mar 16 03:40:52.394022 2022] [core:notice] [pid 28977:tid 140594806794112] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Wed Mar 16 04:17:45.705411 2022] [mpm_event:notice] [pid 28977:tid 140594806794112] AH00492: caught SIGWINCH, shutting down gracefully
[Wed Mar 16 04:17:45.760845 2022] [ssl:warn] [pid 30959:tid 140015092979584] AH01909: cpanel.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 04:17:45.761498 2022] [ssl:warn] [pid 30959:tid 140015092979584] AH01909: mail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 04:17:45.761995 2022] [ssl:warn] [pid 30959:tid 140015092979584] AH01909: webmail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 04:17:45.783688 2022] [ssl:warn] [pid 30960:tid 140015092979584] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Mar 16 04:17:45.784421 2022] [ssl:warn] [pid 30960:tid 140015092979584] AH01909: cpanel.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 04:17:45.785201 2022] [ssl:warn] [pid 30960:tid 140015092979584] AH01909: mail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 04:17:45.785805 2022] [ssl:warn] [pid 30960:tid 140015092979584] AH01909: webmail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 04:17:45.788816 2022] [mpm_event:notice] [pid 30960:tid 140015092979584] AH00489: Apache/2.4.51 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Wed Mar 16 04:17:45.788860 2022] [core:notice] [pid 30960:tid 140015092979584] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Wed Mar 16 08:16:02.810890 2022] [mpm_event:notice] [pid 30960:tid 140015092979584] AH00492: caught SIGWINCH, shutting down gracefully
[Wed Mar 16 08:16:02.874760 2022] [ssl:warn] [pid 10864:tid 140471621969792] AH01909: cpanel.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 08:16:02.875363 2022] [ssl:warn] [pid 10864:tid 140471621969792] AH01909: mail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 08:16:02.875825 2022] [ssl:warn] [pid 10864:tid 140471621969792] AH01909: webmail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 08:16:02.893965 2022] [ssl:warn] [pid 10866:tid 140471621969792] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Mar 16 08:16:02.894490 2022] [ssl:warn] [pid 10866:tid 140471621969792] AH01909: cpanel.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 08:16:02.895037 2022] [ssl:warn] [pid 10866:tid 140471621969792] AH01909: mail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 08:16:02.895457 2022] [ssl:warn] [pid 10866:tid 140471621969792] AH01909: webmail.mydomain.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 16 08:16:02.897918 2022] [mpm_event:notice] [pid 10866:tid 140471621969792] AH00489: Apache/2.4.51 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Wed Mar 16 08:16:02.897966 2022] [core:notice] [pid 10866:tid 140471621969792] AH00094: Command line: '/usr/local/apache/bin/httpd'

37
Postfix / SASL LOGIN authentication failed: UGFzc3dvcmQ6
« on: February 28, 2022, 02:29:00 AM »
maillog keeps recording the following errors, the maillog file has exceeded 50M, I found that 5.34.207.56 and 5.34.205.98 are located in Iran, obviously, my server is under attack
I tried to block these two IPs According to https://wiki.centos-webpanel.com/postfix-blacklist-domain-or-ip, I created sender_blacklist, and executed postmap /etc/postfix/sender_blacklist, but the maillog continues to recording these errors

How to fix it?

Feb 28 02:20:05 postfix/smtpd[19178]: connect from unknown[5.34.207.56]
Feb 28 02:20:05 postfix/smtpd[18173]: disconnect from unknown[5.34.207.56] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 28 02:20:06 postfix/smtpd[15770]: warning: unknown[5.34.205.98]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 28 02:20:06 postfix/smtpd[15770]: disconnect from unknown[5.34.205.98] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 28 02:20:08 postfix/smtpd[18548]: connect from unknown[5.34.205.98]
Feb 28 02:20:10 postfix/smtpd[18173]: connect from unknown[5.34.207.56]
Feb 28 02:20:11 postfix/smtpd[17156]: warning: unknown[5.34.207.56]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 28 02:20:11 postfix/smtpd[17156]: disconnect from unknown[5.34.207.56] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 28 02:20:14 postfix/smtpd[19184]: warning: unknown[5.34.207.56]: SASL LOGIN authentication failed: Connection lost to authentication server
Feb 28 02:20:14 postfix/smtpd[17156]: connect from unknown[5.34.207.56]
Feb 28 02:20:15 postfix/smtpd[19184]: disconnect from unknown[5.34.207.56] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 28 02:20:18 postfix/smtpd[19178]: warning: unknown[5.34.207.56]: SASL LOGIN authentication failed: Connection lost to authentication server
Feb 28 02:20:19 postfix/smtpd[19178]: disconnect from unknown[5.34.207.56] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 28 02:20:19 postfix/smtpd[19184]: connect from unknown[5.34.207.56]
Feb 28 02:20:23 postfix/smtpd[18173]: warning: unknown[5.34.207.56]: SASL LOGIN authentication failed: Connection lost to authentication server
Feb 28 02:20:24 postfix/smtpd[19178]: connect from unknown[5.34.207.56]
Feb 28 02:20:24 postfix/smtpd[18173]: disconnect from unknown[5.34.207.56] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4

38
PHP Selector / Re: PHP-FPM Selector - Build Fails
« on: February 15, 2022, 08:00:44 AM »
does it work?

wget https://libzip.org/download/libzip-1.4.0.tar.gz
tar zxvf libzip-1.4.0.tar.gz
cd libzip-1.4.0
mkdir build
cd build
/usr/local/bin/cmake ..
make
make test
make install

39
PHP Selector / Re: PHP-FPM Selector - Build Fails
« on: February 15, 2022, 06:35:19 AM »
I executed yum install libzip libzip-devel, then reinstalled PHP-FPM 7.4, the above error still appears

--> Running transaction check
---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
---> Package libzip-devel.x86_64 0:0.10.1-8.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================
 Package                                     Arch                                  Version                                        Repository                           Size
============================================================================================================================================================================
Installing:
 libzip                                      x86_64                                0.10.1-8.el7                                   base                                 48 k
 libzip-devel                                x86_64                                0.10.1-8.el7                                   base                                 77 k

Transaction Summary
============================================================================================================================================================================
Install  2 Packages

Total download size: 125 k
Installed size: 176 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): libzip-0.10.1-8.el7.x86_64.rpm                                                                                                                |  48 kB  00:00:00     
(2/2): libzip-devel-0.10.1-8.el7.x86_64.rpm                                                                                                          |  77 kB  00:00:00     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                       1.0 MB/s | 125 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.


  Installing : libzip-0.10.1-8.el7.x86_64                                                                                                                               1/2
  Installing : libzip-devel-0.10.1-8.el7.x86_64                                                                                                                         2/2
  Verifying  : libzip-devel-0.10.1-8.el7.x86_64                                                                                                                         1/2
  Verifying  : libzip-0.10.1-8.el7.x86_64                                                                                                                               2/2

Installed:
  libzip.x86_64 0:0.10.1-8.el7                                                      libzip-devel.x86_64 0:0.10.1-8.el7                                                     

Complete!

40
PHP Selector / Re: PHP-FPM Selector - Build Fails
« on: February 15, 2022, 03:07:32 AM »
Here's install log

checking whether to build with expat support... no
checking for libxml-2.0 >= 2.7.6... yes
checking whether to enable XMLReader support... yes
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with XMLRPC-EPI support... yes
checking whether to build with expat support... no
checking iconv dir for XMLRPC-EPI... no
checking for libxml-2.0 >= 2.7.6... yes
checking whether to enable XMLWriter support... yes
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with XSL support... yes
checking for libxslt >= 1.1.0... yes
checking for libexslt... yes
checking whether to enable zend-test extension... no
checking for zip archive read/write support... yes
checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no
configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:

No package 'libzip' found
No package 'libzip' found
No package 'libzip' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBZIP_CFLAGS
and LIBZIP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 101: /opt/alt/php-fpm74/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 102: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 104: /opt/alt/php-fpm74/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
Failed to execute operation: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: packages.oit.ncsu.edu
 * extras: mirrors.linode.com
 * remi-safe: repo1.dal.innoscale.net
 * updates: mirrors.linode.com
Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version
Package libsodium-devel-1.0.18-1.el7.x86_64 already installed and latest version
Nothing to do
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 28505  100 28505    0     0  97677      0 --:--:-- --:--:-- --:--:-- 97955
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 9: /opt/alt/php-fpm74/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 10: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 14: /opt/alt/php-fpm74/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so
exe:/opt/alt/php-fpm74/usr/sbin/php-fpm
Failed to restart php-fpm74.service: Unit not found.
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


Error:Can't add notification!

41
PHP / Can't switch to PHP-FPM 7.4
« on: February 14, 2022, 04:52:03 AM »
I want to switch from PHP-FPM 7.2 to PHP-FPM 7.4, some errors occurred during the upgrade process, PHP-FPM 7.4 was not installed successfully

Here's install log

checking whether to build with expat support... no
checking for libxml-2.0 >= 2.7.6... yes
checking whether to enable XMLReader support... yes
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with XMLRPC-EPI support... yes
checking whether to build with expat support... no
checking iconv dir for XMLRPC-EPI... no
checking for libxml-2.0 >= 2.7.6... yes
checking whether to enable XMLWriter support... yes
checking for libxml-2.0 >= 2.7.6... yes
checking whether to build with XSL support... yes
checking for libxslt >= 1.1.0... yes
checking for libexslt... yes
checking whether to enable zend-test extension... no
checking for zip archive read/write support... yes
checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no
configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:

No package 'libzip' found
No package 'libzip' found
No package 'libzip' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBZIP_CFLAGS
and LIBZIP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/var/sockets/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/': No such file or directory
mkdir: cannot create directory '/opt/alt/php-fpm74/usr/etc/php-fpm.d/users/': No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 101: /opt/alt/php-fpm74/usr/etc/php-fpm.d/users.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 102: /opt/alt/php-fpm74/usr/etc/php-fpm.conf: No such file or directory
/usr/local/src/php-fpm-7.4.sh: line 104: /opt/alt/php-fpm74/usr/etc/php-fpm.d/cwpsvc.conf: No such file or directory
cp: cannot stat 'sapi/fpm/php-fpm.service': No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
sed: can't read /usr/lib/systemd/system/php-fpm74.service: No such file or directory
Failed to execute operation: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: packages.oit.ncsu.edu
 * extras: mirrors.linode.com
 * remi-safe: repo1.dal.innoscale.net
 * updates: mirrors.linode.com
Package libsodium-1.0.18-1.el7.x86_64 already installed and latest version
Package libsodium-devel-1.0.18-1.el7.x86_64 already installed and latest version
Nothing to do
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 28505  100 28505    0     0  97677      0 --:--:-- --:--:-- --:--:-- 97955
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 9: /opt/alt/php-fpm74/usr/bin/phpize: No such file or directory
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 10: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
/usr/local/cwpsrv/htdocs/resources/conf/el7/php-fpm_selector/external_modules/7.4/sodium.sh: line 14: /opt/alt/php-fpm74/usr/bin/php-config: No such file or directory
ERROR: Missing extension file /sodium.so
exe:/opt/alt/php-fpm74/usr/sbin/php-fpm
Failed to restart php-fpm74.service: Unit not found.
Redirecting to /bin/systemctl restart httpd.service

Build Completed
###################


Error:Can't add notification!

42
PHP Selector / Re: PHP-FPM Selector - Build Fails
« on: February 10, 2022, 10:56:54 AM »
I use CWP7pro, which is updated automatically.

Is it related to the CWP7pro version that PHP cannot be updated?

The CWPpro version is 0.9.8.1128

43
PHP Selector / PHP-FPM Selector - Build Fails
« on: February 10, 2022, 06:54:16 AM »
I am using PHP-FPM 7.2.30 now and I want to upgrade to PHP-FPM 7.4.20

I selected PHP-FPM 7.4.20 in the PHP-FPM Selector and clicked "Start Compiler"

Then use tail -f /var/log/php-selector-rebuild.log to check the log in SSH, and soon the following error appeared

checking for sys/wait.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for bcopy... yes
checking for memfd_create... no
checking for memmove... yes
checking for mkostemp... yes
checking for realpath... yes
checking for secure_getenv...
Socket error Event: 32 Error: 10053.
Connection closing...Socket close.

Connection closed by foreign host.

Disconnected from remote host at 14:24:45.

After a long time, PHP Info still shows PHP version is 7.2.30

what's the problem? how to fix it?

44
Updates / Re: After update today, nginx/1.20.0 error
« on: December 29, 2021, 06:50:23 AM »
I have try /scripts/update_cwp
then restart Apache and Nginx, the website still show "404 Not Found, nginx/1.20.0"

45
Updates / After update today, nginx/1.20.0 error
« on: December 29, 2021, 05:45:20 AM »
My CWPpro version is: 0.9.8.1109

After the automatic update today, the website cannot be accessed, and my website show "404 Not Found, nginx/1.20.0"

what's the problem?
How to fix it?


I checked the error_log

AH00112: Warning: DocumentRoot [/usr/local/apache/htdocs/suspended-page] does not exist
AH00112: Warning: DocumentRoot [/usr/local/apache/htdocs/suspended-page] does not exist
AH00112: Warning: DocumentRoot [/usr/local/apache/htdocs/suspended-page] does not exist
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using linode.com. Set the 'ServerName' directive globally to suppress this message

Pages: 1 2 [3] 4