Quote:
Originally Posted by Dutchy
Have you enabled the service?
PHP Code:
systemctl status rc-local.service systemctl enable rc-local.service
You might also want to check the SELinux label.
Mine is:
PHP Code:
$ ls -laZ /etc/rc.d/rc.local -rwxr-xr-x. root root unconfined_u:object_r:etc_t:s0 /etc/rc.d/rc.local
|
thanks for help
but i still can deal with
have a look
[root@localhost helloworld]# systemctl enable rc-local.service
Warning: unit files do not carry install information. No operation executed.
[root@localhost helloworld]# systemctl status rc-local.service
rc-local.service - /etc/rc.d/rc.local Compatibility
Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static)
Active: failed (Result: exit-code) since Wed, 20 Jun 2012 15:41:06 +0800; 3h 55min ago
Process: 826 ExecStart=/etc/rc.d/rc.local start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/rc-local.service
can you tell me why ??