ProxMox web interface not running

Steijn van Essen

Active Member
Jun 20, 2011
29
0
41
Amsterdam
Hello community,

Here's my 2nd post on this forum. Referring to my 1st post 'Installation aborted' dated June 21, 2011, I made quite some progress in getting ProxMox up and running, considering the fact that I was a rather newbie on Linux and totally unfamiliar with ProxMox.
Just for the record and maybe to help out other newbies I will add a summary of my findings for the last month to my 1st post, but for now I need some help with the following:

Following the suggestion from Tom on my 1st post I installed Debian Lenny 5.0.8, running the vmlinuz-2.6.26-2-amd64 kernel. Then following the instructions at

http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Lenny

I came up to, but not including, the final step: connecting to the ProxMox web interface.

When I try to connect to https://<My_ProxMox_IP> with my (Win XP) workstation's web browser I get nothing and running 'telnet <My_ProxMox_IP> 443' returns 'Cannot make connection with host on port 443: connection failed'.
When I ping <My_ProxMox_IP> I get replies and when I telnet to <My_ProxMox_IP> on port 44077 (see output below) I get some sort of black Telnet screen (normally indicating a running listener/deamon).

Having learned quite a lot about Linux by now I turn to my server console and enter 'uname -a' just to make sure. It returns
Code:
Linux <My_ProxMox> 2.6.32-4-pve #1 SMP Mon May 9 12:59:57 CEST 2011 x86_64 GNU/Linux
Seeing what I expect to see I enter 'netstat -a', with the following result:
Code:
...

Proto  Recv-Q  Send-Q  Local Address            Foreign Address         State
tcp         0       0  *:44077                  *.*                     LISTEN
tcp         0       0  *:sunrpc                 *.*                     LISTEN
tcp         0       0  localhost:smtp           *.*                     LISTEN
udp         0       0  *:sunrpc                 *.*
udp         0       0  My_ProxMox_FQDN:ntp      *.*
udp         0       0  localhost:ntp            *.*
udp         0       0  *:ntp                    *.*
udp         0       0  *:40632                  *.*
udp         0       0  *:721                    *.*
udp6        0       0  fe80::beae:c5ff:fe3:ntp  [::]:*
udp6        0       0  localhost:ntp            [::]:*
udp6        0       0  localhost:ntp            [::]:*
Active Unix domain sockets (servers and established)

...
Concentrating on the TCP and UDP listeners for now I don't include the list of domain sockets that follows.

