将端口添加到Hortonworks Sandbox时出错

问题描述

我试图执行"How to add ports to the HDP 2.5 VirtualBox Sandbox"这里提到的systemctl enable sandBox.service命令。 但是我收到以下错误

[root@sandBox-host system]# systemctl enable sandBox.service
Failed to execute operation: No such file or directory

正在运行的find /lib/systemd -iname sand*输出如下:

[root@sandBox-host system]# find /lib/systemd -iname sand*
/lib/systemd/system/sandBox-container.service

解决方法

该服务已重命名。输入systemctl enable sandbox-container.service