Installation bleibt stehen

Locked
Eomer
Posts: 17
Joined: Tue 26. Dec 2017, 01:19

Installation bleibt stehen

Post by Eomer »

Hi,

ich nutze ein komplett frisches Debian 9 und habe versucht KeyHelp zu installieren.
Ich habe das ganze als root user gestartet (ist das überhaupt empfehlenswert? Habe es so verstanden, dass ich es so machen muss)

Leider bleibt es einfach hier stehen:

Code: Select all

-> preparing KeyHelp installation, this may take a few minutes...

-> installing PHP...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.

-> installing KeyHelp...
usermod: no changes

Ich habe schon mehrfach abgebrochen und neugestartet, sowie den Server mal neugestartet.
Kann ich mit irgendwelchen Logs dienen, die beim Debuggen helfen?
sv3n
Posts: 103
Joined: Sat 11. Feb 2017, 23:08

Re: Installation bleibt stehen

Post by sv3n »

Eomer wrote: Tue 26. Dec 2017, 01:21 Ich habe das ganze als root user gestartet (ist das überhaupt empfehlenswert? Habe es so verstanden, dass ich es so machen muss)
Aber sicher als root installierst Du alles.
Was hast du denn im Terminal eingegeben? Deinen Code habe ich ja noch nie gesehen. Und bei Debian 9 was war das für eine Neuinstallation? Debian minimal?
Mfg Sven
Eomer
Posts: 17
Joined: Tue 26. Dec 2017, 01:19

Re: Installation bleibt stehen

Post by Eomer »

Hey,

danke für Deine Antwort.

Sorry, dass war nur der letzte Teil des Codes.

Folgenden Befehl gebe ich ein

Code: Select all

wget --no-check-certificate https://install.keyhelp.de/get_keyhelp.php -O installkeyhelp.sh; bash installkeyhelp.sh
Hier mal die komplette Ausgabe:

Code: Select all

root@server2:~# wget --no-check-certificate https://install.keyhelp.de/get_keyhe                                                                                                             lp.php -O installkeyhelp.sh; bash installkeyhelp.sh
--2017-12-26 03:45:47--  https://install.keyhelp.de/get_keyhelp.php
Resolving install.keyhelp.de (install.keyhelp.de)... 2001:1b60:2:11:913:101:be57                                                                                                             :cafe, 62.141.56.232
Connecting to install.keyhelp.de (install.keyhelp.de)|2001:1b60:2:11:913:101:be5                                                                                                             7:cafe|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/x-sh]
Saving to: ‘installkeyhelp.sh’

installkeyhelp.sh                                   [   <=>                                                                                               ]  11.06K  3.42KB/s    in 3.2s

2017-12-26 03:45:52 (3.42 KB/s) - ‘installkeyhelp.sh’ saved [11326]


-> preparing KeyHelp installation, this may take a few minutes...

-> installing PHP...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.

-> installing KeyHelp...
usermod: no changes



Und ja, es ist die minimal.

VG
sv3n
Posts: 103
Joined: Sat 11. Feb 2017, 23:08

Re: Installation bleibt stehen

Post by sv3n »

Mal eine etwas andere Frage, ist das ein Server der im Netz steht oder ein Homeserver oder OpenVZ virtualisiertes System? Welcher Hoster ggf.?

Vielleicht hilft das ja auch weiter?
viewtopic.php?f=4&t=487 dann noch das mal lesen viewtopic.php?f=4&t=15.

Und dann noch mal melden.
Mfg Sven
Eomer
Posts: 17
Joined: Tue 26. Dec 2017, 01:19

Re: Installation bleibt stehen

Post by Eomer »

Hey,

nein ist es nicht. Es ist eine virtuelle Maschine die im RZ steht. Ich glaube es wird mit KVM virtualisiert (hab die so vom Hoster übergeben bekommen).
Der Hoster ist klein und lokal und wird kaum Aufschluss darauf geben, was die einsetzen (man kennt die nicht).

Bisher hatte ich aber noch nie Probleme mit Kompatibilitäten.

Ich hatte den einen Thread schon gesehen, aber ich erhalte ja gar keine Fehlermeldung in die Richtung. Es bleibt einfach stehen :D


Aber hier mal die Ausgabe von mount und fstab:

Code: Select all

root@server2:~# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4078060k,nr_inodes=1019515,m                                                                 ode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmod                                                                 e=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=817948k,mode=755)
/dev/mapper/VolGroup1-SlashVol on / type ext4 (rw,relatime,errors=remount-ro,dat                                                                 a=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relat                                                                 ime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xa                                                                 ttr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,re                                                                 latime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,fr                                                                 eezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpu                                                                 set)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blki                                                                 o)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,mem                                                                 ory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime                                                                 ,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,de                                                                 vices)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatim                                                                 e,cpu,cpuacct)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=41,pgrp=1,time                                                                 out=0,minproto=5,maxproto=5,direct,pipe_ino=1535)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
/dev/vda1 on /boot type ext4 (rw,relatime,data=ordered)
/dev/mapper/VolGroup1-VarLogVol on /var/log type ext4 (rw,relatime,data=ordered)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=817944k,mode=700)

