D-Bus library appears to be incorrectly set up

|Font Size: | No Comments | Previous

  很诡异的问题,刚刚软件还能正常的执行,装了“Chinese Support”包之后,软件就报错了:

[root@vm-18-174 data-integration]# ./spoon.sh 
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
process 25734: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace
./spoon.sh: line 229: 25734 Aborted                 "$_PENTAHO_JAVA" $OPT -jar "$STARTUP" -lib $LIBPATH "${1+$@}" 2>&1

  重新看了一下随“Chinese Support”包安装的有个dbus-x11软件包,或许是因为安装了它吧。

  解决方法:使用dbus-uuidgen命令重新生成一个UUID就好了。

dbus-uuidgen >/var/lib/dbus/machine-id

本文结束。

Leave a comment