[SOLVED] Problem while installing Proxmox

  • Thread starter Thread starter Hupfi10
  • Start date Start date
H

Hupfi10

Guest
Hello Proxmox Community,

i'm receiving the following problem after i installed proxmox ve and want to login via webbrowser:

Fehler 102 (net::ERR_CONNECTION_REFUSED): Server hat die Verbindung abgelehnt.
English:
Fail 102 (net::ERR_CONNECTION_REFUSED): Server refused the connection.


Pls help

A other question, what username and pw should i use for citadel-server ???

Thanks
 
Last edited by a moderator:
I wonder who installed your server. We have several users here with citadel installed, very strange as Proxmox VE does not use this package. Why do you have citadel on your Proxmox VE server?
 
When i run the following command

aptitude install proxmox-ve-2.6.32
The following NEW packages will be installed:
apache2{a} apache2-mpm-prefork{a} apache2-utils{a} apache2.2-bin{a}
apache2.2-common{a} bridge-utils{a} ca-certificates{a} ceph-common{a}
citadel-mta{a} citadel-server{a} clvm{a} corosync-pve{a} cstream{a}
db4.6-util{a} defoma{a} fancontrol{a} fence-agents-pve{a} file{a}
fontconfig{a} fontconfig-config{a} fuse-utils{a} gawk{a} ifenslave-2.6{a}
iputils-arping{a} libaio1{a} libapache2-mod-apreq2{a}
libapache2-mod-perl2{a} libapache2-reload-perl{a}
libapache2-request-perl{a} libapr1{a} libapreq2{a} libaprutil1{a}
libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a} libasound2{a}
libauthen-pam-perl{a} libbsd-resource-perl{a} libcairo2{a} libcitadel2{a}
libcommon-sense-perl{a} libconvert-asn1-perl{a} libcorosync4-pve{a}
libcrypt-openssl-bignum-perl{a} libcrypt-openssl-random-perl{a}
libcrypt-openssl-rsa-perl{a} libcurl3{a} libcurl3-gnutls{a} libdatrie1{a}
libdb4.6{a} libdbi0{a} libdevel-cycle-perl{a} libdevel-symdump-perl{a}
libdigest-hmac-perl{a} libdigest-sha1-perl{a} libdirectfb-1.2-9{a}
libevent-1.4-2{a} libexpat1{a} libfile-readbackwards-perl{a}
libfile-sync-perl{a} libfilesys-df-perl{a} libfont-afm-perl{a}
libfont-freetype-perl{a} libfontconfig1{a} libfontenc1{a} libfuse2{a}
libgcrypt11{a} libglib2.0-0{a} libglib2.0-data{a} libgnutls26{a}
libgpg-error0{a} libgssglue1{a} libhtml-format-perl{a}
libhtml-parser-perl{a} libhtml-tagset-perl{a} libhtml-tree-perl{a}
libical0{a} libidn11{a} libintl-perl{a} libio-multiplex-perl{a}
libio-socket-ssl-perl{a} libio-stringy-perl{a} libiscsi1{a} libjpeg62{a}
libjson-perl{a} libjson-xs-perl{a} libldap-2.4-2{a}
liblinux-inotify2-perl{a} liblockfile-simple-perl{a} liblog-agent-perl{a}
liblzo2-2{a} libmagic1{a} libmailtools-perl{a} libnet-dns-perl{a}
libnet-ip-perl{a} libnet-ldap-perl{a} libnet-libidn-perl{a}
libnet-snmp-perl{a} libnet-ssleay-perl{a} libnet-telnet-perl{a}
libnfsidmap2{a} libnspr4-0d{a} libnss3-1d{a} libopenais3-pve{a}
libopenipmi0{a} libpango1.0-0{a} libpango1.0-common{a} libpcre3{a}
libperl5.10{a} libpixman-1-0{a} libpng12-0{a} libpve-access-control{a}
libpve-common-perl{a} libpve-storage-perl{a} libqb{a} librados2{a}
librbd1{a} librpcsecgss3{a} librrd4{a} librrds-perl{a} libsasl2-2{a}
libsasl2-modules{a} libsdl1.2debian{a} libsdl1.2debian-alsa{a}
libsensors4{a} libsgutils2-2{a} libsieve2-1{a} libsnmp-base{a}
libsnmp15{a} libssh2-1{a} libstring-shellquote-perl{a} libsvga1{a}
libsysfs2{a} libtasn1-3{a} libterm-readline-gnu-perl{a} libthai-data{a}
libthai0{a} libtimedate-perl{a} libts-0.0-0{a} liburi-perl{a}
libvncserver0{a} libwww-perl{a} libx86-1{a} libxcb-render-util0{a}
libxcb-render0{a} libxfont1{a} libxft2{a} libxml-parser-perl{a}
libxml2{a} libxml2-utils{a} libxrender1{a} libxslt1.1{a} lm-sensors{a}
lzop{a} mime-support{a} nfs-common{a} openais-pve{a} openipmi{a}
openssl{a} perl-suid{a} portmap{a} proxmox-ve-2.6.32 pve-cluster{a}
pve-firmware{ab} pve-manager{a} pve-qemu-kvm{a} python{a}
python-central{a} python-minimal{a} python-openssl{a} python-pexpect{a}
python-pycurl{a} python-support{a} python2.6{a} python2.6-minimal{a}
qemu-server{a} redhat-cluster-pve{a} resource-agents-pve{a} rrdcached{a}
sg3-utils{a} sgml-base{a} shared-mime-info{a} snmp{a} sqlite3{a}
ssl-cert{a} telnet{a} tsconf{a} ttf-dejavu{a} ttf-dejavu-core{a}
ttf-dejavu-extra{a} vlan{a} vncterm{a} vzctl{a} vzquota{a}
x-ttcidfont-conf{a} x11-common{a} xfonts-encodings{a} xfonts-utils{a}
xml-core{a} xsltproc{a}
0 packages upgraded, 199 newly installed, 0 to remove and 0 not upgraded.
Need to get 70.8 MB of archives. After unpacking 154 MB will be used.
The following packages have unmet dependencies:
pve-firmware: Conflicts: firmware-linux-nonfree but 0.28+squeeze1 is installed.
Conflicts: firmware-realtek but 0.28+squeeze1 is installed.
The following actions will resolve these dependencies:


