Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Apr 2014 16:36:14 +0200
From:      Johan Grande <johan.grande@crans.org>
To:        wg@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: linux-crashplan-3.5.3_1
Message-ID:  <5342B7DE.9040009@crans.org>

next in thread | raw e-mail | index | archive | help
Hi,

I recently installed linux-crashplan-3.5.3_1 on PC-BSD 10.0-RELEASE-p4 
and I got errors such as

[...]
Caused by: java.io.IOException: Function not implemented
         at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
         at sun.nio.ch.EPollArrayWrapper.<init>(Unknown Source)
         at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)
         at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)
         at java.nio.channels.Selector.open(Unknown Source)
         at com.code42.nio.SelectorEngine.<init>(SelectorEngine.java:73)
         ... 10 more

in the logs when running both the service and the GUI (not the first 
times I started them, but soon after that).

I solved the problem by adding

SRV_JAVA_OPTS="$SRV_JAVA_OPTS 
-Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider"

at the right place in /usr/local/share/crashplan/bin/CrashPlanEngine, 
and the same with $GUI_JAVA_OPTS in /usr/local/bin/CrashPlanDesktop.

Regards,

-- 
Johan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5342B7DE.9040009>