Re: systemctl enable httpd failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 28/04/16 13:29, Michael H wrote:
> 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
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
> 

[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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux