Systemctl Enable Httpd Failure

Home » CentOS » Systemctl Enable Httpd Failure
CentOS 1 Comment

Hi List,

[root@mail1 ~]# systemctl enable httpd Failed to execute operation: Invalid argument

I can disable and re-enable other services without issue, I’m also seeing the same error when I run

[root@mail1 ~]# systemctl enable mailman Failed to execute operation: Invalid argument

Any suggestions?

Michael

One thought on - Systemctl Enable Httpd Failure

  • [root@mail1 ~]# mv
    /etc/systemd/system/multi-user.target.wants/httpd.service .
    [root@mail1 ~]# systemctl enable httpd Created symlink from
    /etc/systemd/system/multi-user.target.wants/httpd.service to
    /usr/lib/systemd/system/httpd.service.

    [root@mail1 ~]# mv
    /etc/systemd/system/multi-user.target.wants/mailman.service .
    [root@mail1 ~]# systemctl enable mailman Created symlink from
    /etc/systemd/system/multi-user.target.wants/mailman.service to
    /usr/lib/systemd/system/mailman.service.

    problem solved. Any ideas why this happened?

    Michael