Now, why don't I see a TCP listener running on port 443?
Could it be the fact that the above weblink does not detail on what kind of services need to be included in the Debian install?
=> I only did a bare bones install (just the base system w/o any additional packages like graphical user desktop or web server)
=> oh, by the way, I don't recall selecting LVM based partitioning, but is it necessary to run the
web interface?!
Could it be because I haven't configured the FQDN for 'My_ProxMox' server in my DNS?
Or could it be because I skipped the optional step of installing ProxMox kernel headers ('aptitude
install pve-headers-2.6.32-4-pve')?

Could anybody perhaps help me find out why I don't see the ProxMox web interface?

Awaiting your most appreciated reaction(s),
 
Hello community,

Here's my 2nd post on this forum. Referring to my 1st post 'Installation aborted' dated June 21, 2011, I made quite some progress in getting ProxMox up and running, considering the fact that I was a rather newbie on Linux and totally unfamiliar with ProxMox.
Just for the record and maybe to help out other newbies I will add a summary of my findings for the last month to my 1st post, but for now I need some help with the following:

Following the suggestion from Tom on my 1st post I installed Debian Lenny 5.0.8, running the vmlinuz-2.6.26-2-amd64 kernel. Then following the instructions at

http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Lenny

I came up to, but not including, the final step: connecting to the ProxMox web interface.

When I try to connect to https://<My_ProxMox_IP> with my (Win XP) workstation's web browser I get nothing and running 'telnet <My_ProxMox_IP> 443' returns 'Cannot make connection with host on port 443: connection failed'.
When I ping <My_ProxMox_IP> I get replies and when I telnet to <My_ProxMox_IP> on port 44077 (see output below) I get some sort of black Telnet screen (normally indicating a running listener/deamon).

Having learned quite a lot about Linux by now I turn to my server console and enter 'uname -a' just to make sure. It returns
Code:
Linux <My_ProxMox> 2.6.32-4-pve #1 SMP Mon May 9 12:59:57 CEST 2011 x86_64 GNU/Linux
Seeing what I expect to see I enter 'netstat -a', with the following result:
Code:
...

Proto  Recv-Q  Send-Q  Local Address            Foreign Address         State
tcp         0       0  *:44077                  *.*                     LISTEN
tcp         0       0  *:sunrpc                 *.*                     LISTEN
tcp         0       0  localhost:smtp           *.*                     LISTEN
udp         0       0  *:sunrpc                 *.*
udp         0       0  My_ProxMox_FQDN:ntp      *.*
udp         0       0  localhost:ntp            *.*
udp         0       0  *:ntp                    *.*
udp         0       0  *:40632                  *.*
udp         0       0  *:721                    *.*
udp6        0       0  fe80::beae:c5ff:fe3:ntp  [::]:*
udp6        0       0  localhost:ntp            [::]:*
udp6        0       0  localhost:ntp            [::]:*
Active Unix domain sockets (servers and established)

...
Concentrating on the TCP and UDP listeners for now I don't include the list of domain sockets that follows.

Now, why don't I see a TCP listener running on port 443?
Could it be the fact that the above weblink does not detail on what kind of services need to be included in the Debian install?
=> I only did a bare bones install (just the base system w/o any additional packages like graphical user desktop or web server)
=> oh, by the way, I don't recall selecting LVM based partitioning, but is it necessary to run the
web interface?!
Could it be because I haven't configured the FQDN for 'My_ProxMox' server in my DNS?
Or could it be because I skipped the optional step of installing ProxMox kernel headers ('aptitude
install pve-headers-2.6.32-4-pve')?

Could anybody perhaps help me find out why I don't see the ProxMox web interface?

Awaiting your most appreciated reaction(s),
Hi,
i guess that your apache doesn't run!
Looks normal like this
Code:
proxmox# netstat -ln | grep 443
tcp6       0      0 :::443                  :::*                    LISTEN     
proxmox# netstat -ln | grep 80
tcp6       0      0 :::80                   :::*                    LISTEN     
udp6       0      0 fe80::217:8ff:fe48::123 :::*                               
udp6       0      0 fe80::1:123             :::*                               
...
proxmox# ps aux | grep apache
root      5343  0.0  1.7 254452 32864 ?        Ss   06:38   0:00 /usr/sbin/apache2 -k start
www-data  5393  0.0  1.7 259840 32908 ?        S    06:38   0:00 /usr/sbin/apache2 -k start
www-data  5394  0.0  1.6 254760 31532 ?        S    06:38   0:00 /usr/sbin/apache2 -k start
root      6069  0.0  0.0   8628   848 pts/0    S+   08:08   0:00 grep apache
For an newbie i'm recommend a original pve-installation (perhaps on a simple box - e.g. cheap amd-phenom).

Udo
 
Udo

Thank you, Udo, for your reaction. So it seems that web support doesn't automatically come with the ProxMox install on top of Debian and that Debian should have Apache running before I install ProxMox on top of it?!

With respect to your suggestion to try it on simpler hardware: I have two candidate old servers, one AMD K7-1200MHz based w Debian 32 bit already installed and one Intel P4-2000Mhz w Windows XP on it. But since the ProxMox Bare-metal ISO Installer only supports 64 bit CPUs (according to this thread: [thread=990]Proxmox-32-bit-OS[/thread]) this is not going to be of much help.
There is also the option of installing an unofficial 32 bit version of ProxMox on top of Debian Lenny 32 bit, but that that doesn't brings me in a better position compared to where I am now. And given the spendings and efforts to build my current i7 6 core machine I consider buying another, albeit much cheaper, amd64 based system as an option of last resort.

So for now, I'll try to get ProxMox reinstalled on Debian w Apache already installed and running.

Or would it be possible to add Apache (or any other additional service) to the current ProxMox install?

To be continued,
 
Udo

Thank you, Udo, for your reaction. So it seems that web support doesn't automatically come with the ProxMox install on top of Debian and that Debian should have Apache running before I install ProxMox on top of it?!
Hi,
have you tried to start the webserver?
Code:
/etc/init.d/apache2 start
With respect to your suggestion to try it on simpler hardware: I have two candidate old servers, one AMD K7-1200MHz based w Debian 32 bit already installed and one Intel P4-2000Mhz w Windows XP on it. But since the ProxMox Bare-metal ISO Installer only supports 64 bit CPUs (according to this thread: [thread=990]Proxmox-32-bit-OS[/thread]) this is not going to be of much help.
There is also the option of installing an unofficial 32 bit version of ProxMox on top of Debian Lenny 32 bit, but that that doesn't brings me in a better position compared to where I am now. And given the spendings and efforts to build my current i7 6 core machine I consider buying another, albeit much cheaper, amd64 based system as an option of last resort.
right - 32bit-pve is not a solution - this can you do if you know the system good (but 2011 are the server without 64bit round +5 years old - i suggest not to use such old hardware. For the power consumption you get today a lot more cpu and io-power). In countries of africa it's perhaps different but not in europe. And i wrote to use an cheap desktop-system to test - not an server. It's ok for the first steps.
So for now, I'll try to get ProxMox reinstalled on Debian w Apache already installed and running.

Or would it be possible to add Apache (or any other additional service) to the current ProxMox install?

To be continued,
Of course can you install on the proxmox-system a lot of software - it's linux!
You can look if you have installed the apache with:
Code:
dpkg -l | grep apache
ii  apache2                                        2.2.9-10+lenny9                Apache HTTP Server metapackage
ii  apache2-mpm-prefork                            2.2.9-10+lenny9                Apache HTTP Server - traditional non-threaded model
ii  apache2-utils                                  2.2.9-10+lenny9                utility programs for webservers
ii  apache2.2-common                               2.2.9-10+lenny9                Apache HTTP Server common files
ii  libapache-authcookie-perl                      3.12-1                         Perl Authentication and Authorization via cookies
ii  libapache-session-perl                         1.86-1                         Perl modules for keeping persistent user data across http reques
ii  libapache-sessionx-perl                        2.01-1.1                       An extented persistence framework for session data
ii  libapache2-mod-apreq2                          2.08-5+b1                      generic Apache request library - Apache module
ii  libapache2-mod-perl2                           2.0.4-5+lenny1                 Integration of perl with the Apache2 web server
ii  libapache2-request-perl                        2.08-5+b1                      generic Apache request library - Perl modules
install with "apt-get install apache2-mpm-prefork" and so on (do an "apt-get upgrade" before).

Udo
 
Dear Udo (and other forum readers),

I was quite busy at the office and with other private matters, so it took some time for me to follow up your suggestions. Here's my results:

I don't remember actually trying "/etc/init.d/apache2 start". But I did install Apache2 on top of ProxMox. As a newbie it took me a couple of evenings to make it work for me. First only with HTTP, later on also with HTTPS. Learned a number of things about creating and self signing SSL certificates. When I connected to my server with my workstation's browser, however, I got the default "It works!" page rather than the ProxMox configuration screen.

Then I created a new Debian installation (with a different host name to prevent from mixups between the two images) on another disk partition, arranged for some relevant contents in the /etc/hosts file (to make sure that this wouldn't be part of the problem) and after that I first installed Apache2 with SSL certificates before I installed ProxMox on top of that. Unfortunately I saw no difference. That is, I run the ProxMox kernel but still get "It works!" when I "https://" from my workstation.
I mounted the original partition to my new partition to look for clues, but didn't find much, really. I also used "find" to look for everything I could think of. One thing that puzzles me is that I don't see any HTML pages (apart from documentation pages) that I could possible relate to the ProxMox web interface. So here's my questions:

Does the ProxMox web interface really utilize Apache or does it come with a self contained web service?
And if it uses Apache, could anybody perhaps tell me what content Apache will present to anyone surfing to "https://IP_address_of_my_ProxMox_server"?! Where does Apache get its contents from? How does Apache come up with the ProxMox mangement interface?
And sorry I forgot about checking this before I started: is it likely/possible that Apache comes with the ProxMox-on-top-of-Lenny install if I don't install it on Debian on beforehand?

Is there anyone who wants to just take a short look at his or her running ProxMox to find me some answers?
 
...
Does the ProxMox web interface really utilize Apache or does it come with a self contained web service?
And if it uses Apache, could anybody perhaps tell me what content Apache will present to anyone surfing to "https://IP_address_of_my_ProxMox_server"?! Where does Apache get its contents from? How does Apache come up with the ProxMox mangement interface?
And sorry I forgot about checking this before I started: is it likely/possible that Apache comes with the ProxMox-on-top-of-Lenny install if I don't install it on Debian on beforehand?

Is there anyone who wants to just take a short look at his or her running ProxMox to find me some answers?
Hi,
the pve-config will be loaded from apache with the site-config:
Code:
# ls -lsa /etc/apache2/sites-available/pve.conf 
4 -rw-r--r-- 1 root root 3586 19. Okt 2009  /etc/apache2/sites-available/pve.conf
# ls -lsa /etc/apache2/sites-enabled/pve.conf 
0 lrwxrwxrwx 1 root root 27  7. Nov 2009  /etc/apache2/sites-enabled/pve.conf -> ../sites-available/pve.conf

The website-content is below /usr/share/pve-manager/root

This is all in the package pve-manager - see "dpkg -L pve-manager"

Hope this helps.

Udo
 
Thanx Udo,

for giving me one more clue. The 'pve-manager' thing sure looks seriously helpfull. Hope to get back to you with some news soon.

Good night for now.
 
Dear Udo (and other forum readers),

Just want you to know that I finally got PVE Manager running after two more weeks of trial and error. Never having seen a ‘live’ ProxMox environment I didn’t know where to look for, but the instructions and examples on Internet and the clues given by Udo helped me a lot.

Just FYI the prologue to this post:
- I originally tried to use the ProxMox install ISO booting from a USB key. Didn’t work.
- Then I changed to booting from an USB attached CD drive. Didn’t work.
- Then I ‘borrowed’ a SATA CD drive from my workstation and hooked it up to my server. This helped, but still I got “Installation aborted”.
- Then I followed the advice of forum member Tom to take a two step approach: install ProxMox on top of Debian Lenny (see my 1st post [thread=6553]Installation aborted[/thread]). I was able to install Debian and the ProxMox kernel on top of it, but didn’t get the management tools. This was the reason for my second (this) post.[/list]

So here’s my round up of what I did with Udo’s last clues:
  • Started reading about Apache and after feeling comfortable with that I installed the ‘apache2-mpm-prefork’ package. I rejected the default of ‘apache2-mpm-worker’ for I think this is overkill for just management of ProxMox. Prefork gave me at least TCP port 80 listening, but this is not a port used for web based manage¬ment of ProxMox. So I somehow needed to add at least port 443.
  • Started reading about Apache and SSL certificates, ‘mod-ssl’ and ‘open-ssl’. After feeling comfortable with that I issued the ‘aptitude install openssl ssl-cert’ command. Then I played with creating and storing keys and certificates (and self-signing them) and finally was able to get port 443 up and running and Apache’s default “It Works!” web page. Wow! But unfortunately, no PVE Manager interface.
  • I copied the ‘../proxmox/packages’ directory I found on the ProxMox installer CD to my hard disk. Then tried to get all kinds of packages installed (amongst them ‘pve-manager’). Then, after further investigation, I came to the conclusion that the ‘proxmox-ve-2.6.32’ package contained all I needed (‘aptitude -s install proxmox-ve-2.6.32’ enables you to learn about all the prompts you get and replies you should give during installing without actually doing the installation, thanks to the ‘-s’ option). After this you can run ‘aptitude -s install proxmox-ve-2.6.32 > apt_install_proxmox-ve’ and ‘more apt_install_proxmox-ve’ to learn at your own pace about all installation details (requirements, conflicts, suggestions, updates, removals, resulting actions). So, Udo, indeed: the ProxMox-on-top-of-Lenny install comes with everything you need and the Debian system underneath can be bare bones.
  • Having learned a lot about Aptitude and installing Debian and ProxMox by now, I copied a ‘fresh’ bare bones Debian install (I have four partitions on my SSD to make sure I always have one left for booting) to my ProxMox partition and then put all my efforts in getting the ‘proxmox-ve-2.6.32’ package installed. After another week of struggling I desperately tried one more thing: comment out the following ‘deb’ lines in ‘/etc/apt/sources.list’:
    Code:
    # Debian CDROM installer
    deb cdrom:[Debian GNU/Linux 5.0.8 _Lenny_ - Official amd64 CD Binary-1 20110122-18:32]/ lenny main
    #
    # ProxMox CDROM packages (copied to disk)
    deb file:///var/tmp/proxmox/ packages/
    and then added the following lines as a replacement:
    Code:
    # Debian Lenny GNU/Linux main packages
    deb http://ftp.debian.org/debian lenny main
    This did the trick: all kinds of messages of unresolvable dependencies and virtual packages disappeared and ‘aptitude install proxmox-ve-2.6.32 ntp ssh lvm2’ was now able to complete with far less disturbing messages.
So, where am I now?
Netstat shows a number of extra TCP listeners, like ‘www’, ‘ssh’ and ‘https’ and they all work as expected: I can do a Secure Telnet (using PuTTY from my Windows workstation) and also get the PVE Manager graphical interface when I surf to https://<My_ProxMox_IP>.

My next moves will be:
- familiarize myself with PVE Manager and configuring and starting VM’s;
- get my 36 GB swap partition at the end of my SSD ‘swapped on’ to ProxMox to replace the current default swap file. 36 GB of swap should fit well with 24 GB of RAM;
- getting write permission from my ProxMox server on my NAS shares that currently tell me writing is not permitted;
- order some additional hardware, like an internal SATA CD drive and a second SSD. I want the second SSD for three reasons, noting that I want to support quite a number of VMs and projects on top of ProxMox: (1) for flexibility in ProxMox maintenance and minimizing downtime, (2) as a backup in case of SSD hardware failure and (3) to be able to change ProxMox boot and swap partitions on a regular bases to increase SSD lifetime (SSDs can only handle 1M I/Os or so to the same memory cells). And have a look at file systems that optimize SSD lifetime and performance;
- further familiarize myself with Debian, OpenSuse and Windows running in VM’s;
- a virtualized IPv6 network between the VMs, to be extended into Internet (I’m changing to an IPv6 provider in a couple of weeks);
- getting hands-on experience with all kinds of IPv6 networking matters (DNS, hosting, etc).

Thanx again, all of you and no doubt we’ll meet again on this forum.

= P O S T - C L O S E D =
 
...
- I originally tried to use the ProxMox install ISO booting from a USB key. Didn’t work.
- Then I changed to booting from an USB attached CD drive. Didn’t work.
- Then I ‘borrowed’ a SATA CD drive from my workstation and hooked it up to my server. This helped, but still I got “Installation aborted”.
...
Hi,
btw. perhaps you can make your life easier (on the next time?). Simply take the ssd (or yet better another free hdd) in an normal pc (64bit) and do the installation there.
Than remove the file "/etc/udev/rules.d/70-persistent-net.rules", shutdown the system and connect the hdd in your server.
After that your original pve should boot in this server! But of course you don't learn so much ;)

Udo
 

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!