You are here
Stéphane CLINCKART - Sun, 2023/03/05 - 23:47
Hello,
I tried several turnkey solution installed like following on proxmox:
pct create 101 VMHost:vztmpl/debian-11-turnkey-postgresql_17.1-1_amd64.tar.gz --hostname postgresql-17.1-1 --cores 2 --memory 1024 --swap 512 --rootfs VMHost:128 --net0 name=eth0,bridge=vmbr0,ip=192.168.100.20/22,gw=192.168.100.1 --onboot 1 --startup 'order=1,up=5,down=5'
After I tried to connected:
1) with putty via ssh root@192.168.100.20 it ask me to accept a certificate then ask me for a password.
2) from proxmox console via ssh root@192.168.100.20 but same thing happened.
The password wizard didn't show up.
I restarted several time the VM.
I don't know what to try else.
Thanks for support,
Kind regards
Stéphane
Forum:
Tags:
That's very strange?
When you first log in via SSH, you should be greeted by the firstboot scripts.
The only thing that I can think of is perhaps it wasn't quite ready yet? If you log in before the interactive component of the firstboot process has started, then perhaps that might occur?
I'm not sure if pct provides a way to see what the boot process is doing, but you can open a NoVNC window (from the Web UI) - once it reaches the log in prompt you should be good to go (I prefer using SSH, but the NoVNC window should work fine).Update: This should work:
I.e. 'pct console 101'. I just tested it and you can log in via that too and should see the firstboot scripts. Note to exit: 'Ctrl-a' followed by 'q'.
Hopefully that helps. If you continue to have issues, please post back and I'll test myself.
Strange ? Yes it is.
Hello, thanks for quick reply.
Here the command line and the result:
Then, after a while, I was trying different ways to login.
pct console 101, noVNC, SSH via putty... always the same result:
I checked the activity summary of the VM after 8 minutes:
CPU : 0.05%
MEM: 55 MB
DISK: 1 GB
I really don't know what to do.
Specially I tried another installation on a different node, same problem.
Is there a way to watch the logs ?
Thanks
Kind regards
Stéphane
My apologies; you aren't setting the root password!
I'm sorry that I missed it in your initial post. Whilst the firstboot scripts set app passwords etc, you need to set the root password via Proxmox when launching the container.
TBH, I mostly use the web UI but a quick look at the pct doc page it looks like you'll want to add the '--password' switch with your desired root password. I.e. add this to your launch line:
Then you should be able to log in as root. Once you've logged in, that's when you should be greeted by the firstboot scripts that have been mentioned. Sorry I missed that from your initial post.
So Simple
Hello Jeremy,
Thanks a lot... so simple fix.
You opened now a new door for me to explore all the turnkey solutions.
Thanks a lot
Stéphane
Glad to hear that got you over the line! :)
Glad to hear that got you over the line!
Please don't hesitate to post back if you have any further questions, concerns or any other feedback (e.g. things that could be better or aren't as clear as they should be).
Good luck with it all.
Add new comment