Koozali.org: home of the SME Server

VMWare Server on SME Server 7

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #75 on: March 09, 2007, 06:37:01 AM »
VMware-server updated.


Latest Version: 1.0.2 | 2/28/07 | Build 39867


http://register.vmware.com/content/download.html
Regards,
William

IF I give advise.. It's only if it was me....

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
VMWare Server on SME Server 7
« Reply #76 on: March 12, 2007, 02:37:55 PM »
I've got it vmware-server 1.02 installed and running on a SME 7.1.2 in server mode, with the 1.02 mui installed.

Logging in as admin on the mui gives me access, but no permissions to see the settings
Logging in as root on the mui gives me full control

However, on the client (server console), I can't log in at all, either as root or admin.  Any ideas?

Here's what I'm seeing in /var/log/messages:
Code: [Select]
Mar 12 09:32:33 lepton xinetd[15278]: libwrap refused connection to vmware-authd (libwrap=vmware-authd) from 192.168.100.14
............

Offline steever

  • *
  • 185
  • +0/-0
    • Open-Sesame
VMWare Server on SME Server 7
« Reply #77 on: March 15, 2007, 12:12:33 PM »
"There was a problem connecting:

Cannot connect to host mydomain.com: No connection could be made because the target machine actively refused it."

This is the error I get now when I try to connect using the console - logging in as either root or admin results in the above error.  I used to be able to log in as root without any difficulty.

Is anyone else experiencing the same trouble?

Steever
Saving the world ... one server at a time.

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #78 on: March 15, 2007, 02:06:52 PM »
Did you do a recent sme update ?

Try running the vmware config script again.
Regards,
William

IF I give advise.. It's only if it was me....

Offline steever

  • *
  • 185
  • +0/-0
    • Open-Sesame
VMWare Server on SME Server 7
« Reply #79 on: March 16, 2007, 01:18:57 AM »
Yes, I ran the script (have to do this whenever the kernel is upgraded) - but no luck.  I can use the MUI like the above guy said, but not the console anymore.  Why would my server be actively knocking back the connections?

Steve
Saving the world ... one server at a time.

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #80 on: March 16, 2007, 05:28:16 AM »
Console Version V's Server Version ? Wild guess.


VMWare Logs?

Quote
Cannot connect to host 192.168.2.9: No connection could be made because the target machine actively refused it


Port number ?
Regards,
William

IF I give advise.. It's only if it was me....

Offline steever

  • *
  • 185
  • +0/-0
    • Open-Sesame
VMWare Server on SME Server 7
« Reply #81 on: March 16, 2007, 11:11:30 AM »
Console version is 1.02
Server version is 1.02

I'll post the logs if you tell me where to find them.

Any help is appreciated.

Steve
Saving the world ... one server at a time.

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
VMWare Server on SME Server 7
« Reply #82 on: March 16, 2007, 11:43:42 AM »
/var/log

What mode is sme in ?

How did you install (with howto or the smedev files) ?

Which interface are you connecting on ?
Regards,
William

IF I give advise.. It's only if it was me....

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
VMWare Server on SME Server 7
« Reply #83 on: April 08, 2007, 02:41:56 AM »
I just updated my server to 7.1.3, also updated vmware to the latest, I couldn't log on the Console Server anymore.
After watching my error messages:
Quote
xinetd[9464]: libwrap refused connection to vmware-authd (libwrap=vmware-authd)


I followed this link from google
 which suggests adding
Code: [Select]
flags           =       NOLIBWRAP to /etc/xinetd.d/vmware-authd

Now I can login again.

Is this OK? :mrgreen:

Offline steever

  • *
  • 185
  • +0/-0
    • Open-Sesame
VMWare Server on SME Server 7
« Reply #84 on: April 09, 2007, 12:34:18 PM »
Hi thanks for that.  But no luck!

Here's the error message from the logs:

Quote
Apr 08 20:46:02: app| Setting up serverd discovery channel for vmxes
Apr 08 20:46:02: app| Successfully set up serverd discovery channel for vmxes
Apr 08 20:46:02: app| vmware-serverd entering main loop.
Apr 08 20:46:11: app| New connection on socket server-vmdb from host localhost (ip address: local) , user: root
Apr 08 20:46:11: app| SP: New user session for user: root, pos: 0
Apr 08 20:46:11: app| The vm-list file has changed! Reloading the list of registered vms
Apr 08 20:49:02: app| Msg_Post: Error
Apr 08 20:49:02: app| [msg.vmmonPosix.openFailed] Could not open /dev/vmmon: No such file or directory.
Apr 08 20:49:02: app| Please make sure that the kernel module `vmmon' is loaded.
Apr 08 20:49:02: app| [localized] Could not open /dev/vmmon: No such file or directory.
Apr 08 20:49:02: app| Please make sure that the kernel module `vmmon' is loaded.
Apr 08 20:49:02: app| ----------------------------------------
Apr 08 20:49:02: app| Msg_Post: Could not open /dev/vmmon: No such file or directory.
Apr 08 20:49:02: app| Please make sure that the kernel module `vmmon' is loaded.
Apr 08 20:49:02: app|
Apr 08 20:49:02: app| Msg_Post: Error
Apr 08 20:49:02: app| [msg.vmmonPosix.initFailed] Failed to initialize monitor device.
Apr 08 20:49:02: app| [localized] Failed to initialize monitor device.
Apr 08 20:49:02: app| ----------------------------------------
Apr 08 20:49:02: app| Msg_Post: Failed to initialize monitor device.
Apr 08 20:49:02: app|
Apr 08 20:49:07: app| vmdbPipe_Streams Couldn't read: OVL_STATUS_EOF
Apr 08 20:49:07: app| SP: Deleting user session: 0 username: root
Apr 08 20:49:08: app| Signal 15 caught.  Requesting shutdown.
Apr 08 20:49:08: app| Shutting down vmserverd (0).
Apr 08 20:49:13: app| IPC_exit: disconnecting all threads
Apr 08 20:49:13: app| SP: Unregistered from the poll loop


I uninstalled it and then re-installed, but same error.  Any ideas?

Steve
Saving the world ... one server at a time.

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
VMWare Server on SME Server 7
« Reply #85 on: April 09, 2007, 01:43:57 PM »
Quote from: "steever"
Apr 08 20:46:11: app| The vm-list file has changed! Reloading the list of registered vms
Apr 08 20:49:02: app| Msg_Post: Error
Apr 08 20:49:02: app| [msg.vmmonPosix.openFailed] Could not open /dev/vmmon: No such file or directory.
Apr 08 20:49:02: app| Please make sure that the kernel module `vmmon' is loaded.
Apr 08 20:49:02: app| [localized] Could not open /dev/vmmon: No such file or directory.
Apr 08 20:49:02: app| Please make sure that the kernel module `vmmon' is loaded.
Apr 08 20:49:02: app| ----------------------------------------
Apr 08 20:49:02: app| Msg_Post: Could not open /dev/vmmon: No such file or directory.
Apr 08 20:49:02: app| Please make sure that the kernel module `vmmon' is loaded.
Looks like you haven't run vmware-config.pl since the last kernel upgrade.

It's not able to load vmmon which is kernel specific and inserted when you run vmware-config.pl. This needs to be run on the server after install and each kernel update (and there have been a couple recently).

vulpes

VMWare Server on SME Server 7
« Reply #86 on: April 11, 2007, 01:09:17 PM »
Hi

Hope this might help somebody

Quote
No connection could be made because the target machine actively refused it

On a fresh install on SME server v 7.1.3 port 902 the standard port for vmware server is already in use. During the config one is presented with an alternate port. In my case it was port 903, but this can be changed manually.
When the console gives this error message change to the port you accepted during config but not port 902.

A problem I encountered during install of the Web Management Console or  VMware-mui was that upon reboot the console did not start so a connection could not be made.

From the command line
Quote
/etc/init.d/httpd.vmware start

did start the console and everything worked fine but only till the following reboot.

I sorted this out by making the following symbolic link
Quote
ln -s /etc/rc.d/init.d/httpd.vmware /etc/rc7.d/S91httpd.vmware

From there the web console was available after a reboot.

Please post any comments to this

Offline brentonv

  • ***
  • 71
  • +0/-0
VMWare Server on SME Server 7
« Reply #87 on: April 12, 2007, 05:31:44 AM »
hi there. has anyone relolved this yet?

i can't even find http://mirror.contribs.org/smeserver/releases/7.1/smedev/i386/RPMS/smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm anymore. all the links are dead. can someone put up a working link please

do we have to use either sme 7.1 and vmware 1.02 or sme 7.13 [EDIT: i meant 7.3] and vmware 1.01? confused... does anyone know what went wrong with port 902 and why the vm-console does not work anymore

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
VMWare Server on SME Server 7
« Reply #88 on: April 12, 2007, 06:41:20 AM »
Quote from: "brentonv"
hi there. has anyone relolved this yet?

i can't even find http://mirror.contribs.org/smeserver/releases/7.1/smedev/i386/RPMS/smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm anymore. all the links are dead. can someone put up a working link please

do we have to use either sme 7.1 and vmware 1.02 or sme 7.13 and vmware 1.01? confused... does anyone know what went wrong with port 902 and why the vm-console does not work anymore


Use the ftp://ftp.planetmirror.com instead of ibiblio

I'm using port 902 just fine, even with 7.2(test)

vulpes

VMWare Server on SME Server 7
« Reply #89 on: April 12, 2007, 09:11:29 AM »
Hi brentonv,

I've used v7.1.3 (fresh install and updated to) with VMware-server-1.0.2-39867.i386.rpm and smeserver-vmware-server-0.0.1-4.el4.sme.noarch.rpm.

The link to the latter file seems to have disappeared, but as stuntshell points out you'll find it in:
Quote
http://mirror.contribs.org/smeserver/releases/7.1/smedev/i386/RPMS/

What port 902 concerns, it's also a bit of a mistery to me. I've installed VMware-server more than a couple times on several distros and sometimes when you invoke vmware-config.pl the script reports that port 902 is already in use, but presents you with an alternate i.e. port 903 or 904.
If you don't pick that up and later try to connect with the console from another computer using port 902 it will give:
Quote
No connection could be made because the target machine actively refused it

Why it reports that port 902 is in use i have no idea. But important is that you follow the script and see what it tells you.
Thats what the VMware Server Console concerns.

The other problem I pointed out concerns the Web Management Console, which you use with a standard web browser as:  
Quote
http://serveraddress:8222

For that you need to install:
Quote
VMware-mui-1.0.2-39867.tar.gz

When I rebooted the server, the web management console didn't start anymore. The solution that I found was to create a symbolic link so it would start on the next reboot:
Quote
ln -s /etc/rc.d/init.d/httpd.vmware /etc/rc7.d/S19httpd.vmware

Hopes this takes a bit of the confusion away