Code: Select all

root@server2:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/VolGroup1-SlashVol /               ext4    errors=remount-ro 0       1
# /boot was on /dev/vda1 during installation
UUID=a681f671-52e1-4f66-a98a-ea8070eb7771 /boot           ext4    defaults        0       2
/dev/mapper/VolGroup1-VarLogVol /var/log        ext4    defaults        0       2
/dev/mapper/VolGroup1-SwapVol none            swap    sw              0       0
So wie ich das sehe fehlt hier auch das / -Dateisystem?
Wie sollte ich am besten weiter vorgehen? :)
User avatar
Martin
Posts: 984
Joined: Wed 20. Jan 2016, 00:43

Re: Installation bleibt stehen

Post by Martin »

Hallo,

das / Dateisystem ist vorhanden (in der Ausgabe von mount etwas weiter oben, musste da zugegeben auch etwas suchen).

Was sind denn die letzten Ausgaben in /var/log/keyhelp/install.log? Wird dort ein Error gemeldet?

Unter KVM sollte eine Installation üblicherweise ohne weiteres klappen. Im Zweifel hier ggf. die Installation per ISO im virtuellen DVD-ROM einmal manuell ausführen statt hier ein fertiges Image zu nehmen.
Viele Grüße,
Martin
Eomer
Posts: 17
Joined: Tue 26. Dec 2017, 01:19

Re: Installation bleibt stehen

Post by Eomer »

Danke für die Info, hatte es übersehen.

Das Verzeichnis (/var/log/keyhelp/install.log) existiert leider überhaupt nicht.

Ich habe halt auch mal geschaut ob es irgendwo logs gibt, wüsste aber nicht wo.
Damit dort Logs erstellt werden müsste es erstmal zum installieren kommen, oder? Scheint ja noch davor irgendwo zu haken.

Also ich habe keinen Einfluss darauf wie Debian installiert wird. Ich weiß nur, dass KVM/Puppet vom Hoster benutzt werden, aber ich kriege nur die fertige Installation aufgetischt.
sv3n
Posts: 103
Joined: Sat 11. Feb 2017, 23:08

Re: Installation bleibt stehen

Post by sv3n »

Im Verzeichniss /var/log/ liegen die logs.
Mfg Sven
nikko
Posts: 914
Joined: Fri 15. Apr 2016, 16:11

Re: Installation bleibt stehen

Post by nikko »

Je nach Systemressouren kann die Installation aber auch etwas dauern....
Ist genügend RAM / Space zur Verfügung?
The software said: Requires Win Vista®, 7®, 8® or better. And so I installed Linux.
Eomer
Posts: 17
Joined: Tue 26. Dec 2017, 01:19

Re: Installation bleibt stehen

Post by Eomer »

Danke für Eure Antworten.

Grundsätzlich weiß ich wo die Logs des System liegen, jedoch finden sich dort keine relevanten Informationen zur Installation (oder schaue ich falsch)?

Ressourcen sollten mehr als genügend vorhanden sein...400 GB freier Platz, 8 GB RAM, 4 CPU's und noch nichts installiert....

Ich habe auch schon >30 Minuten gewartet...so lange bis die SSH-Session Ihr timeout hat.


VG



EDIT:

Code: Select all

15766 pts/0    Ss     0:00  \_ -bash
17243 pts/0    S+     0:00      \_ bash installkeyhelp.sh
17788 pts/0    S+     0:01          \_ php /home/keyhelp/www/keyhelp/install/install.php --installer-version 1
12151 pts/0    S+     0:00              \_ sh -c wget -nv --no-check-certificate --output-document /tmp/keyhelp_update/phpmyadmin.tar.gz https://install.keyhelp.de/files/tools/phpmyadmin/phpMyAdmin-4.7.5-a
12152 pts/0    S+     0:00                  \_ wget -nv --no-check-certificate --output-document /tmp/keyhelp_update/phpmyadmin.tar.gz https://install.keyhelp.de/files/tools/phpmyadmin/phpMyAdmin-4.7.5-all
Kurzes Update: Der Status oben ist seit Ewigkeiten unverändert. Es sieht so aus, als wäre es ein IPv6-Problem. Nachdem wir die .sh mit einem -4 nach jedem wget versehen hatten, ging der Download sofort durch. Ich hatte leider das install.php komplett vergessen, weshalb es jetzt wieder hängt. Er versucht sich die Dateien per IPv6 vom Keyhelp-Server zu ziehen und das passiert extreeeem langsam bzw. bleibt irgendwann sogar komplett stehen. Ein Kollege prüft gerade ob es an meiner Maschine oder dem Server liegt.
Last edited by Eomer on Wed 27. Dec 2017, 12:46, edited 1 time in total.
Eomer
Posts: 17
Joined: Tue 26. Dec 2017, 01:19

Re: Installation bleibt stehen

Post by Eomer »

Also irgendwie sieht es für mich danach aus, als gäbe es ein Problem auf Eurer Seite.

Code: Select all

