Root account locked on installation

illuminated

Member
Nov 9, 2020
11
1
8
46
I'm trying to install Proxmox v.7 on a SoYouStart server (SYS-2-SAT-64) but the install procedure with SYS' install image keeps failing. When the machine is automatically rebooted, the startup halts with the following message: "Cannot open access to console, the root account is locked".

This is what I see through the IPMI:
iKVM_capture.jpg

Pressing the <Enter> just repeats the loop and I end up with the same message again.

I was able to log in through the rescue and after reading this bug report for Debian (as my installation image is based on Debian 10), I'm unable to find the referred "sulogin.conf" as I don't have at all the /etc/systemd/system/rescue.service.d/ directory:

Bash:
root@rescue:~# ls -la /mnt/etc/systemd/system/
total 64
drwxr-xr-x 16 root root 4096 Apr 27 05:05 .
drwxr-xr-x  5 root root 4096 Mar 28 06:24 ..
drwxr-xr-x  2 root root 4096 Apr 27 05:03 ceph.target.wants
lrwxrwxrwx  1 root root   34 Mar 28 06:25 chronyd.service -> /lib/systemd/system/chrony.service
drwxr-xr-x  2 root root 4096 Mar 28 06:25 cloud-init.target.wants
drwxr-xr-x  2 root root 4096 Mar 28 06:23 default.target.wants
drwxr-xr-x  2 root root 4096 Apr 27 05:03 getty.target.wants
lrwxrwxrwx  1 root root   38 Apr 27 05:03 iscsi.service -> /lib/systemd/system/open-iscsi.service
drwxr-xr-x  2 root root 4096 Apr 27 05:05 multi-user.target.wants
drwxr-xr-x  2 root root 4096 Apr 27 05:05 network-online.target.wants
lrwxrwxrwx  1 root root   38 Apr 27 05:03 pve-manager.service -> /lib/systemd/system/pve-guests.service
drwxr-xr-x  2 root root 4096 Apr 27 05:03 remote-fs.target.wants
lrwxrwxrwx  1 root root   41 Apr 27 05:02 smartd.service -> /lib/systemd/system/smartmontools.service
drwxr-xr-x  2 root root 4096 Apr 27 05:03 sockets.target.wants
lrwxrwxrwx  1 root root   31 Mar 28 06:26 sshd.service -> /lib/systemd/system/ssh.service
drwxr-xr-x  2 root root 4096 Apr 27 05:03 sysinit.target.wants
lrwxrwxrwx  1 root root   35 Mar 28 06:25 syslog.service -> /lib/systemd/system/rsyslog.service
drwxr-xr-x  2 root root 4096 Mar 28 06:25 systemd-resolved.service.wants
drwxr-xr-x  2 root root 4096 Apr 27 05:03 timers.target.wants
lrwxrwxrwx  1 root root   35 Apr 27 05:03 zed.service -> /lib/systemd/system/zfs-zed.service
drwxr-xr-x  2 root root 4096 Apr 27 05:05 zfs-import.target.wants
drwxr-xr-x  2 root root 4096 Apr 27 05:03 zfs.target.wants
drwxr-xr-x  2 root root 4096 Apr 27 05:03 zfs-volumes.target.wants
root@rescue:~#


Any idea how to proceed?


Important note: I'm able to install any of the available Ubuntu images (also provided by SYS' installer), but cannot install neither plain Debian, or Proxmox (v6 or v7).


Here's the grub.conf from the /boot partition if it helps:

