update have error

haiwan

Well-Known Member
Apr 23, 2019
249
1
58
38
Code:
Job for systemd-sysctl.service failed because the control process exited with error code.
See "systemctl status systemd-sysctl.service" and "journalctl -xe" for details.
invoke-rc.d: initscript procps, action "restart" failed.
● systemd-sysctl.service - Apply Kernel Variables
   Loaded: loaded (/lib/systemd/system/systemd-sysctl.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2020-02-22 19:52:13 CST; 14ms ago
     Docs: man:systemd-sysctl.service(8)
           man:sysctl.d(5)
  Process: 2009084 ExecStart=/lib/systemd/systemd-sysctl (code=exited, status=1/FAILURE)
 Main PID: 2009084 (code=exited, status=1/FAILURE)
      CPU: 7ms

Feb 22 19:52:13 pve142 systemd[1]: Starting Apply Kernel Variables...
Feb 22 19:52:13 pve142 systemd-sysctl[2009084]: Line is not an assignment at…ll)
Feb 22 19:52:13 pve142 systemd[1]: systemd-sysctl.service: Main process exi…LURE
Feb 22 19:52:13 pve142 systemd[1]: Failed to start Apply Kernel Variables.
Feb 22 19:52:13 pve142 systemd[1]: systemd-sysctl.service: Unit entered fai…ate.
Feb 22 19:52:13 pve142 systemd[1]: systemd-sysctl.service: Failed with resu…de'.
Hint: Some lines were ellipsized, use -l to show in full
 
So your problem is gone?

In any case seems like a file in /etc/sysctl.d (or /etc/sysctl.conf) contained a malformed line:
ystemd-sysctl[2009084]: Line is not an assignment at…ll

If it's resolved please mark the thread as 'SOLVED'