From owner-freebsd-emulation Mon Aug 20 12:10:36 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from mailhub.unibe.ch (mailhub.unibe.ch [130.92.9.52]) by hub.freebsd.org (Postfix) with ESMTP id D4CFD37B415 for ; Mon, 20 Aug 2001 12:10:28 -0700 (PDT) (envelope-from roth@iamexwi.unibe.ch) Received: from CONVERSION-DAEMON by mailhub.unibe.ch (PMDF V5.2-32 #42480) id <0GID00F01RWK5N@mailhub.unibe.ch> for freebsd-emulation@freebsd.org; Mon, 20 Aug 2001 21:09:56 +0200 (MEST) Received: from iamexwi.unibe.ch (haegar.unibe.ch [130.92.71.10]) by mailhub.unibe.ch (PMDF V5.2-32 #42480) with ESMTP id <0GID00E1MRWJW1@mailhub.unibe.ch> for freebsd-emulation@freebsd.org; Mon, 20 Aug 2001 21:09:55 +0200 (MEST) Received: from arp.unibe.ch (arp [130.92.62.25]) by iamexwi.unibe.ch (8.9.3+Sun/8.8.8) with ESMTP id VAA26379 for ; Mon, 20 Aug 2001 21:13:07 +0200 (MET DST) Received: (from roth@localhost) by arp.unibe.ch (8.9.3+Sun/8.9.1) id VAA29424 for freebsd-emulation@freebsd.org; Mon, 20 Aug 2001 21:13:04 +0200 (MET DST) Date: Mon, 20 Aug 2001 21:13:04 +0200 From: Tobias Roth Subject: VMware2 gethostbyname() failed To: freebsd-emulation@freebsd.org Message-id: <20010820211304.A29391@arp.unibe.ch> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline Content-transfer-encoding: 7BIT User-Agent: Mutt/1.2.5i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello I installed the vmware2 port on a very recent FreeBSD stable. Here's the error I get: [roth@fatbitch ~] vmware -h Setting TMPDIR=/var/tmp. /usr/local/lib/vmware/bin/vmware: invalid option -- h Usage: /usr/local/lib/vmware/bin/vmware [-s name=value] [-qxX] [X toolkit options] [configfile] ----------- Error: This computer doesn't have a valid host name (gethostbyname() failed) yet it tries to lock remote file /home/roth/.vmware/preferences. Cannot lock the preferences file. Module 10 initialization failed. ----------- If I omit -h I get the same error, but vmware starts. I navigate through the configuration wizard, choose host-only networking, everything seems fine. I power on the virtual machine and get more errors: An error occurred while attempting to lock disk /opt/vmware/win2000.dsk. VMware Workstation cannot detect if other processes are using this disk at this time. If your disk is on a FAT filesystem, this message is harmless. You can press OK safely if you are certain that no other application is currently accessing the disk. The virtual disk is located on the same disk as the guest operating system, an UFS partition. I hit OK, and here's the next error: Your virtual machine is running with a disk "/opt/vmware/win2000.dsk" on a remote file system. Consequently, disk writes may be much slower compared to a disk stored on a local file system. You can improve performance by copying your disk file to a local file system. I hit OK again, and the system starts booting. Wasn't able to install an OS yet, but that might be a different problem. Oh, and the preferences file will not be saved. Anyone knows what's wrong? I have run vmware.sh and rtc.sh from /usr/local/etc/rc.d and linproc is mounted. cheers, Tobe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message