PDA

View Full Version : ISPConfig and OpenVZ


Elfchen
20th October 2008, 23:41
I have already installed ISPConfig on 7 debian and SuSE servers without any problems.

Now I have tried on OpenVZ debian.

All works will till shortly before the end:
./setup2: line 1090: mysql_config: No such file or directory
./setup2: line 1091: httpd: No such file or directory
./setup2: line 1092: httpd2: No such file or directory
./setup2: line 1093: httpd2: No such file or directory
./setup2: line 1100: ip_addresses: No such file or directory
./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
chmod: cannot access `/home/admispconfig/ispconfig/tools/suphp/usr/bin/php-wrapper': No such file or directory
./setup2: line 1119: /home/admispconfig/ispconfig/sysconf.txt: No such file or directory
./setup2: line 1120: /home/admispconfig/ispconfig/sysconf.txt: No such file or directory
Neustart einiger Dienste...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
apache2: Could not reliably determine the server's fully qualified domain name, using 88.198.230.220 for ServerName
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Stopping Postfix Mail Transport Agent: postfix.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Starting Postfix Mail Transport Agent: postfixchdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Stopping ftp server: proftpd.
Starting ftp server: proftpd - IPv6 getaddrinfo 'ix-kpn' error: Name or service not known
.
./setup2: line 1163: /etc/init.d/ispconfig_server: No such file or directory
Herzlichen Glueckwunsch! Ihr ISPConfig-System ist jetzt installiert. Falls Sie Quota nachinstalliert haben, fuehren Sie noch die in der Installationsanleitung beschriebenen Schritte durch. Ansonsten ist Ihr System jetzt ohne Reboot einsatzbereit.
Bitte gehen Sie mit Ihrem Browser auf

https://meinhost.meinedomain.de:81

und loggen sich ein:
Benutzername: admin
Passwort: admin

./setup2: line 1189: cd: /home/rob/install_ispconfig/compile_aps/../..: No such file or directory

So apache is not working - no panel - why I cant install on OpenVZ?

till
21st October 2008, 07:34
There must be errors above the lines that you posted. Please post the first error.

guardian
21st October 2008, 08:30
Try to disable second level quota and install again
QUOTAUGIDLIMIT

Elfchen
21st October 2008, 13:24
Try to disable second level quota and install again
QUOTAUGIDLIMIT

and how to do that, please?

A bit confused - HowTo tells me I should install quota. Really quota or vzquota?

Then I should edit /etc/fstab - but on a new VZ this file shows:

# UNCONFIGURED FSTAB FOR BASE SYSTEM

There is nothing to edit there.

df shows:

Filesystem 1K-blocks Used Available Use% Mounted on
simfs 12582912 315464 12267448 3% /
tmpfs 128376 0 128376 0% /lib/init/rw
tmpfs 128376 0 128376 0% /dev/shm

So should I go on with quota or vzquota with or without editing this file and if I need to edit - what must be inside the file?

Thank you for your very fast response.

guardian
21st October 2008, 13:36
If you don't know I assume that second level quota is not enabled in the first place. So maybe the problem is with the resources for the VM. Please post your openvz conf file for the vm in which you are installing ispconfig.

Elfchen
21st October 2008, 14:45
Thanks. I am using the standard OpenVZ settings without any modification:

# Copyright (C) 2000-2007 SWsoft. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#

ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
KMEMSIZE="367001600:419430400"
LOCKEDPAGES="256:256"
PRIVVMPAGES="65536:69632"
SHMPAGES="21504:21504"
NUMPROC="240:240"
PHYSPAGES="0:2147483647"
VMGUARPAGES="33792:2147483647"
OOMGUARPAGES="26112:2147483647"
NUMTCPSOCK="360:360"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="360:360"
DCACHESIZE="3409920:3624960"
NUMFILE="9312:9312"
AVNUMPROC="180:180"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="12582912:15728640"
DISKINODES="200000:220000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"


VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-4.0-i386-minimal"
ORIGIN_SAMPLE="vps.basic"
HOSTNAME="ichbineinserver.einedomain.com"
IP_ADDRESS="123.123.123.123"
NAMESERVER="123.123.123.2 123.123.123.3 123.123.123.4"

Already made apt-get update, apt-get upgrade in container and updated to latest debian releases. What to do with the qouta-section in the perfect setup howto, when I miss the entries inside OpenVZ?

Susi

@till

found during step 6 on howto (php installation):

Richte libx11-6 ein (1.0.3-7) ...
/dev/mem: Permission denied

Richte libsensors3 ein (2.10.1-3) ...
/sbin/MAKEDEV: warning: can't read /proc/devices

and I needed to skip the quoata step, cause I don´t have requested files or entries.

Elfchen
21st October 2008, 16:51
Installation errors:

virtual memory exhausted: Cannot allocate memory
make: *** [ext/date/lib/parse_date.lo] Fehler 1
ERROR: Could not make PHP
cd: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für âbinaries/aps.tar.gzâ nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für âbinaries/spamassassin.tar.gzâ nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für âbinaries/uudeview.tar.gzâ nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für âbinaries/clamav.tar.gzâ nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für âbinaries/cronologâ nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für âbinaries/cronosplitâ nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für âbinaries/ispconfig_tcpserverâ nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für âbinaries/zipâ nicht möglich: Datei oder Verzeichnis nicht gefunden
mv: Aufruf von stat für âbinaries/unzipâ nicht möglich: Datei oder Verzeichnis nicht gefunden
tar: spamassassin.tar.gz: Kann open nicht ausführen: Datei oder Verzeichnis nicht gefunden
tar: Nicht behebbarer Fehler: Programmabbruch.
tar: Child returned status 2
tar: Fehler beim Beenden, verursacht durch vorhergehende Fehler.
mv: Aufruf von stat für âspamassassinâ nicht möglich: Datei oder Verzeichnis nicht gefunden
tar: uudeview.tar.gz: Kann open nicht ausführen: Datei oder Verzeichnis nicht gefunden
tar: Nicht behebbarer Fehler: Programmabbruch.
tar: Child returned status 2
tar: Fehler beim Beenden, verursacht durch vorhergehende Fehler.
mv: Aufruf von stat für âuudeviewâ nicht möglich: Datei oder Verzeichnis nicht gefunden
tar: clamav.tar.gz: Kann open nicht ausführen: Datei oder Verzeichnis nicht gefunden
tar: Nicht behebbarer Fehler: Programmabbruch.
tar: Child returned status 2
tar: Fehler beim Beenden, verursacht durch vorhergehende Fehler.
mv: Aufruf von stat für âclamavâ nicht möglich: Datei oder Verzeichnis nicht gefunden
tar: aps.tar.gz: Kann open nicht ausführen: Datei oder Verzeichnis nicht gefunden
tar: Nicht behebbarer Fehler: Programmabbruch.
tar: Child returned status 2
tar: Fehler beim Beenden, verursacht durch vorhergehende Fehler.
mv: Aufruf von stat für âispconfig_tmpâ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für âdist.infoâ nicht möglich: Datei oder Verzeichnis nicht gefunden
Alle Voraussetzungen erfuellt.
Here we go...
chmod: Zugriff auf â./install.phpâ nicht möglich: Datei oder Verzeichnis nicht gefunden
Wie heisst der MySQL-Server?

...

Ihre Wahl: 1

./setup2: line 1090: mysql_config: Datei oder Verzeichnis nicht gefunden
./setup2: line 1091: httpd: Datei oder Verzeichnis nicht gefunden
./setup2: line 1092: httpd2: Datei oder Verzeichnis nicht gefunden
./setup2: line 1093: httpd2: Datei oder Verzeichnis nicht gefunden
./setup2: line 1100: ip_addresses: Datei oder Verzeichnis nicht gefunden
./setup2: line 1105: /root/ispconfig/php/php: Datei oder Verzeichnis nicht gefunden
./setup2: line 1106: /root/ispconfig/dist.info: Datei oder Verzeichnis nicht gefunden
chmod: Zugriff auf â/home/admispconfig/ispconfig/tools/suphp/usr/bin/php-wrapperâ nicht möglich: Datei oder Verzeichnis nicht gefunden
./setup2: line 1119: /home/admispconfig/ispconfig/sysconf.txt: Datei oder Verzeichnis nicht gefunden
./setup2: line 1120: /home/admispconfig/ispconfig/sysconf.txt: Datei oder Verzeichnis nicht gefunden
Neustart einiger Dienste...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
Stopping Postfix Mail Transport Agent: postfix.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
Starting Postfix Mail Transport Agent: postfixchdir: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
.
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
Stopping ftp server: proftpd.
Starting ftp server: proftpd.
./setup2: line 1163: /etc/init.d/ispconfig_server: Datei oder Verzeichnis nicht gefunden
Herzlichen Glueckwunsch! Ihr ISPConfig-System ist jetzt installiert. Falls Sie Quota nachinstalliert haben, fuehren Sie noch die in der Installationsanleitung beschriebenen Schritte durch. Ansonsten ist Ihr System jetzt ohne Reboot einsatzbereit.
Bitte gehen Sie mit Ihrem Browser auf

https://einserver.einedomain.de:81

und loggen sich ein:
Benutzername: admin
Passwort: admin

./setup2: line 1189: cd: /home/susi/install_ispconfig/compile_aps/../..: Datei oder Verzeichnis nicht gefunden

Already tried to add another 100 MB of RAM - same result.

What happens here?

Is maybe ISPConfig incompatible with OpenVZ?

falko
21st October 2008, 18:34
What's the output of
cat /proc/user_beancounters
in the vm?

Elfchen
21st October 2008, 18:56
Hi Falko.

Here is the VM output (I try to install on VM because my ISPConfig get always hacked by an unsecure PHP script and hacker is possible to open an SSH via PHP. I need to find out what he did - this is why I use now VM instead of pure debian):

g# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
123: kmemsize 3804011 4859022 471859200 524288000 0
lockedpages 0 8 256 256 0
privvmpages 49133 65527 65536 69632 2
shmpages 782 1118 21504 21504 0
dummy 0 0 0 0 0
numproc 54 74 240 240 0
physpages 10092 26192 0 2147483647 0
vmguarpages 0 0 33792 2147483647 0
oomguarpages 10092 26192 26112 2147483647 0
numtcpsock 19 23 360 360 0
numflock 12 18 188 206 0
numpty 1 1 16 16 0
numsiginfo 1 6 256 256 0
tcpsndbuf 214272 220968 1720320 2703360 0
tcprcvbuf 212992 380392 1720320 2703360 0
othersockbuf 154008 192648 1126080 2097152 0
dgramrcvbuf 0 13392 262144 262144 0
numothersock 110 127 360 360 0
dcachesize 0 0 3409920 3624960 0
numfile 1303 1729 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 128 128 0

falko
22nd October 2008, 12:51
privvmpages 49133 65527 65536 69632 2Try to increase the value of PRIVVMPAGES in the vm configuration.

Elfchen
23rd October 2008, 01:06
which value would you suggest, cause the engine has only 512 MB RAM?

falko
23rd October 2008, 16:58
Double the values in
PRIVVMPAGES="65536:69632"
and try again.

Elfchen
28th October 2008, 22:12
Now installation was successful.

The only error I saw during installation was:

/bin/sh /home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/mbstring/ -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/ -DPHP_ATOM_INC -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/include -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/main -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6 -I/root/ispconfig/openssl/include -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/date/lib -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/oniguruma -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/libmbfl -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/libmbfl/mbfl -I/root/ispconfig/libmcrypt/include -I/usr/include/mysql -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/TSRM -I/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/Zend -I/usr/include -g -O2 -prefer-non-pic -c /home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/mbstring.c -o ext/mbstring/mbstring.lo
/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/mbstring.c:152: warning: initialization discards qualifiers from pointer target type
/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/mbstring.c:153: warning: initialization discards qualifiers from pointer target type
/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/mbstring.c:154: warning: initialization discards qualifiers from pointer target type
/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/mbstring.c:155: warning: initialization discards qualifiers from pointer target type
/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/mbstring.c:156: warning: initialization discards qualifiers from pointer target type
/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/mbstring.c:157: warning: initialization discards qualifiers from pointer target type
/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/mbstring.c:158: warning: initialization discards qualifiers from pointer target type
/home/ichderserver/install_ispconfig/compile_aps/php-5.2.6/ext/mbstring/mbstring.c:159: warning: initialization discards qualifiers from pointer target type


Do I need to reinstall or can this error be ignored?

Thanks for your assistance.

till
29th October 2008, 09:19
Thats just a wrning and not a error and can be ignored.

Elfchen
29th October 2008, 15:00
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-10-29 14:53 CET
Interesting ports on localhost.localdomain (127.0.0.1):
Not shown: 1667 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
81/tcp open hosts2-ns
110/tcp open pop3
143/tcp open imap
443/tcp open https
953/tcp open rndc
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql

Nmap finished: 1 IP address (1 host up) scanned in 0.318 second

Now my next problem is, that I cant reach adminpanel on https://<ip>:81 from outside.

When I try it with lynx at localhost it works ...

How to solve that?

Thanks.
Susi

guardian
29th October 2008, 15:22
Is there any firewall between ispconfig server and internet?
Are you using a public IP address on ispconfig server?

Elfchen
29th October 2008, 15:32
No. No firewall and public IP.

When I call the ip without port 81 I get the standard apache site:

http://<ip>/apache2-default/

It works!

Elfchen
29th October 2008, 17:44
tried to reinstall and got following errors:

Alle Voraussetzungen erfuellt.
Here we go...
chmod: Zugriff auf »./install.php« nicht möglich: Datei oder Verzeichnis nicht gefunden

./setup2: line 1090: mysql_config: Datei oder Verzeichnis nicht gefunden
./setup2: line 1091: httpd: Datei oder Verzeichnis nicht gefunden
./setup2: line 1092: httpd2: Datei oder Verzeichnis nicht gefunden
./setup2: line 1093: httpd2: Datei oder Verzeichnis nicht gefunden
./setup2: line 1100: ip_addresses: Datei oder Verzeichnis nicht gefunden
./setup2: line 1105: /root/ispconfig/php/php: Datei oder Verzeichnis nicht gefunden
./setup2: line 1106: /root/ispconfig/dist.info: Datei oder Verzeichnis nicht gefunden
Neustart einiger Dienste...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
./setup2: line 1143: [: ==: unary operator expected
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
Shutting down ISPConfig system...
/etc/init.d/ispconfig_server: line 66: /root/ispconfig/httpd/bin/apachectl: Datei oder Verzeichnis nicht gefunden
ISPConfig system stopped!
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Datei oder Verzeichnis nicht gefunden
Starting ISPConfig system...
/etc/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: Datei oder Verzeichnis nicht gefunden
/etc/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: Datei oder Verzeichnis nicht gefunden
ISPConfig system is now up and running!
Herzlichen Glueckwunsch! Ihr ISPConfig-System ist jetzt installiert. Falls Sie Quota nachinstalliert haben, fuehren Sie noch die in der Installationsanleitung beschriebenen Schritte durch. Ansonsten ist Ihr System jetzt ohne Reboot einsatzbereit.

./setup2: line 1189: cd: /home/ichbineinserver/install_ispconfig/compile_aps/../..: Datei oder Verzeichnis nicht gefunden

Now I have reinstalled whole VZ-engine.

Same result - installation without error, but on https://<ip>:81 I get nothing (site not accessable).

When I try lynx localhost:81 I get apache standard-page "It works!".

What to do now? (can it result on the fact that VZ uses venet0:0 instead of eth0 ? Maybe its blocked by ISPconfig itself anywhere ...

... now ispconfig seems up and running, but I can not execute panel on port 81.

When I call localhost:81 I see apache standard page "It works!" When I try external IP and port 81 site is not accessable. So I installed webmin to see if maybe ports are blocked, but webmin works well - so what to do now? Why adminpanel is not shown on 81? Why only "It works!" standard page is shown - as I remember there should be shown a page with "shared IP info".

Hope anybody can help.

till
30th October 2008, 11:13
1) Post the output of:

netstat -tap

and:

iptables -L

2) Which internet browser did you use to connect to the ispconfig control panel?

Elfchen
30th October 2008, 14:18
~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


~# netstat -tap
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 11475/mysqld
tcp 0 0 *:webmin *:* LISTEN 10192/perl
tcp 0 0 *:ftp *:* LISTEN 7346/proftpd: (acce
tcp 0 0 ichderserver.einedomain:domain *:* LISTEN 7325/named
tcp 0 0 localhost.locald:domain *:* LISTEN 7325/named
tcp 0 0 *:smtp *:* LISTEN 13897/master
tcp 0 0 localhost.localdoma:953 *:* LISTEN 7325/named
tcp6 0 0 *:pop3 *:* LISTEN 9225/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 8173/couriertcpd
tcp6 0 0 *:www *:* LISTEN 7206/apache2
tcp6 0 0 *:81 *:* LISTEN 7206/apache2
tcp6 0 0 *:domain *:* LISTEN 7325/named
tcp6 0 0 *:ssh *:* LISTEN 9508/sshd
tcp6 0 0 *:smtp *:* LISTEN 13897/master
tcp6 0 0 ::1:953 *:* LISTEN 7325/named
tcp6 0 0 *:https *:* LISTEN 7206/apache2
tcp6 0 0 *:imaps *:* LISTEN 8187/couriertcpd
tcp6 0 0 *:pop3s *:* LISTEN 9247/couriertcpd
tcp6 0 2092 ichderserver.einedomain:ssh xxx-yyy.79-83.cus:50273 VERBUNDEN 16212/0


Opera:

Fehler!
Die Verbindung zum Server konnte nicht hergestellt werden.

Die von Ihnen aufgerufene Adresse, https://<ip>:81/, ist zurzeit nicht erreichbar. Bitte überprüfen Sie die korrekte Schreibweise der Webadresse (URL) und versuchen Sie dann die Seite neu zu laden.

Sichere Verbindung: Schwerer Fehler (552)

https://<ip>:81/

Opera konnte keine Verbindung zum Server herstellen. Der Server könnte das nicht unterstützte SSL 2 Protokol benutzen, welches als nicht sicher genug für eine sichere Kommunikation gilt. Der Besitzer der Site sollte auf TLS 1.0 oder neuer umstellen.
Stellen Sie sicher, dass eine Verbindung mit dem Internet besteht und überprüfen Sie, ob andere Programme mit derselben Verbindung funktionieren.


IE without HTTPS - only http:

automatically forwarded to:

http://<ip>:81/apache2-default/

It works!

IE:

https://<ip>:81/

Die Webseite kann nicht angezeigt werden.

Wahrscheinlichste Ursachen:
Sie haben keine Verbindung mit dem Internet hergestellt.
Es ist ein Problem mit der Website aufgetreten.
Die Adresse enthält eventuell einen Tippfehler.

Mögliche Vorgehensweise:
Diagnose von Verbindungsproblemen

Weitere Informationen


Mozilla same result.

~# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.2 1948 648 ? Ss Oct29 0:00 init [2]
root 7433 0.0 0.2 1632 564 ? Ss Oct29 0:00 /sbin/syslogd -
root 8132 0.0 0.1 1756 408 ? S Oct29 0:00 /usr/sbin/couri
root 8133 0.0 0.2 1912 596 ? S Oct29 0:00 /usr/lib/courie
root 8172 0.0 0.1 1752 332 ? S Oct29 0:00 /usr/sbin/couri
root 8173 0.0 0.2 1856 540 ? S Oct29 0:00 /usr/sbin/couri
root 8184 0.0 0.1 1752 328 ? S Oct29 0:00 /usr/sbin/couri
root 8187 0.0 0.2 1856 544 ? S Oct29 0:00 /usr/sbin/couri
root 9225 0.0 0.1 1852 504 ? S Oct29 0:00 /usr/sbin/couri
root 9226 0.0 0.1 1912 268 ? S Oct29 0:00 /usr/lib/courie
root 9227 0.0 0.1 1912 268 ? S Oct29 0:00 /usr/lib/courie
root 9228 0.0 0.1 1912 268 ? S Oct29 0:00 /usr/lib/courie
root 9229 0.0 0.1 1912 268 ? S Oct29 0:00 /usr/lib/courie
root 9230 0.0 0.1 1912 268 ? S Oct29 0:00 /usr/lib/courie
root 9232 0.0 0.1 1620 320 ? S Oct29 0:00 /usr/sbin/couri
root 9246 0.0 0.1 1752 332 ? S Oct29 0:00 /usr/sbin/couri
root 9247 0.0 0.2 1856 544 ? S Oct29 0:00 /usr/sbin/couri
root 9447 0.0 0.3 7220 824 ? Ss Oct29 0:00 /usr/sbin/sasla
root 9448 0.0 0.1 7220 368 ? S Oct29 0:00 /usr/sbin/sasla
root 9449 0.0 0.0 7220 188 ? S Oct29 0:00 /usr/sbin/sasla
root 9450 0.0 0.0 7220 188 ? S Oct29 0:00 /usr/sbin/sasla
root 9451 0.0 0.0 7220 188 ? S Oct29 0:00 /usr/sbin/sasla
root 9508 0.0 0.3 4928 952 ? Ss Oct29 0:00 /usr/sbin/sshd
root 9544 0.0 0.4 4136 1236 ? Ss Oct29 0:00 /usr/sbin/ntpd
root 11438 0.0 0.5 4536 1316 ? S Oct29 0:00 /bin/sh /usr/bi
mysql 11475 0.0 6.9 127644 17944 ? Sl Oct29 0:33 /usr/sbin/mysql
root 11476 0.0 0.2 3612 592 ? S Oct29 0:00 logger -p daemo
root 5892 0.0 0.3 4272 1012 ? Ss Oct29 0:00 /usr/sbin/cron
root 7176 0.0 0.4 4536 1260 ? S Oct29 0:10 /bin/bash /root
root 7206 0.0 4.7 36512 12240 ? Ss Oct29 0:00 /usr/sbin/apach
root 7207 0.0 0.1 1484 284 ? S Oct29 0:00 /root/ispconfig
root 7208 0.0 0.1 1492 288 ? S Oct29 0:00 /root/ispconfig
www-data 7220 0.0 2.3 36512 5924 ? S Oct29 0:00 /usr/sbin/apach
www-data 7221 0.0 2.2 36512 5868 ? S Oct29 0:00 /usr/sbin/apach
www-data 7222 0.0 2.2 36512 5864 ? S Oct29 0:00 /usr/sbin/apach
www-data 7223 0.0 2.3 36512 5908 ? S Oct29 0:00 /usr/sbin/apach
www-data 7224 0.0 2.2 36512 5904 ? S Oct29 0:00 /usr/sbin/apach
bind 7325 0.0 1.4 31156 3736 ? Ssl Oct29 0:09 /usr/sbin/named
proftpd 7346 0.0 0.5 9028 1516 ? Ss Oct29 0:00 proftpd: (accep
109 7355 0.0 0.4 2828 1100 ? Ss Oct29 0:00 /home/admispcon
www-data 7412 0.0 2.2 36512 5896 ? S Oct29 0:00 /usr/sbin/apach
root 10192 0.0 2.2 9472 5868 ? Ss Oct29 0:00 /usr/bin/perl /
root 13897 0.0 0.6 4812 1628 ? Ss Oct29 0:00 /usr/lib/postfi
postfix 13900 0.0 0.6 4856 1604 ? S Oct29 0:00 qmgr -l -t fifo
www-data 19901 0.0 2.2 36512 5888 ? S 02:01 0:00 /usr/sbin/apach
postfix 14237 0.0 0.6 4824 1572 ? S 13:19 0:00 pickup -l -t fi
postfix 15806 0.0 0.7 4876 2000 ? S 13:46 0:00 tlsmgr -l -t un
root 16212 0.0 0.9 7704 2372 ? Ss 14:08 0:00 sshd: root@pts/
root 16216 0.0 0.6 4876 1688 pts/0 Ss 14:08 0:00 -bash
root 17505 0.0 0.1 3616 488 ? S 14:20 0:00 sleep 10
root 17506 0.0 0.3 4268 940 pts/0 R+ 14:20 0:00 ps aux





:~# ifconfig
lo Protokoll:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:11071 errors:0 dropped:0 overruns:0 frame:0
TX packets:11071 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:488475 (477.0 KiB) TX bytes:488475 (477.0 KiB)

venet0 Protokoll:UNSPEC Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet Adresse:127.0.0.1 P-z-P:127.0.0.1 Bcast:0.0.0.0 Maske:255.255.255.255
UP BROADCAST PUNKTZUPUNKT RUNNING NOARP MTU:1500 Metric:1
RX packets:81210 errors:0 dropped:0 overruns:0 frame:0
TX packets:77272 errors:0 dropped:0 overruns:0 carrier:0
Kollisionen:0 Sendewarteschlangenlänge:0
RX bytes:68054055 (64.9 MiB) TX bytes:10486034 (10.0 MiB)

venet0:0 Protokoll:UNSPEC Hardware Adresse 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet Adresse:88.xxx.yyy.zzz P-z-P:88.xxx.yyy.zzz Bcast:0.0.0.0 Maske:255.255.255.255
UP BROADCAST PUNKTZUPUNKT RUNNING NOARP MTU:1500 Metric:1

Elfchen
30th October 2008, 17:26
/etc/init.d/ispconfig_server restart
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!

[Thu Oct 30 10:50:45 2008] [error] [client 69.64.36.219] script not found or unable to stat: /usr/lib/cgi-bin/adspro
[Thu Oct 30 14:12:01 2008] [error] [client 83.79.133.126] File does not exist: /var/www/favicon.ico
[Thu Oct 30 16:13:07 2008] [error] [client 74.6.22.179] File does not exist: /var/www/robots.txt
[Thu Oct 30 17:06:31 2008] [error] [client 83.79.133.126] File does not exist: /var/www/robots.txt
[Thu Oct 30 17:06:31 2008] [error] [client 83.79.133.126] File does not exist: /var/www/robots.txt
[Thu Oct 30 17:06:34 2008] [error] [client 83.79.133.126] File does not exist: /var/www/robots.txt
[Thu Oct 30 17:19:11 2008] [notice] caught SIGTERM, shutting down
[Thu Oct 30 17:19:13 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
PHP Warning: Module 'json' already loaded in Unknown on line 0
[Thu Oct 30 17:19:15 2008] [notice] Apache/2.2.3 configured -- resuming normal operations


Additional Port 81 is reachable from outside:

Discovered open port 81/tcp

error.log

[Thu Oct 30 23:25:58 2008] [error] mod_ssl: SSL handshake failed: HTTP spoken on HTTPS port; trying to send HTML error page (OpenSSL library error follows)
[Thu Oct 30 23:25:58 2008] [error] OpenSSL: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request [Hint: speaking HTTP to HTTPS port!?]


http://localhost:81 works

and

https://localhost:81 works, too

http://<ip>:81

generates the error from error log above (error 400) and

https://<ip>:81 results in a not avaialbe page without any error

access.log

[30/Oct/2008:23:25:58 +0100] "GET /mod_ssl:error:HTTP-request HTTP/1.0" 400 465

Same result when using domain-name instead of IP

Now I have deleted standard virtual apache and removed Listen port 81 from /etc/apache2/ports.

Then I was following the article:

http://www.howtoforge.com/forums/showpost.php?p=358&postcount=4

Now it works and all is accessable.