Can't access Proxmox shell or the VMs from within Proxmox

fabiolanza

Member
May 15, 2020
18
3
8
36
Hi, I always used Proxmox without any problems. Without doing any configuration changes, I can no longer access the Proxmox shell or any of the VMs from within Proxmox (I still can access the VMs via RDP for example).

I am using the root account - always have. Any guests on what could be creating this problem?

I shutdown the physical server and turned it back on, but the problem persisted.

Here a screenshot with the error code:
1615711756775.png

Thanks,
Fabio
 
Last edited:
check the journal while you try to open the shell:
* connect via ssh and run `journalctl -f`
* try opening the shell in the GUI

that should point to any potential problems

I hope this helps!
 
Hi @Stoiko Ivanov , this is the output of the journal. Do you see any hints on the issue?

Code:
login as: root
root@10.0.1.30's password:
Linux proxmox 5.4.34-1-pve #1 SMP PVE 5.4.34-2 (Thu, 07 May 2020 10:02:02 +0200)                                                                                x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Mar 14 16:44:03 2021
root@proxmox:~# journalctl -f
-- Logs begin at Sun 2021-03-14 09:36:24 CET. --
Mar 15 22:07:38 proxmox systemd[40547]: Listening on GnuPG network certificate m                                                                               anagement daemon.
Mar 15 22:07:38 proxmox systemd[40547]: Listening on GnuPG cryptographic agent a                                                                               nd passphrase cache (access for web browsers).
Mar 15 22:07:38 proxmox systemd[40547]: Listening on GnuPG cryptographic agent a                                                                               nd passphrase cache.
Mar 15 22:07:38 proxmox systemd[40547]: Listening on GnuPG cryptographic agent a                                                                               nd passphrase cache (restricted).
Mar 15 22:07:38 proxmox systemd[40547]: Reached target Sockets.
Mar 15 22:07:38 proxmox systemd[40547]: Reached target Basic System.
Mar 15 22:07:38 proxmox systemd[40547]: Reached target Default.
Mar 15 22:07:38 proxmox systemd[40547]: Startup finished in 212ms.
Mar 15 22:07:38 proxmox systemd[1]: Started User Manager for UID 0.
Mar 15 22:07:38 proxmox systemd[1]: Started Session 41 of user root.
Mar 15 22:07:55 proxmox systemd[1]: Starting Daily apt download activities...
Mar 15 22:07:55 proxmox systemd[1]: apt-daily.service: Succeeded.
Mar 15 22:07:55 proxmox systemd[1]: Started Daily apt download activities.
Mar 15 22:08:00 proxmox systemd[1]: Starting Proxmox VE replication runner...
Mar 15 22:08:00 proxmox systemd[1]: pvesr.service: Succeeded.
Mar 15 22:08:00 proxmox systemd[1]: Started Proxmox VE replication runner.
Mar 15 22:08:04 proxmox pvedaemon[128119]: <root@pam> successful auth for user '                                                                               root@pam'
Mar 15 22:08:10 proxmox pvedaemon[41635]: starting termproxy UPID:proxmox:0000A2                                                                               A3:00C8C237:604FCCBA:vncshell::root@pam:
Mar 15 22:08:10 proxmox pvedaemon[128121]: <root@pam> starting task UPID:proxmox                                                                               :0000A2A3:00C8C237:604FCCBA:vncshell::root@pam:
Mar 15 22:08:20 proxmox pvedaemon[41635]: command '/usr/bin/termproxy 5900 --path /nodes/proxmox --p                                                           erm Sys.Console -- /bin/login -f root' failed: exit code 4
Mar 15 22:08:20 proxmox pvedaemon[128121]: <root@pam> end task UPID:proxmox:0000A2A3:00C8C237:604FCC                                                           BA:vncshell::root@pam: command '/usr/bin/termproxy 5900 --path /nodes/proxmox --perm Sys.Console --                                                            /bin/login -f root' failed: exit code 4

Thanks!
 
Last edited:
please post `pveversion -v` (and make sure you're on the latest available updates)
if this is the case try running:
Code:
/usr/bin/termproxy 5900 --path /nodes/rosa --perm Sys.Console -- /bin/login -f root
in a shell and paste the output (if possible in 'code' tags instead of 'icode' as those are easier to read for multiple lines)
 
Hi @Stoiko Ivanov , I launched the command "apt upgrade" and now everything works again. However, I see that Proxmox is still running on version 6.2-4. How can I upgrade it to version 6.3?

Thanks,
Fabio
 

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!