Hello Martin,
Am 07.03.2008 um 13:39 schrieb Martin Kreiner:
...
first of all three questions:
- are you using version 0.2.0 of openthinclient.org?
yes.
- is jdk1.6.0 from sun?
yes - it's jdk-6u3-fcs-{bin,src}-b05-jrl-24_sep_2007.jar with the
latest bsd-jdk16-patches-4.tar.bz2
And the openthinclient-server logs at startup
---
16:48:28,224 INFO [ServerInfo] Java version: 1.6.0_03-p4,Sun
Microsystems Inc.
16:48:28,224 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit
Server VM 1.6.0_03-p4-root_18_feb_2008_12_11-b00,Sun Microsystems Inc.
16:48:28,224 INFO [ServerInfo] OS-System: FreeBSD 7.0-RELEASE,amd64
16:48:28,515 INFO [Server] Core system initialized
---
- does your server have multiple interfaces configured?
It has two interfaces, but only one is configured at the moment.
No, but it has ipv6 enabled, if that matters.
anyway i guess you are hitting two bugs:
......
see https://issues.openthinclient.org/otc/browse/SUITE-138 on this
one. there
is a workaround.
???
...
well this is maybe a new one ;-(.
somehow it is not possible for the integrated java-nfs-server to use
FreeBSD's
running portmapper/rpciod. for some reason the portmapper could not be
contacted successfully at the given host.
this is consistant with that log excerpt:
--
17:02:40,543 INFO [NFSService] Exporting /export/openthinclient/
server/default/data/nfs/root /openthinclient *(rw)
17:02:40,543 INFO [NFSService] Exporting /export/openthinclient/
server/default/data/nfs/home /home *(rw)
17:02:40,564 INFO [NFSService] Portmapper already running
17:02:40,573 INFO [PathManager] Loading path database at /export/
openthinclient/server/default/data/nfs-paths.db
17:02:40,588 INFO [NFSService] Starting NFS server
17:02:40,596 INFO [NFSService] Starting mount daemon
17:02:40,603 FATAL [NFSService] NFS server died with exception.
org.acplt.oncrpc.OncRpcException: ONC/RPC portmap failure
at
org.acplt.oncrpc.OncRpcPortmapClient.setPort(OncRpcPortmapClient.java:
314)
at
org
.acplt
.oncrpc
.server
.OncRpcUdpServerTransport.register(OncRpcUdpServerTransport.java:215)
at
org
.acplt.oncrpc.server.OncRpcServerStub.register(OncRpcServerStub.java:
101)
at org.acplt.oncrpc.server.OncRpcServerStub.run(OncRpcServerStub.java:
79)
at org.openthinclient.nfs.NFSService
$RpcServerThread.doRunServer(NFSService.java:97)
at org.openthinclient.nfs.NFSService
$RpcServerThread.run(NFSService.java:80)
17:02:40,603 FATAL [NFSService] mount daemon died with exception.
org.acplt.oncrpc.OncRpcException: ONC/RPC portmap failure
at
org.acplt.oncrpc.OncRpcPortmapClient.setPort(OncRpcPortmapClient.java:
314)
at
org
.acplt
.oncrpc
.server
.OncRpcUdpServerTransport.register(OncRpcUdpServerTransport.java:215)
at
org
.acplt.oncrpc.server.OncRpcServerStub.register(OncRpcServerStub.java:
101)
at org.acplt.oncrpc.server.OncRpcServerStub.run(OncRpcServerStub.java:
79)
at org.openthinclient.nfs.NFSService
$RpcServerThread.doRunServer(NFSService.java:97)
at org.openthinclient.nfs.NFSService
$RpcServerThread.run(NFSService.java:80)
--
please paste the output of:
- "rpcinfo -p" on your server
while the openthinclient server is running and no nfsd/mountd started
by me:
[EMAIL PROTECTED]:~$ rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100000 4 local 111 rpcbind
100000 3 local 111 rpcbind
100000 2 local 111 rpcbind
100007 2 udp 681 ypbind
100007 2 tcp 699 ypbind
300019 1 tcp 916 amd
300019 1 udp 861 amd
- "rpcinfo -p <your server name / ip>" from a remote machine
while the openthinclient server is running, no nfsd/mountd started by
me:
adminx:henry$ rpcinfo -p hotrat
program vers proto port
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100000 4 7 111 portmapper
100000 3 7 111 portmapper
100000 2 7 111 portmapper
100007 2 udp 681 ypbind
100007 2 tcp 699 ypbind
300019 1 tcp 916 amd
300019 1 udp 861 amd
i assume the mountd will be started by openthinclient (since it dies,
according to the log) ?
- "cat /etc/hosts.allow" on your server
This should'nt be a problem, see the marked block!-)
---
[EMAIL PROTECTED]:~$ cat /etc/hosts.allow
#
# hosts.allow access control file for "tcp wrapped" applications.
# $FreeBSD: src/etc/hosts.allow,v 1.23 2006/08/29 09:20:48 ru Exp $
#
...
# Start by allowing everything (this prevents the rest of the
file <-----
# from working, so remove it when you need
protection). <-----
# The rules here work on a "First match wins"
basis. <-----
ALL : ALL :
allow
<
-----
...
---
...
maybe this is the problem: it looks like you are exporting the
directory of
your openthinclient installation via NFS. please try to:
- stop FreeBSD's nfs server before starting openthinclient,
the server is stopped and sharenfs=no (this is a zfs fs) now.
before the server was off, but sharenfs=on, that was the reason that
is showed as exported.
now the server shows nothing as exported:
---
[EMAIL PROTECTED]:~$ showmount -e
Exports list on localhost:
[EMAIL PROTECTED]:~$
---
but this hasn't changed anything.
or:
- deinstall the openthinclient-server-nfs via package manager and
use FreeBSD's
nfs-server. this alternative needs additional configuration steps on
both side!
i can provide you additional information if you want to use the
FreeBSD-nfs-server.
eventually later, but not for now. I always prefer the defaults for
evaluation/setup purposes.
Regards
--
Henry Vogt <[EMAIL PROTECTED]> (Fon: ++49-7071-601-511, Fax: -826)
Campus Max-Planck-Institute, Spemannstr. 32-41, Tübingen, Germany
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
The Open Source Thin Client Solution http://openthinclient.org
[email protected]
https://lists.sourceforge.net/lists/listinfo/openthinclient-user