Bash:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/000_proxmox_boot_header ###
### END /etc/grub.d/000_proxmox_boot_header ###

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod part_gpt
insmod part_gpt
insmod part_gpt
insmod diskfilter
insmod mdraid1x
insmod ext2
set root='mduuid/c177bfe820d87f6988a04d687ce40097'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='mduuid/c177bfe820d87f6988a04d687ce40097'  94c2da97-a83c-48d4-908a-350fa703c636
else
  search --no-floppy --fs-uuid --set=root 94c2da97-a83c-48d4-908a-350fa703c636
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=0
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
    set gfxpayload="${1}"
}
set linux_gfx_mode=text
export linux_gfx_mode
menuentry 'Proxmox VE GNU/Linux' --class proxmox --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-94c2da97-a83c-48d4-908a-350fa703c636' {
    gfxmode $linux_gfx_mode
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_gpt
    insmod part_gpt
    insmod part_gpt
    insmod part_gpt
    insmod diskfilter
    insmod mdraid1x
    insmod ext2
    set root='mduuid/576bdb5e973dba79e9c5c7e8d2159448'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint='mduuid/576bdb5e973dba79e9c5c7e8d2159448'  d9229a69-cf2f-4e54-9c66-85a739bcacdf
    else
      search --no-floppy --fs-uuid --set=root d9229a69-cf2f-4e54-9c66-85a739bcacdf
    fi
    echo    'Loading Linux 5.13.19-6-pve ...'
    linux    /vmlinuz-5.13.19-6-pve root=UUID=94c2da97-a83c-48d4-908a-350fa703c636 ro nomodeset iommu=pt
    echo    'Loading initial ramdisk ...'
    initrd    /initrd.img-5.13.19-6-pve
}
submenu 'Advanced options for Proxmox VE GNU/Linux' $menuentry_id_option 'gnulinux-advanced-94c2da97-a83c-48d4-908a-350fa703c636' {
    menuentry 'Proxmox VE GNU/Linux, with Linux 5.13.19-6-pve' --class proxmox --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.13.19-6-pve-advanced-94c2da97-a83c-48d4-908a-350fa703c636' {
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod part_gpt
        insmod part_gpt
        insmod part_gpt
        insmod diskfilter
        insmod mdraid1x
        insmod ext2
        set root='mduuid/576bdb5e973dba79e9c5c7e8d2159448'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint='mduuid/576bdb5e973dba79e9c5c7e8d2159448'  d9229a69-cf2f-4e54-9c66-85a739bcacdf
        else
          search --no-floppy --fs-uuid --set=root d9229a69-cf2f-4e54-9c66-85a739bcacdf
        fi
        echo    'Loading Linux 5.13.19-6-pve ...'
        linux    /vmlinuz-5.13.19-6-pve root=UUID=94c2da97-a83c-48d4-908a-350fa703c636 ro nomodeset iommu=pt
        echo    'Loading initial ramdisk ...'
        initrd    /initrd.img-5.13.19-6-pve
    }
    menuentry 'Proxmox VE GNU/Linux, with Linux 5.13.19-6-pve (recovery mode)' --class proxmox --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.13.19-6-pve-recovery-94c2da97-a83c-48d4-908a-350fa703c636' {
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod part_gpt
        insmod part_gpt
        insmod part_gpt
        insmod diskfilter
        insmod mdraid1x
        insmod ext2
        set root='mduuid/576bdb5e973dba79e9c5c7e8d2159448'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint='mduuid/576bdb5e973dba79e9c5c7e8d2159448'  d9229a69-cf2f-4e54-9c66-85a739bcacdf
        else
          search --no-floppy --fs-uuid --set=root d9229a69-cf2f-4e54-9c66-85a739bcacdf
        fi
        echo    'Loading Linux 5.13.19-6-pve ...'
        linux    /vmlinuz-5.13.19-6-pve root=UUID=94c2da97-a83c-48d4-908a-350fa703c636 ro single nomodeset iommu=pt
        echo    'Loading initial ramdisk ...'
        initrd    /initrd.img-5.13.19-6-pve
    }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
 
Last edited:
Here's a screenshot of what happens when I press the <Enter> (I've been following the entire boot process over the IPMI and no error/fail appears on screen):

iKVM_capture(3).jpg
 
sounds like you should contact SYS support if their install images are broken?
 
I did contact them and they are "investigating the issue".

I wanted to see if anyone here had a similar thing happen to them or if I can get some ideas how to investigate further myself. This could be either a software or hardware malfunction of sort, but I'm out of ideas how could I possibly narrow down the culprit.

None of the Debian (based) images (Debian 9, 10. Proxmox 6 and 7) can be installed and I doubt it's an image issue (what are the odds to have 4 different images hit with the same thing and, as far as I know, the error does not appear to happen to everyone, but I'm either sole or one of the few lucky customers), maybe a combination of installer setting and a hardware bug/issue, but I don't know.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!