我目前正在开发一个运行Solaris 10 8/10的Sparc Sun-Fire-280 r。这台机器配置了dhcp服务器,从一开始就使用NIS,但我不知道这些配置文件存储在哪里。我尝试过各种方法,如将资源类型从SUNWbinfiles更改为SUNWfiles等,但运气不佳。
下面是我的工作:
root@host # dhcpconfig -C -p /var/dhcp -r SUNWfiles
dhcpconfig: Error - reading DHCP configuration file. No such file or directory
root@host # dhcpconfig -U -hx
Unconfigure will stop the DHCP service and remove the DHCP configuration file.
Are you SURE you want to unconfigure the DHCP service? ([Y]/N): y
dhcpconfig: Error - reading DHCP configuration file. No such file or directory
root@host # dhcpconfig -S -r
dhcpconfig: Error - failed to read DHCP server parameters.
root@host # pntadm -L
Warning: No DHCP configuration file exists. There is no way to verify the
data store version for this operation.
pntadm: null is not a valid resource.
root@host # pntadm -R
Warning: No DHCP configuration file exists. There is no way to verify the
data store version for this operation.
root@host # svcs | grep dhcp-server
offline 3:54:11 svc:/network/dhcp-server:default请帮帮我。如何重新配置dhcp服务器。
谢谢
发布于 2012-03-16 12:51:48
我用这个解决了这个问题:
dhcpconfig -S -rdhcpconfig -C -p /var/dhcp -r SUNWfilesdhcpconfig -U -hxdhtadm -Pdhcpconfig -D -r SUNWfiles -p /var/dhcp -h dns -y 192.168.x.xx -l 480 -d 192.168.x.xx -a 192.168.x.xxhttps://serverfault.com/questions/370332
复制相似问题