13:07:24.502774 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 372111:373539, ack 638, win 240, options [nop,nop,TS val 326350650 ecr 29698957], length 1428
13:07:24.502831 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 373539, win 1424, options [nop,nop,TS val 29699115 ecr 326350650], length 0
13:07:25.134713 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 373539:374967, ack 638, win 240, options [nop,nop,TS val 326350808 ecr 29699115], length 1428
13:07:25.134784 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 374967, win 1424, options [nop,nop,TS val 29699273 ecr 326350808], length 0
13:07:25.766743 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 374967:376395, ack 638, win 240, options [nop,nop,TS val 326350966 ecr 29699273], length 1428
13:07:25.766797 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 376395, win 1424, options [nop,nop,TS val 29699431 ecr 326350966], length 0
13:07:27.230703 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 376395:377823, ack 638, win 240, options [nop,nop,TS val 326351332 ecr 29699431], length 1428
13:07:27.230777 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 377823, win 1424, options [nop,nop,TS val 29699797 ecr 326351332], length 0
13:07:27.446652 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 377823:379251, ack 638, win 240, options [nop,nop,TS val 326351386 ecr 29699797], length 1428
13:07:27.446758 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 379251, win 1424, options [nop,nop,TS val 29699851 ecr 326351386], length 0
13:07:28.078702 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 379251:380679, ack 638, win 240, options [nop,nop,TS val 326351544 ecr 29699851], length 1428
13:07:28.078793 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 380679, win 1424, options [nop,nop,TS val 29700009 ecr 326351544], length 0
13:07:29.542808 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 380679:382107, ack 638, win 240, options [nop,nop,TS val 326351910 ecr 29700009], length 1428
13:07:29.542856 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 382107, win 1424, options [nop,nop,TS val 29700375 ecr 326351910], length 0
13:07:30.174655 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 382107:383535, ack 638, win 240, options [nop,nop,TS val 326352068 ecr 29700375], length 1428
13:07:30.174714 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 383535, win 1424, options [nop,nop,TS val 29700533 ecr 326352068], length 0
13:07:30.390709 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 383535:384963, ack 638, win 240, options [nop,nop,TS val 326352122 ecr 29700533], length 1428
13:07:30.390776 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 384963, win 1424, options [nop,nop,TS val 29700587 ecr 326352122], length 0
13:07:31.022703 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 384963:386391, ack 638, win 240, options [nop,nop,TS val 326352280 ecr 29700587], length 1428
13:07:31.022789 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 386391, win 1424, options [nop,nop,TS val 29700745 ecr 326352280], length 0
13:07:31.238810 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 386391:387819, ack 638, win 240, options [nop,nop,TS val 326352334 ecr 29700745], length 1428
13:07:31.238886 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 387819, win 1424, options [nop,nop,TS val 29700799 ecr 326352334], length 0
13:07:32.702818 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 387819:389247, ack 638, win 240, options [nop,nop,TS val 326352700 ecr 29700799], length 1428
13:07:32.702879 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 389247, win 1424, options [nop,nop,TS val 29701165 ecr 326352700], length 0
13:07:33.334813 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 389247:390675, ack 638, win 240, options [nop,nop,TS val 326352858 ecr 29701165], length 1428
13:07:33.334878 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 390675, win 1424, options [nop,nop,TS val 29701323 ecr 326352858], length 0
13:07:33.550792 IP6 2001:1b60:2:11:913:101:be57:cafe.443 > 2a00:fe0:1:4d:5054:ff:fe00:189.59964: Flags [.], seq 390675:392103, ack 638, win 240, options [nop,nop,TS val 326352912 ecr 29701323], length 1428
13:07:33.550870 IP6 2a00:fe0:1:4d:5054:ff:fe00:189.59964 > 2001:1b60:2:11:913:101:be57:cafe.443: Flags [.], ack 392103, win 1424, options [nop,nop,TS val 29701377 ecr 326352912], length 0
Es wird nur mit 1,5 kb/s runtergerladen. Es kommt immer nur ein Paket nach dem anderen bei mir an.
Ich habe eben mal von verschiedenen Servern die IPv6-Adressen unterstützen downloads gestartet und hatte das Problem bisher nur mit dem Keyhelp-Server.


EDIT: Ein Kollege mit 2 Debian-Servern hat es auch mal von beiden getestet und das gleiche Problem gehabt. Keine Ahnung woran es liegt...

EDIT2: Nachdem ich IPv6 für die Installation temporär deaktiviert habe, klappt es bei mir auf jeden Fall. Vielleicht möchte Keyhelp ja mal schauen, ob es irgendein Problem auf dem Download-Server gibt? Mit Sicherheit können meine Kollegen nicht sagen an wem es liegt, vermuten aber an Keyhelp.
felix111984
Posts: 5
Joined: Sun 29. Jul 2018, 18:20

Re: Installation bleibt stehen

Post by felix111984 »

Hatte eben genau das Selbe Problem auf einem Testrechner an einem Unitymedia Kabelanschluss.
Nachdem ich IPv6 mit dem Befehl vorübergehend temporär deaktivert habe, lief die Installation an.

Code: Select all

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
Vielen Dank für dieses Thema hier, hat mir sehr geholfen!
Locked