nixos-in-place icon indicating copy to clipboard operation
nixos-in-place copied to clipboard

Failed running on LeaseWeb Ubuntu 16.04 server

Open nh2 opened this issue 8 years ago • 1 comments

After applying the workaround from #38, I first got lots of expected output, but then it failed with:

updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/sda...
Installing for i386-pc platform.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1656f30] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x165ba10] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x165ba10] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1b55690] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1b55690] dtree
Internal error: Unreleased memory pool(s) found.
Installation finished. No error reported.
setting up /etc...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_US:",
	LC_ALL = "",
	LC_PAPER = "en_GB.UTF-8",
	LC_ADDRESS = "en_GB.UTF-8",
	LC_MONETARY = "en_GB.UTF-8",
	LC_NUMERIC = "en_GB.UTF-8",
	LC_TELEPHONE = "en_GB.UTF-8",
	LC_IDENTIFICATION = "en_GB.UTF-8",
	LC_MEASUREMENT = "en_GB.UTF-8",
	LC_TIME = "",
	LC_NAME = "en_GB.UTF-8",
	LANG = ""
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_US:",
	LC_ALL = "",
	LC_PAPER = "en_GB.UTF-8",
	LC_ADDRESS = "en_GB.UTF-8",
	LC_MONETARY = "en_GB.UTF-8",
	LC_NUMERIC = "en_GB.UTF-8",
	LC_TELEPHONE = "en_GB.UTF-8",
	LC_IDENTIFICATION = "en_GB.UTF-8",
	LC_MEASUREMENT = "en_GB.UTF-8",
	LC_TIME = "",
	LC_NAME = "en_GB.UTF-8",
	LANG = ""
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Died at /nix/store/531giy6mqh207cadkffsi1z960l4jywz-update-users-groups.pl line 144.
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.root'
chown: invalid user: 'root.messagebus'
chown: invalid user: 'root.root'
chown: invalid user: 'root.nogroup'
Initializing machine ID from random generator.
root@nixos:~/nixos-in-place#  

Not sure what that means.

Interestingly, NixOS was still installed and started on next boot, but it had no networking configured, so I couldn't connect to the server and had to control it via LeaseWeb's KVM remote connection feature (HP iLO) to manually fix up the installation.

Also to note, since the script didn't run through fully, I had to log in with the standard user root and password nixos.

I have no idea what could have caused the above error.

But as learned through #38, LeaseWeb's Ubuntu is not 100% pristine, so maybe they have changed something that made it break here?

Or might it be the dmraid+LVM setup I have on that machine?

nh2 avatar Sep 02 '17 22:09 nh2

Did you ever end up getting NixOS to run on LeaseWeb, @nh2 ? I'm looking into ordering a dedicated server from them but it's a bit of a dealbreaker if it's impossible to get NixOS to run, as I manage all of my servers using NixOps.

lambdadog avatar Jan 02 '20 13:01 lambdadog