Libssh2_init undefined symbol

makaruxx

New Member
May 1, 2013
29
0
1
Hello,

I just want to create an VM (Windows Server) on my Root. After i click on "Finish" i get an output with this error:

TASK ERROR: create failed - unable to create image: /usr/bin/qemu-img: symbol lookup error: /usr/bin/qemu-img: undefined symbol: libssh2_init

aRgjbi3.jpg

He doesnt create the VM because of this Error... I already tried "apt-get update" "apt-get upgrade". Still doesnt work. The library libssh2-1 is also installed...
root@server:~# apt-get install libssh2-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssh2-1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
root@server:~#


I dont know whats wrong... It worked 1 month ago because i didnt touched proxmox for 1 month. My Proxmox Version is 3.1-24.
I can create CT (Linux Servers) but Windows Server doesnt work.

Hope someone can help me.
 
Last edited:
follow the upgrade guide (http://pve.proxmox.com/wiki/Downloads#Update_a_running_Proxmox_Virtual_Environment_3.x_to_latest_3.2) to latest version, then post the output of 'pveversion -v'

Hi,

I did this but i get this error after i do "apt-get update"


W: GPG error: http://security.debian.org wheezy/updates Release: The following signatures were invalid: BADSIG 8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>
W: Failed to fetch https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterprise/binary-amd64/Packages The requested URL returned error: 401

W: Failed to fetch https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterprise/binary-i386/Packages The requested URL returned error: 401

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@server:/home#
 
looks not like a standard installation - how did you initially install this Proxmox VE host?
 
I have this Proxmox Version like 1 year or so... I changed the source.list a bit.. Idk. Do i need a valid subscription to update to 3.2? Because i dont have any subscription yet.


This is my source.list:


# deb http://mirror.g-portal.de/debian squeeze main

deb http://mirror.g-portal.de/debian squeeze main non-free contrib
deb-src http://mirror.g-portal.de/debian squeeze main non-free contrib

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://mirror.g-portal.de/debian squeeze-updates main contrib non-free
deb-src http://mirror.g-portal.de/debian squeeze-updates main contrib non-free

# Main dotdeb repository
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all

# PHP 5.4
deb http://packages.dotdeb.org squeeze-php54 all
deb-src http://packages.dotdeb.org squeeze-php54 all

deb http://http.at.debian.org/debian wheezy main contrib

# PVE repository provided by proxmox.com, only for installation (this repo will stay on 3.1)
deb [arch=amd64] ftp://download.proxmox.com/debian wheezy pve

# security updates
deb http://security.debian.org/ wheezy/updates main contrib


So the source.list is wrong?
 
again, how did you initially install this Proxmox VE host?
 
I have this Proxmox Version like 1 year or so... I changed the source.list a bit.. Idk. Do i need a valid subscription to update to 3.2? Because i dont have any subscription yet.


This is my source.list:





So the source.list is wrong?

I already pointed you to the guide, there is a sources.list - just read the page again and compare with your list.

there is also an explanation about the enterprise repo.

http://pve.proxmox.com/wiki/Downloads#Update_a_running_Proxmox_Virtual_Environment_3.x_to_latest_3.2
 
I already pointed you to the guide, there is a sources.list - just read the page again and compare with your list.

there is also an explanation about the enterprise repo.

http://pve.proxmox.com/wiki/Downloads#Update_a_running_Proxmox_Virtual_Environment_3.x_to_latest_3.2

Yes, i followed this guide. My source.list is correct. But still get an error while updating my system (apt-get update)
Could not connect passive socket. [IP: 149.20.20.6 21]
Get:78 ftp://security.debian.org Squeeze/updates/contrib amd64 Packages
Err ftp://security.debian.org Squeeze/updates/contrib amd64 Packages
Could not connect passive socket. [IP: 149.20.20.6 21]
Get:79 ftp://security.debian.org Squeeze/updates/main i386 Packages
Err ftp://security.debian.org Squeeze/updates/main i386 Packages
Could not connect passive socket. [IP: 149.20.20.6 21]
Get:80 ftp://security.debian.org Squeeze/updates/contrib i386 Packages
Err ftp://security.debian.org Squeeze/updates/contrib i386 Packages
Could not connect passive socket. [IP: 149.20.20.6 21]
Get:81 ftp://security.debian.org Squeeze/updates/contrib Translation-en_US
Err ftp://security.debian.org Squeeze/updates/contrib Translation-en_US
Could not connect passive socket. [IP: 149.20.20.6 21]
Get:82 ftp://security.debian.org Squeeze/updates/contrib Translation-en
Err ftp://security.debian.org Squeeze/updates/contrib Translation-en
Could not connect passive socket. [IP: 149.20.20.6 21]
Get:83 ftp://security.debian.org Squeeze/updates/main Translation-en_US
Err ftp://security.debian.org Squeeze/updates/main Translation-en_US
Could not connect passive socket. [IP: 149.20.20.6 21]
Get:84 ftp://security.debian.org Squeeze/updates/main Translation-en
Err ftp://security.debian.org Squeeze/updates/main Translation-en
Could not connect passive socket. [IP: 149.20.20.6 21]
W: Failed to fetch ftp://security.debian.org/dists/Squeeze/updates/Release.gpg Could not connect passive socket. [IP: 149.20.20.6 21]

W: Failed to fetch https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterp rise/binary-amd64/Packages The requested URL returned error: 401

W: Failed to fetch https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterp rise/binary-i386/Packages The requested URL returned error: 401

W: Failed to fetch ftp://http.at.debian.org/debian/dists/Squeeze/main/binary-amd 64/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 213 .129.232.18 21]

W: Failed to fetch ftp://http.at.debian.org/debian/dists/Squeeze/contrib/binary- amd64/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 213.129.232.18 21]

W: Failed to fetch ftp://http.at.debian.org/debian/dists/Squeeze/main/binary-i38 6/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 213. 129.232.18 21]

W: Failed to fetch ftp://http.at.debian.org/debian/dists/Squeeze/contrib/binary- i386/Packages Unable to fetch file, server said 'Failed to open file. ' [IP: 2 13.129.232.18 21]

W: Failed to fetch ftp://security.debian.org/dists/Squeeze/updates/main/binary-a md64/Packages Could not connect passive socket. [IP: 149.20.20.6 21]

W: Failed to fetch ftp://security.debian.org/dists/Squeeze/updates/contrib/binar y-amd64/Packages Could not connect passive socket. [IP: 149.20.20.6 21]

W: Failed to fetch ftp://security.debian.org/dists/Squeeze/updates/main/binary-i 386/Packages Could not connect passive socket. [IP: 149.20.20.6 21]

W: Failed to fetch ftp://security.debian.org/dists/Squeeze/updates/contrib/binar y-i386/Packages Could not connect passive socket. [IP: 149.20.20.6 21]

W: Failed to fetch ftp://security.debian.org/dists/Squeeze/updates/contrib/i18n/ Translation-en_US Could not connect passive socket. [IP: 149.20.20.6 21]

W: Failed to fetch ftp://security.debian.org/dists/Squeeze/updates/contrib/i18n/ Translation-en Could not connect passive socket. [IP: 149.20.20.6 21]

W: Failed to fetch ftp://security.debian.org/dists/Squeeze/updates/main/i18n/Tra nslation-en_US Could not connect passive socket. [IP: 149.20.20.6 21]

W: Failed to fetch ftp://security.debian.org/dists/Squeeze/updates/main/i18n/Tra nslation-en Could not connect passive socket. [IP: 149.20.20.6 21]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@server:/home# cat /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
root@server:/home#
 
Hi,
you need wheezy for pve3

Udo

Ah okey. So i cant install Proxmox 3.2... But the error is still there... Libssh2_init undefined symbol... the weird thing is, i can install Linux Server. But no windows server...
 
Hm okey... but i dont know why this error comes up because it worked 1 month ago. I didnt changed my system -_-
 
Hm okey... but i dont know why this error comes up because it worked 1 month ago. I didnt changed my system -_-

yes, you do not know it, but we do.

you cannot run squeeze with 3.x - you need Debian Wheezy to run 3.x. fix it by a dist-upgrade or do a fresh install.
 

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!