Proxmox Web Interface No Longer Available after Apache2 Changes

dgrhodes

New Member
Feb 8, 2016
4
0
1
38
Hello everyone,

I've been reading this site pretty heavily as I started building a server a few months ago. I recently purchased an APC ups and used apcupsd to setup monitoring and notifications for my server. After making changes in Apache to allow the http://serverid/cgi-bin/apcupsd/multimon.cgi page to pull up (so i can monitor my UPS), my proxmox web interface does not load anymore. In chrome, i get
This webpage is not available


ERR_CONNECTION_RESET

when I try to access the page. On the other hand, I can easily access the apcupsd page to monitor the status of my ups. Can someone please help me get this situation figured out so I can access my proxmox web interface?
 
Hello everyone,

I've been reading this site pretty heavily as I started building a server a few months ago. I recently purchased an APC ups and used apcupsd to setup monitoring and notifications for my server. After making changes in Apache to allow the http://serverid/cgi-bin/apcupsd/multimon.cgi page to pull up (so i can monitor my UPS), my proxmox web interface does not load anymore. In chrome, i get
This webpage is not available


ERR_CONNECTION_RESET

when I try to access the page. On the other hand, I can easily access the apcupsd page to monitor the status of my ups. Can someone please help me get this situation figured out so I can access my proxmox web interface?
Hi,
pve has nothing to do with apache (since a long time) because pveproxy is done the job...

Is your port 8006 open?
How looks the output of
Code:
ss -patn | grep -i listen
normaly you should see an line like
Code:
LISTEN  0  128  *:8006  *:*  users:(("pveproxy worker",268205,7),("pveproxy worker",264486,7),("pveproxy worker",263680,7),("pveproxy worker",234926,7),("pveproxy",4369,7))
Which packages are installed?
Code:
dpkg -l | egrep "pve-manager|apache2"
and which pve-version do you have running?
Code:
pveversion -v
Udo
 
Udo, thank you for your reply. Hopefully I can get this figured out. I will list the output from the commands youve given me.

Code:
ss -patn | grep -i listen
yields:
Code:
LISTEN     129    128          *:8006                     *:*                   users:(("pveproxy worker",pid=8344,fd=6),("pveproxy worker",pid=8343,fd=6),("pveproxy worker",pid=8342,fd=6),("pveproxy",pid=2429,fd=6))
LISTEN     0      64           *:33574                    *:*
LISTEN     0      128    127.0.0.1:27017                    *:*                   users:(("mongod",pid=2077,fd=9))
LISTEN     0      128          *:34537                    *:*                   users:(("rpc.mountd",pid=2241,fd=13))
LISTEN     0      50           *:139                      *:*                   users:(("smbd",pid=2373,fd=35))
LISTEN     0      128    127.0.0.1:27117                    *:*                   users:(("mongod",pid=5431,fd=9))
LISTEN     0      128          *:52270                    *:*                   users:(("rpc.mountd",pid=2241,fd=9))
LISTEN     0      128          *:111                      *:*                   users:(("rpcbind",pid=1945,fd=8))
LISTEN     0      128    127.0.0.1:28017                    *:*                   users:(("mongod",pid=2077,fd=11))
LISTEN     0      128    127.0.0.1:85                       *:*                   users:(("pvedaemon worke",pid=27282,fd=6),("pvedaemon worke",pid=22144,fd=6),("pvedaemon worke",pid=2421,fd=6),("pvedaemon",pid=2419,fd=6))
LISTEN     0      128          *:22                       *:*                   users:(("sshd",pid=2076,fd=3))
LISTEN     0      128          *:3128                     *:*                   users:(("spiceproxy work",pid=2437,fd=6),("spiceproxy",pid=2436,fd=6))
LISTEN     0      50           *:445                      *:*                   users:(("smbd",pid=2373,fd=34))
LISTEN     0      128          *:48830                    *:*                   users:(("rpc.mountd",pid=2241,fd=17))
LISTEN     0      5            *:3551                     *:*                   users:(("apcupsd",pid=7245,fd=5))
LISTEN     0      128          *:37120                    *:*                   users:(("rpc.statd",pid=2026,fd=9))
LISTEN     0      64           *:2049                     *:*
LISTEN     0      100         :::8843                    :::*                   users:(("java",pid=2321,fd=67))
LISTEN     0      50          :::139                     :::*                   users:(("smbd",pid=2373,fd=33))
LISTEN     0      128         :::37390                   :::*                   users:(("rpc.statd",pid=2026,fd=11))
LISTEN     0      128         :::111                     :::*                   users:(("rpcbind",pid=1945,fd=11))
LISTEN     0      128         :::80                      :::*                   users:(("apache2",pid=5610,fd=4),("apache2",pid=5609,fd=4),("apache2",pid=5605,fd=4))
LISTEN     0      100         :::8880                    :::*                   users:(("java",pid=2321,fd=68))
LISTEN     0      100         :::8080                    :::*                   users:(("java",pid=2321,fd=65))
LISTEN     0      64          :::35666                   :::*
LISTEN     0      128         :::44051                   :::*                   users:(("rpc.mountd",pid=2241,fd=19))
LISTEN     0      128         :::34070                   :::*                   users:(("rpc.mountd",pid=2241,fd=11))
LISTEN     0      128         :::22                      :::*                   users:(("sshd",pid=2076,fd=4))
LISTEN     0      128         :::41433                   :::*                   users:(("rpc.mountd",pid=2241,fd=15))
LISTEN     0      100         :::8443                    :::*                   users:(("java",pid=2321,fd=66))
LISTEN     0      50          :::445                     :::*                   users:(("smbd",pid=2373,fd=32))
LISTEN     0      64          :::2049                    :::*

