[bisq-network/bisq] Error cannot run the program (#531)
Bernard Labno
notifications at github.com
Mon Mar 18 06:26:48 UTC 2019
I'm getting this on linux:
>ERROR b.n.p2p.network.TorNetworkNode: Tor node creation failed: java.io.IOException: java.io.IOException: Cannot run program "/mnt/pen/Bisq/btc_mainnet/tor/tor" (in directory "/mnt/pen/Bisq/btc_mainnet/tor"): error=13, Permission denied
however it seems that the tor file has correct (executable) permission:
>ls -l /mnt/pen/Bisq/btc_mainnet/tor
-rw-r--r-- 1 bernard bernard 4295464 Mar 18 06:46 geoip
-rw-r--r-- 1 bernard bernard 2615115 Mar 18 06:46 geoip6
-rwxr--r-- 1 bernard bernard 2282608 Mar 18 06:46 libcrypto.so.1.0.0*
-rwxr--r-- 1 bernard bernard 371064 Mar 18 06:46 libevent-2.1.so.6*
-rwxr--r-- 1 bernard bernard 622427 Mar 18 06:46 libgmp.so.10*
-rwxr--r-- 1 bernard bernard 486600 Mar 18 06:46 libssl.so.1.0.0*
drwxr-xr-x 2 bernard bernard 4096 Mar 18 06:46 libstdc++/
drwxr-xr-x 13 bernard bernard 4096 Mar 18 06:46 PluggableTransports/
-rwxr-xr-x 1 bernard bernard 3190832 Mar 18 06:46 tor*
-rw-r--r-- 1 bernard bernard 707 Mar 18 06:46 torrc
This must be something related to running from usb flash drive...
Right, just a glimpse at /etc/mtab and I see this:
>/dev/sda2 /mnt/pen ext4 rw,nosuid,nodev,noexec,relatime,data=ordered 0 0
Critical bit is `noexec` which means that executables cannot be run from that partition.
A quick fix is to add dedicated entry just for mounting usb flash drive with Bisq:
>/dev/sda2 /mnt/Bisq auto noauto,user,exec 0 0
Now I can run Bisq from my usb flash drive with `--appDataDir=/mnt/Bisq/Bisq`.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/531#issuecomment-473785518
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190317/c85ea494/attachment.html>
More information about the bisq-github
mailing list