NIS 已安装但不在 /etc/init.d 中

NIS 已安装但不在 /etc/init.d 中

我正在尝试在 32 位 Ubuntu 14.04 版本上安装 NIS。我安装了 portmap 和 nis,系统认为它们没有问题:

rjc@slater:/etc/init.d$ sudo apt-get install portmap nis
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'rpcbind' instead of 'portmap'
nis is already the newest version.
rpcbind is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 115 not to upgrade.

设置配置文件(例如 yp.config)后,我尝试使用以下命令启动 NIS 服务:

/etc/init.d/nis start

但 nis 不存在:

rjc@slater:/etc/init.d$ ls -al /etc/init.d/nis
ls: cannot access /etc/init.d/nis: No such file or directory

我遗漏了什么步骤?

答案1

它使用 upstart 并且位于 /etc/init/

看这个

https://unix.stackexchange.com/questions/154656/etc-init-d-nis-missing-on-ubuntu

相关内容