Code:
dpkg -l | egrep "pve-manager|apache2"
Yields:
Code:
ii  apache2                              2.4.10-10+deb8u4               amd64        Apache HTTP Server
ii  apache2-bin                          2.4.10-10+deb8u4               amd64        Apache HTTP Server (modules and other binary files)
ii  apache2-data                         2.4.10-10+deb8u4               all          Apache HTTP Server (common files)
ii  apache2-utils                        2.4.10-10+deb8u4               amd64        Apache HTTP Server (utility programs for web servers)

lastly, when I attempt to type:
Code:
pveversion -v
I get:
Code:
-bash: pveversion: command not found

Thanks for helping me through this, I really appreciate it.
 
Udo, thank you for your reply. Hopefully I can get this figured out. I will list the output from the commands youve given me.

Code:
ss -patn | grep -i listen
yields:
Code:
LISTEN     129    128          *:8006                     *:*                   users:(("pveproxy worker",pid=8344,fd=6),("pveproxy worker",pid=8343,fd=6),("pveproxy worker",pid=8342,fd=6),("pveproxy",pid=2429,fd=6))
LISTEN     0      64           *:33574                    *:*
LISTEN     0      128    127.0.0.1:27017                    *:*                   users:(("mongod",pid=2077,fd=9))
LISTEN     0      128          *:34537                    *:*                   users:(("rpc.mountd",pid=2241,fd=13))
LISTEN     0      50           *:139                      *:*                   users:(("smbd",pid=2373,fd=35))
LISTEN     0      128    127.0.0.1:27117                    *:*                   users:(("mongod",pid=5431,fd=9))
LISTEN     0      128          *:52270                    *:*                   users:(("rpc.mountd",pid=2241,fd=9))
LISTEN     0      128          *:111                      *:*                   users:(("rpcbind",pid=1945,fd=8))
LISTEN     0      128    127.0.0.1:28017                    *:*                   users:(("mongod",pid=2077,fd=11))
LISTEN     0      128    127.0.0.1:85                       *:*                   users:(("pvedaemon worke",pid=27282,fd=6),("pvedaemon worke",pid=22144,fd=6),("pvedaemon worke",pid=2421,fd=6),("pvedaemon",pid=2419,fd=6))
LISTEN     0      128          *:22                       *:*                   users:(("sshd",pid=2076,fd=3))
LISTEN     0      128          *:3128                     *:*                   users:(("spiceproxy work",pid=2437,fd=6),("spiceproxy",pid=2436,fd=6))
LISTEN     0      50           *:445                      *:*                   users:(("smbd",pid=2373,fd=34))
LISTEN     0      128          *:48830                    *:*                   users:(("rpc.mountd",pid=2241,fd=17))
LISTEN     0      5            *:3551                     *:*                   users:(("apcupsd",pid=7245,fd=5))
LISTEN     0      128          *:37120                    *:*                   users:(("rpc.statd",pid=2026,fd=9))
LISTEN     0      64           *:2049                     *:*
LISTEN     0      100         :::8843                    :::*                   users:(("java",pid=2321,fd=67))
LISTEN     0      50          :::139                     :::*                   users:(("smbd",pid=2373,fd=33))
LISTEN     0      128         :::37390                   :::*                   users:(("rpc.statd",pid=2026,fd=11))
LISTEN     0      128         :::111                     :::*                   users:(("rpcbind",pid=1945,fd=11))
LISTEN     0      128         :::80                      :::*                   users:(("apache2",pid=5610,fd=4),("apache2",pid=5609,fd=4),("apache2",pid=5605,fd=4))
LISTEN     0      100         :::8880                    :::*                   users:(("java",pid=2321,fd=68))
LISTEN     0      100         :::8080                    :::*                   users:(("java",pid=2321,fd=65))
LISTEN     0      64          :::35666                   :::*
LISTEN     0      128         :::44051                   :::*                   users:(("rpc.mountd",pid=2241,fd=19))
LISTEN     0      128         :::34070                   :::*                   users:(("rpc.mountd",pid=2241,fd=11))
LISTEN     0      128         :::22                      :::*                   users:(("sshd",pid=2076,fd=4))
LISTEN     0      128         :::41433                   :::*                   users:(("rpc.mountd",pid=2241,fd=15))
LISTEN     0      100         :::8443                    :::*                   users:(("java",pid=2321,fd=66))
LISTEN     0      50          :::445                     :::*                   users:(("smbd",pid=2373,fd=32))
LISTEN     0      64          :::2049                    :::*