Remove the following packages:
1) firmware-linux-nonfree
2) firmware-realtek






Accept this solution? [Y/n/q/?]

What should i do ?
 
Setting up pve-manager (2.1-13) ...
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Restarting web server: apache2[Sat Aug 04 14:50:04 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
... waiting [Sat Aug 04 14:50:05 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
.
Setting up proxmox-ve-2.6.32 (2.1-72) ...
installing proxmox release key: OK
Processing triggers for python-support ...


What does:
Restarting web server: apache2[Sat Aug 04 14:50:04 2012] [warn] NameVirtualHost *:80 has no VirtualHosts
... waiting [Sat Aug 04 14:50:05 2012] [warn] NameVirtualHost *:80 has no VirtualHosts

Mean ??
 
Okay,

i have another idea why it dont work, but im not sure ^^

So....

After i install my php daemon wich is sending the commands for openvz (vzctl ...) it dont work :(
The Daemon edits the following files:
/etc/sysctl.conf
Code:
# On Hardware Node we generally need 
# packet forwarding enabled and proxy arp disabled  
net.ipv4.conf.default.forwarding=1 
net.ipv4.conf.default.proxy_arp = 1 
net.ipv4.ip_forward=1 
# Enables source route verification 
net.ipv4.conf.all.rp_filter = 1 
# Enables the magic-sysrq 
key kernel.sysrq = 1 
# TCP Explict Congestion Notification 
#net.ipv4.tcp_ecn = 0 
# we do not want all our interfaces to send redirects 
net.ipv4.conf.default.send_redirects = 1 
net.ipv4.conf.all.send_redirects = 0

and replace in /etc/vz/vz.conf the following lines:

Code:
## IPv4 iptables kernel modules
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss 
ipt_ttl ipt_length"

in

Code:
IPTABLES="ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter 
iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp"


Could that be a problem ?

Another Problem:

when i like to start/restart apache2 (/etc/init.d/apache2)
i get the following fail:

Code:
root@Debian-60-squeeze-64-LAMP /etc/apache2 # /etc/init.d/apache2 start
Starting web server: apache2Warning: DocumentRoot [/usr/share/pve-manager/root] does not exist
Action 'start' failed.
The Apache error log may have more information.
 failed!

Best regards
 
Sorry for all that trobule :)

I found my mistake ....
The daemon is php based, so it move the root directory from apache.

Thanks alot for your help :)


Kind Regards
Markus
 
Why do you have citadel on your Proxmox VE server?

I realize this thread is old, but apparantly nobody ever answered your question. The reason for that is that the proxmox-ve-2.6.32 package requires the virtual package mail-transport-agent to be installed, which is not installed on debian-minimal. However, I have no idea why debian/apt defaults to citadel-mta to satisfy this requirement instead of postfix.

also, issuing "aptitude install postfix" automatically removes citadel-mta, so all you have to do afterwards to get rid of citadel is "aptitude purge citadel-server libcitadel2"


To summarize: proxmox-ve-2.6.32 depends on virtual package mail-transport-agent. debian-minimal DOES NOT HAVE AN MTA INSTALLED so apt (apparently) chooses the last entry in the virtual package, which happens to be citadel-mta.

May I suggest a fix for this problem also?

create your own virtual package of MTAs like pve-recommended-mta and have it only contain recommended MTAs (postfix, maybe sendmail, maybe exim4, maybe esmtp?).
proxmox-ve-2.6.32 would then depend on this new virtual package instead of mail-transport-agent.
 
Last edited: