|
发表于 2017-11-3 22:24:44
|
显示全部楼层
在白裙上chroot安装完成hb,运行homebridge,出现如下错误:
/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56
dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^
Error: dns service error: unknown
at Error (native)
at new Advertisement (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:56:10)
at Object.create [as createAdvertisement] (/usr/lib/node_modules/homebridge/node_modules/mdns/lib/advertisement.js:64:10)
at Advertiser.startAdvertising (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Advertiser.js:47:30)
at Bridge.Accessory._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:655:20)
at emitOne (events.js:96:13)
at HAPServer.emit (events.js:188:7)
at HAPServer._onListening (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:190:8)
at emitOne (events.js:96:13)
at EventedHTTPServer.emit (events.js:188:7)
--------------------------------------
运行
dbus-daemon --system
/etc/init.d/dbus restart
service avahi-daemon start
结果如下:
root@villenzhang:/# dbus-daemon --system
root@villenzhang:/# /etc/init.d/dbus restart
[ ok ] Stopping system message bus: dbus.
[FAIL] Can't start system message bus - /proc is not mounted ... failed!
root@villenzhang:/# service avahi-daemon start
[FAIL] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon failed!
有人知道是咋回事吗。。。。。。 |
|