Koozali.org: home of the SME Server

Virtual box and SME as a guest.

Offline Drifting

  • *****
  • 431
  • +0/-0
Virtual box and SME as a guest.
« on: January 15, 2011, 01:24:27 AM »
I have a strange problem that is driving me nuts. I have been running VMware server 2 for quite a while, and it has always worked quite well. However with the announcement that it was dropping the server 2 product thought I should try virtualbox.

This has become apparent on two different machines, and I am not sure if it's virtualbox or something in SME. The two host machines are Ubuntu 64 Workstation, one is 10.4LTS the other 10.10. The 10.4 is running 3.34 of Virtualbox, the 10.10 is running version 4.

The problem, two identical SME installs, both in gateway mode, and both it seems work ok. However I cannot login to the console, as soon as I attempt to enter a password it sort of tries an enter and goes back to login? I know it sounds odd, but that is what it is doing on two different machines and 4 installs of SME 7.5

Anyone came across this oddity ?

Paul
Infamy, Infamy, they all have it in for me!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Virtual box and SME as a guest.
« Reply #1 on: January 15, 2011, 10:26:48 AM »
Are you able to access server manager and have a view at the log files? Any messages in /var/log/messages regarding the failed login perhaps?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Virtual box and SME as a guest.
« Reply #2 on: January 15, 2011, 11:03:18 AM »
Nothing in there apart from the expected, authentication failure to login, which is true !

Paul
Infamy, Infamy, they all have it in for me!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Virtual box and SME as a guest.
« Reply #3 on: January 15, 2011, 02:25:04 PM »
Nothing in there apart from the expected, authentication failure to login, which is true !
Do you have special characters in you password?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Virtual box and SME as a guest.
« Reply #4 on: January 15, 2011, 03:21:54 PM »
in my experience it's a time drifting problem in the vm.. time goes too fast and you get a timeout before entering password.
solved with a parameter in grub, but unfortunately now I can't remember (and I'm not in front of my laptop)
search google for "vmware time drifting linux"

HTH

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Virtual box and SME as a guest.
« Reply #5 on: January 16, 2011, 03:32:38 PM »
The changes I describe in this forum post have kept my SME7 VM heppy for some time now...

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Virtual box and SME as a guest.
« Reply #6 on: January 16, 2011, 04:29:08 PM »
Thanks for the posts guys. My problem seems a little more basic, it's not just the cloak that is running fast, it seems the whole VM is, that is why it times out and jumps back to login as you do not get a chance to enter the password.

Perhaps it is the same issue, but no one has mentioned a few days drift, only hours or mins, mine is at the end of the month already! Think I shall just bite the bullet and  re install VMware, at least it has worked without issue on there. Shame as I really quite liked the idea of running virtualbox as it was easier to update and install.

Paul.
Infamy, Infamy, they all have it in for me!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Virtual box and SME as a guest.
« Reply #7 on: January 17, 2011, 03:10:10 PM »
I solved the problem adding

Code: [Select]
clock=pmtmr

to grub.. i.e., this is an entry in  my /boot/grub/menu.lst file:

Code: [Select]
title SME Server (2.6.9-78.0.8.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-78.0.8.EL ro root=/dev/main/root clock=pmtmr
initrd /initrd-2.6.9-78.0.8.EL.img

HTH

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: Virtual box and SME as a guest.
« Reply #8 on: January 17, 2011, 03:54:17 PM »
no one has mentioned a few days drift, only hours or mins, mine is at the end of the month already!
I seem to remember that before changing my clock settings my VM would drift several hours in a few minutes - my sense is that I saw a drift of 3 hours or more within about 10 minutes.  It would only take 3 - 4 hours at that rate for your drift to reach a value of a few days.

Offline Drifting

  • *****
  • 431
  • +0/-0
Re: Virtual box and SME as a guest.
« Reply #9 on: January 19, 2011, 12:21:04 PM »
I am so sorry, slaps wrist, I should have listened to you, but assumed that mine was days not mins, it was something else. Anyway followed your advice and change the boot menu and lo and behold it is working fine.

Thank you all

Paul
Infamy, Infamy, they all have it in for me!