Code:
dpkg -l | egrep "pve-manager|apache2"
Yields:
Code:
ii  apache2                              2.4.10-10+deb8u4               amd64        Apache HTTP Server
ii  apache2-bin                          2.4.10-10+deb8u4               amd64        Apache HTTP Server (modules and other binary files)
ii  apache2-data                         2.4.10-10+deb8u4               all          Apache HTTP Server (common files)
ii  apache2-utils                        2.4.10-10+deb8u4               amd64        Apache HTTP Server (utility programs for web servers)

lastly, when I attempt to type:
Code:
pveversion -v
I get:
Code:
-bash: pveversion: command not found

Thanks for helping me through this, I really appreciate it.
Hi,
pveproxy is still running on port 8006, but you have deinstalled the pve-manager package!

Has you deinstalled othe pve-packages?
How looks the output of
Code:
dpkg -l | grep pve
Install the pve-manager again
Code:
apt-get install pve-manager
Udo
 
Hi,
pveproxy is still running on port 8006, but you have deinstalled the pve-manager package!

Has you deinstalled othe pve-packages?
How looks the output of
Code:
dpkg -l | grep pve
Install the pve-manager again
Code:
apt-get install pve-manager
Udo


the output of
Code:
dpkg -l | grep pve
yields:
Code:
ii  cgmanager                            0.39-pve1                      amd64        Central cgroup manager daemon
ii  corosync-pve                         2.3.5-2                        amd64        Standards-based cluster framework (daemon and modules)
ii  dmeventd                             2:1.02.93-pve2                 amd64        Linux Kernel Device Mapper event daemon
ii  dmsetup                              2:1.02.93-pve2                 amd64        Linux Kernel Device Mapper userspace library
ii  libcgmanager0:amd64                  0.39-pve1                      amd64        Central cgroup manager daemon (client library)
ii  libcorosync4-pve                     2.3.5-2                        amd64        Standards-based cluster framework (libraries)
ii  libdevmapper-event1.02.1:amd64       2:1.02.93-pve2                 amd64        Linux Kernel Device Mapper event support library
ii  libdevmapper1.02.1:amd64             2:1.02.93-pve2                 amd64        Linux Kernel Device Mapper userspace library
ii  liblvm2app2.2:amd64                  2.02.116-pve2                  amd64        LVM2 application library
ii  liblvm2cmd2.02:amd64                 2.02.116-pve2                  amd64        LVM2 command library
ii  libpve-access-control                4.0-10                         amd64        Proxmox VE access control library
ii  libpve-common-perl                   4.0-41                         all          Proxmox VE base library
ii  libpve-storage-perl                  4.0-38                         all          Proxmox VE storage management library
ii  lvm2                                 2.02.116-pve2                  amd64        Linux Logical Volume Manager
ii  lxc-pve                              1.1.5-5                        amd64        Linux containers usersapce tools
ii  lxcfs                                0.13-pve1                      amd64        LXC userspace filesystem
ii  novnc-pve                            0.5-5                          amd64        HTML5 VNC client
ii  pve-cluster                          4.0-29                         amd64        Cluster Infrastructure for Proxmox Virtual Environment
ii  pve-container                        1.0-32                         all          Proxmox VE Container management tool
ii  pve-firewall                         2.0-14                         amd64        Proxmox VE Firewall
ii  pve-firmware                         1.1-7                          all          Binary firmware code for the pve-kernel
ii  pve-ha-manager                       1.0-14                         amd64        Proxmox VE HA Manager
ii  pve-kernel-4.2.6-1-pve               4.2.6-26                       amd64        The Proxmox PVE Kernel Image
ii  pve-libspice-server1                 0.12.5-2                       amd64        SPICE remote display system server library
ii  pve-qemu-kvm                         2.4-17                         amd64        Full virtualization on x86 hardware
ii  spl                                  0.6.5-pve2~jessie              amd64        Solaris Porting Layer user-space utilities for Linux

when I try:
Code:
apt-get install pve-manager
I get:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-manager

I'm not sure how this might have happened?
 
when I try:
Code:
apt-get install pve-manager
I get:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-manager

I'm not sure how this might have happened?
Hi,
sounds, that you don't have the "right" repository.list enabled.

After an install the enterprise-repository only is enabled - which is only accessible with an subscription-key.

Add the pve-no-subscription-list:
Code:
echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription
apt-get update
apt-get install pve-manager
apt-get dist-upgrade
reboot
Udo
 
Hi,
sounds, that you don't have the "right" repository.list enabled.

After an install the enterprise-repository only is enabled - which is only accessible with an subscription-key.

Add the pve-no-subscription-list:
Code:
echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription
apt-get update
apt-get install pve-manager
apt-get dist-upgrade
reboot
Udo


Udo, THANK YOU SO MUCH. This has solved my problem and I'm able to access the web server again. I'd have never figured this out without your help. Thank you again. I'm not sure how I did this, but I'm grateful its accessible again.
 

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!