How to deal with the ERROR: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open “/var/lib/dbus/machine-id”

After I deployed the scrapy-splash, I ran my spider and encountered an ERROR: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open “/var/lib/dbus/machine-id”

It seemed that no affection to the results but really annoying. After I tried a few solutions from Google, finally I solved it with this command:
dbus-uuidgen > /var/lib/dbus/machine-id

Good Luck!

评论

此博客中的热门博文

Openwrt路由器上配置shadowsocks透明代理+gfwlist(PAC)

Configure shadowsocks transparent proxy + gfwlist(PAC) on OpenWRT Router

Using Haproxy + shadowsocks (ha + ss) to setup multi ss backend and load balance