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
Apache / certificate does NOT include an ID which matches the server name
« on: March 17, 2022, 02:07:39 AM »
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'
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'
17
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
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
18
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
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
19
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!
--> 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!
20
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!
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!
21
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!
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!
22
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
Is it related to the CWP7pro version that PHP cannot be updated?
The CWPpro version is 0.9.8.1128
23
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?
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?
24
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"
then restart Apache and Nginx, the website still show "404 Not Found, nginx/1.20.0"
25
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
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
26
Apache / Wordpress pingbacks not working
« on: July 22, 2021, 02:03:55 AM »
My website is based on WordPress 5.8. and my VPS is running on CWP7 Pro. The pingbacks of the website have not worked for a long time. I have searched many articles. The reason why it does not work may be related to the host or control panel. How can I debug it?
27
Apache / Apache log file too large
« on: April 25, 2021, 01:12:03 AM »
I found that the apache log file is too large, how to clear the log? how to make the apache log save a file every day by date?
/usr/local/apache/domlogs/mydomain.log-5.1GB
/usr/local/apache/logs/access_log-4.5GB
/usr/local/apache/logs/suphp_log-3.6GB
I changed suphp_log to suphp_log-, and then changed it to suphp_log. Now the modification time of suphp_log has not changed for a long time, indicating that the system no longer uses suphp_log. How do I fix it?
/usr/local/apache/domlogs/mydomain.log-5.1GB
/usr/local/apache/logs/access_log-4.5GB
/usr/local/apache/logs/suphp_log-3.6GB
I changed suphp_log to suphp_log-, and then changed it to suphp_log. Now the modification time of suphp_log has not changed for a long time, indicating that the system no longer uses suphp_log. How do I fix it?
28
CentOS 7 Problems / wordpress can not upload images
« on: February 05, 2021, 06:38:28 AM »
my WordPress running on CWP7, PHP 7.027
Today, my wordpress can’t upload images suddenly, the error is as follows:
“Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.”
I open the apache error_log, the following error is prompted
AH00052: child pid 4822 exit signal Segmentation fault (11)
I have searched many methods and tried all of them, but none of them can solve the problem. I tried the following methods
1. Change these data in php.ini
post_max_size = 128M
upload_max_filesize = 128M
max_execution_time = 360
memory_limit = 1024M
2. Add this to functions.php of my theme
add_filter(‘wp_image_editors’, function() {return array(‘WP_Image_Editor_GD’ );} );
3. Add this to wp-includes/functions.php
function use_gd_editor($array) {
return array(‘WP_Image_Editor_GD’, );
}
add_filter(‘wp_image_editors’,’use_gd_editor’ );
4. install imagick module for PHP
How to solve this problem?
The strange thing is that in addition to this wordpress, I can't upload pictures on another wordpress on another VPS, and the same error occurs. This VPS is also running on CWP7
Thank you very much!
Today, my wordpress can’t upload images suddenly, the error is as follows:
“Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.”
I open the apache error_log, the following error is prompted
AH00052: child pid 4822 exit signal Segmentation fault (11)
I have searched many methods and tried all of them, but none of them can solve the problem. I tried the following methods
1. Change these data in php.ini
post_max_size = 128M
upload_max_filesize = 128M
max_execution_time = 360
memory_limit = 1024M
2. Add this to functions.php of my theme
add_filter(‘wp_image_editors’, function() {return array(‘WP_Image_Editor_GD’ );} );
3. Add this to wp-includes/functions.php
function use_gd_editor($array) {
return array(‘WP_Image_Editor_GD’, );
}
add_filter(‘wp_image_editors’,’use_gd_editor’ );
4. install imagick module for PHP
How to solve this problem?
The strange thing is that in addition to this wordpress, I can't upload pictures on another wordpress on another VPS, and the same error occurs. This VPS is also running on CWP7
Thank you very much!
29
Apache / .htaccess problem
« on: September 24, 2020, 11:44:23 AM »
I install Magento on my VPS.
There are two lines of code in .htaccess
Options +FollowSymLinks
RewriteEngine on
Internal server error will appear when visiting the website.
If I delete "Options +FollowSymLinks", the website is working fine.
Will deleting this line of code cause security problems? Is there any other code that can replace it and ensure the website works normally?
thank you!
There are two lines of code in .htaccess
Options +FollowSymLinks
RewriteEngine on
Internal server error will appear when visiting the website.
If I delete "Options +FollowSymLinks", the website is working fine.
Will deleting this line of code cause security problems? Is there any other code that can replace it and ensure the website works normally?
thank you!
30
Apache / mod_cloudflare not work
« on: March 14, 2019, 08:12:59 AM »
Hi
After installing mod_cloudflare, the apache log can record the real visitor IP address, but when I want to block some spam IP in .htaccess, it doesn't seem to work. How can I solve this problem?
I use Cpanel for another website. After installing mod_cloudflare, I can block spam IP in .htaccess, so I think the problem I experienced may be related to CWP. Has anyone experienced such a problem?
After installing mod_cloudflare, the apache log can record the real visitor IP address, but when I want to block some spam IP in .htaccess, it doesn't seem to work. How can I solve this problem?
I use Cpanel for another website. After installing mod_cloudflare, I can block spam IP in .htaccess, so I think the problem I experienced may be related to CWP. Has anyone experienced such a problem?