Active Topics

 



Notices


Reply
Thread Tools
Posts: 67 | Thanked: 13 times | Joined on Feb 2008 @ U.S.A.
#1
This script "output_log.sh" (below) launches an xterm and starts tailing a logfile:
Code:
#!/bin/sh

/usr/bin/maemo-summoner /usr/bin/osso-xterm.launch \
  -e "tail -f /var/log/openvpn.log"
It works fine when run from the CLI. But if openvpn tries to run it (by placing "up output_log.sh" in the openvpn config file), it fails with the error:
Code:
process 11752: 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
dbus is installed, and the following files are visible:
Code:
# ls -a1 /usr/bin/dbus-*
/usr/bin/dbus-cleanup-sockets
/usr/bin/dbus-daemon
/usr/bin/dbus-launch
/usr/bin/dbus-monitor
/usr/bin/dbus-send
/usr/bin/dbus-uuidgen

Last edited by jgombos; 2009-08-15 at 09:23.
 
Posts: 67 | Thanked: 13 times | Joined on Feb 2008 @ U.S.A.
#2
Solution from qwerty12: "source /etc/osso-af-init/af-defines.sh" before launching xterm.

Solved. See http://talk.maemo.org/showpost.php?p=311922&postcount=3
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:22.