From owner-freebsd-questions Sun Sep 9 3:30:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.unibe.ch (mailhub.unibe.ch [130.92.9.52]) by hub.freebsd.org (Postfix) with ESMTP id 3356737B406 for ; Sun, 9 Sep 2001 03:30:31 -0700 (PDT) Received: from CONVERSION-DAEMON by mailhub.unibe.ch (PMDF V5.2-32 #42480) id <0GJE0090155T1B@mailhub.unibe.ch> for freebsd-questions@freebsd.org; Sun, 9 Sep 2001 12:29:53 +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 <0GJE0082355SKD@mailhub.unibe.ch> for freebsd-questions@freebsd.org; Sun, 09 Sep 2001 12:29:53 +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 MAA23798 for ; Sun, 09 Sep 2001 12:33:44 +0200 (MET DST) Received: (from roth@localhost) by arp.unibe.ch (8.9.3+Sun/8.9.1) id MAA08561 for freebsd-questions@freebsd.org; Sun, 09 Sep 2001 12:33:42 +0200 (MET DST) Date: Sun, 09 Sep 2001 12:33:42 +0200 From: Tobias Roth Subject: VMware2 gethostbyname() failed To: freebsd-questions@freebsd.org Message-id: <20010909123342.A8547@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-questions@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-questions" in the body of the message