7.4 Error Unknown lvalue

Started by KatiaSisHost, August 23, 2021, 02:59:18 PM

Previous topic - Next topic

KatiaSisHost

Hello im trying to use PHP-FPM 7.4.22 and i have this error :


Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:44] Unknown lvalue 'ProtectControlGroups' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:47] Unknown lvalue 'RestrictRealtime' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:54] Unknown lvalue 'RestrictNamespaces' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:31] Unknown lvalue 'ProtectKernelModules' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:38] Unknown lvalue 'ProtectKernelTunables' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:44] Unknown lvalue 'ProtectControlGroups' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:47] Unknown lvalue 'RestrictRealtime' in section 'Service'
Aug 23 04:52:32 srv1.kathst.cf systemd[1]: [/usr/lib/systemd/system/php-fpm74.service:54] Unknown lvalue 'RestrictNamespaces' in section 'Service'


im using CWP Pro latest version, win Centos 7

Sandeep

hi you need to delete the php then install it again it seems something wrong with your service file.

detay

Everything you said has been done. But after 1 day I see this warning again.
on root;

/bin/systemctl restart php-fpm74.service

Once run, this warning disappears.
When I examined a few of the warnings, I saw that they were for security purposes. I insist this may be related to your "CWP Secure Kernel" routines. Please inspect. Many people have this problem, I saw it on the forum too.

iraqiboy90

A shot in the dark here: If you have done modifications to apache, rebuild it and see if it helps

studio4host

Quote from: detay on January 21, 2022, 09:52:55 AM

When I examined a few of the warnings, I saw that they were for security purposes. I insist this may be related to your "CWP Secure Kernel" routines. Please inspect. Many people have this problem, I saw it on the forum too.

if you have cwp kernel then you also have cwp support so you would need to use support tickets as cwp secure kernel has updates and works only if you have a support subscription.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.