Koozali.org: home of the SME Server

Yum update fails on VirtualBox VM

Offline dallas

  • *
  • 29
  • +0/-0
Re: Yum update fails on VirtualBox VM
« Reply #15 on: March 01, 2021, 06:43:58 AM »
It's a Dell Inspiron 15 5000.

I've installed VMware Workstation 16 Player and have the same problem.
It may be the Laptop... or Windows 10?

Offline brianr

  • *
  • 988
  • +2/-0
Re: Yum update fails on VirtualBox VM
« Reply #16 on: March 01, 2021, 07:49:13 AM »
I can ping mirrorlist.centos.org but I still get the same error.

That does sound like my problem with the qemu-agent or the VB equivalent...

Let us know how you get on.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: Yum update fails on VirtualBox VM
« Reply #17 on: March 01, 2021, 08:18:49 AM »
Windows 10 Home 20H2
Dell p6-2300a Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz   3.41 GHz

VirtualBox Version 6.1.18 r142142 (Qt5.6.2)

Set machine Bios to Virtualization On
Set windows 10 Fetaures on/off Virtual Machine Platform - On
VM - used RedHat 64bit
Set network to Bridged Adapter

Began install of SME10beta1 - all defaults except as above

at graphical install summary screen made sure Network was turned on (ensures network is working during setup later) I do same in all my installs regardless of platform

Install completed - yum update all OK

Added: sorry, server only mode, DHCP off, ip local 192.168.2.123 my gateway is 192.168.2.19
« Last Edit: March 01, 2021, 09:22:06 AM by TerryF »
--
qui scribit bis legit

Offline brianr

  • *
  • 988
  • +2/-0
Re: Yum update fails on VirtualBox VM
« Reply #18 on: March 01, 2021, 08:39:11 AM »
Can you try pinging centos.mirrorlist.org from the SME10 VM?

and also try pinging the SME10 VM from the Windows 10 host?
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: Yum update fails on VirtualBox VM
« Reply #19 on: March 01, 2021, 08:58:45 AM »
Be handy to see what you have if you do this and post results here

PS C:\WINDOWS\system32> ipconfig
--
qui scribit bis legit

Offline dallas

  • *
  • 29
  • +0/-0
Re: Yum update fails on VirtualBox VM
« Reply #20 on: March 02, 2021, 12:08:33 AM »
Be handy to see what you have if you do this and post results here

PS C:\WINDOWS\system32> ipconfig

Windows ipconfig output.

Offline dallas

  • *
  • 29
  • +0/-0
Re: Yum update fails on VirtualBox VM
« Reply #21 on: March 02, 2021, 12:09:37 AM »
Can you try pinging centos.mirrorlist.org from the SME10 VM?

and also try pinging the SME10 VM from the Windows 10 host?

Both successful.

Offline dallas

  • *
  • 29
  • +0/-0
Re: Yum update fails on VirtualBox VM
« Reply #22 on: March 02, 2021, 12:10:42 AM »
Windows 10 Home 20H2
Dell p6-2300a Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz   3.41 GHz

VirtualBox Version 6.1.18 r142142 (Qt5.6.2)

Set machine Bios to Virtualization On
Set windows 10 Fetaures on/off Virtual Machine Platform - On
VM - used RedHat 64bit
Set network to Bridged Adapter

Began install of SME10beta1 - all defaults except as above

at graphical install summary screen made sure Network was turned on (ensures network is working during setup later) I do same in all my installs regardless of platform

Install completed - yum update all OK

Added: sorry, server only mode, DHCP off, ip local 192.168.2.123 my gateway is 192.168.2.19

I'll try your config and report back.

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: Yum update fails on VirtualBox VM
« Reply #23 on: March 02, 2021, 02:19:00 AM »
I am not familiar with VMware so am just guessing what the "Eth Adapter Vmware Network VMnet1" is the sme10 VM under VMware ??.

However .. here are the IPs you listed and mine for comparison,

I believe your issue is you have not setup your SME10 VM  to be on the same lan as your gateway.

Ensure VB network is set to bridged, VMware may have something similar

Yours

Gateway - 192.168.40.1

Win10 IP - 192.168.40.73

VB virtual adapter - 192.168.56.1

Eth Adapter Vmware Network VMnet1 - 192.168.10.1

VMware virt adapter - 192.168.31.1

SME10VM - ?? should be in range  - 192.168.40.#


Mine - server only setup

Gateway - 192.168.2.19

Win10 IP - 192.168.2.153

VB virtual adapter - 192.168.56.1

SME10 VM - 192.168.2.123

In my setup the gateway is providing the DHCP functionality, all others are turned off..

Good Luck
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: Yum update fails on VirtualBox VM
« Reply #24 on: March 02, 2021, 02:22:01 AM »
So above is basics, just to add a little red herring for the future :-) once you get it all working you can manipulate how your SME10 plays with networks and can do lots of interesting things :-) wiki is a trove of gems...
--
qui scribit bis legit

Offline dallas

  • *
  • 29
  • +0/-0
Re: Yum update fails on VirtualBox VM
« Reply #25 on: March 02, 2021, 02:32:45 AM »
I believe your issue is you have not setup your SME10 VM  to be on the same lan as your gateway.

SME10 VM IP is on the local lan, 192.168.40.150. I can run an ssh from the host (192.168.40.73) to the SME10. VB network is set to bridged.

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: Yum update fails on VirtualBox VM
« Reply #26 on: March 02, 2021, 02:34:29 AM »
No worries, sweet :-)

If still no yum update, then its something between your gateway and the mirrors :-)

Can you say do a
# wget http://mirror.canada.pialasse.com/releases/testing/10/smeupdates-testing/x86_64/RPMS/smeserver-yum-2.6.0-46.el7.sme.noarch.rpm

Thats the latest smeserver-yum update in smeupdates-testing..
« Last Edit: March 02, 2021, 02:37:14 AM by TerryF »
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: Yum update fails on VirtualBox VM
« Reply #27 on: March 02, 2021, 02:39:32 AM »
maybe even try this, it is a valid update from smeupdates

# yum update http://mirror.canada.pialasse.com/releases/testing/10/smeupdates/x86_64/RPMS/smeserver-release-10.0-2.beta1.el7.sme.noarch.rpm

Added: if using the same VM to switch things about, worthwhile doing a # yum clean all just to clear its head :-)
« Last Edit: March 02, 2021, 02:47:06 AM by TerryF »
--
qui scribit bis legit

Offline dallas

  • *
  • 29
  • +0/-0
Re: Yum update fails on VirtualBox VM
« Reply #28 on: March 03, 2021, 02:49:25 AM »
I think this is a hardware issue related to my new laptop. It may be specific the the laptops CPU.

I've installed VB on an old 2008 MacBook Pro and while the VM is extremely slow, I'm able to run yum update.
Further testing reveals that I can ssh into the MBP SME VM from any machine on my network. This is NOT true of the VM on the Dell laptop. While I can ssh from the Dell laptop that is hosting the VM I can't ssh from any other machine on the network.

Mystery solved. Happy to provide more details if anyone is interested.

Thank you everyone for your help and suggestions.

Offline TerryF

  • grumpy old man
  • *
  • 1,826
  • +6/-0
Re: Yum update fails on VirtualBox VM
« Reply #29 on: March 03, 2021, 03:32:49 AM »
Bloody PITA :-) good to get to bottom of it... have to go and have a look at hardware specs to see what eth hardware details are .. even if just for hardware compat details etc, pity s that is a good bit of hardware you have
--
qui scribit bis legit