Page 1 of 2

Installation nicht möglich

Posted: Wed 5. Jun 2019, 20:32
by mumati
Hallo zusammen,

ICh bekomme bei der Installation die Meldung.

Code: Select all

-> Run /home/keyhelp/www/keyhelp/install/install.php --installer-version 1
Error: Unable to find a valid quota mountpoint. You have to make sure that there                                                                                         is a "/" - mountpoint in your "/etc/fstab". Visit https://community.keyhelp.de                                                                                         and ask for help or contact KeyHelp Support Team.

Vielen Dank im Voraus.

Re: Installation nicht möglich

Posted: Wed 5. Jun 2019, 20:34
by OlliTheDarkness
Root oder Virt. ?

Proxmox im Einsatz ?

Re: Installation nicht möglich  [GELÖST]

Posted: Wed 5. Jun 2019, 20:43
by Jolinar
mumati wrote: Wed 5. Jun 2019, 20:32 ICh bekomme bei der Installation die Meldung
search.php?keywords=Unable+find+valid+quota+mountpoint

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 09:11
by mumati
OlliTheDarkness wrote: Wed 5. Jun 2019, 20:34 Root oder Virt. ?

Proxmox im Einsatz ?
Hi,

Es ist Virtuellenn Server.

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:02
by mumati
Jolinar wrote: Wed 5. Jun 2019, 20:43
mumati wrote: Wed 5. Jun 2019, 20:32 ICh bekomme bei der Installation die Meldung
search.php?keywords=Unable+find+valid+quota+mountpoint
Hi,
Vielen Dank.
Das hat natürlich geholfen. So ging es weiter.

Ich habe diesen genommen.
viewtopic.php?f=4&t=15&hilit=Unable+fin ... mountpoint


Mount schaut bei mir so aus.

Code: Select all

 mount
/dev/ploop48940p1 on / type ext4 (rw,relatime,barrier=1,data=ordered,balloon_ino=12,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,mode=755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
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,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,name=beancounter)
none on /run/shm type tmpfs (rw,relatime)
Danach in Fstab erste Zeile addiert.

Code: Select all

/dev/ploop48940p1     /     ext4     rw,relatime,barrier=1,data=ordered,balloon_ino=12,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group     0     1
proc  /proc       proc    defaults    0    0
none  /dev/pts    devpts  rw,gid=5,mode=620    0    0
none  /run/shm    tmpfs   defaults    0    0
Und die Installation nochmal durchgeführt. Ergebnis wie folgt :

Code: Select all

Installation wird durchgeführt:

Update sources list ...                     [OKAY]
Installation requirements ...               [OKAY]
Sudo ...                                    [OKAY]
Bind9 ...                                   [OKAY]
SSL/TLS ...                                 [OKAY]
PHP ...                                     [OKAY]
Apache ...                                  [ERROR]
PHP-FPM ...                                 [ERROR]
MariaDB ...                                 [OKAY]
KeyHelp ...                                 [ERROR]
Firewall (iptables) ...
Warning: MySQL - Query Error: Table 'keyhelp.firewall' doesn't exist (1146) in /home/keyhelp/www/keyhelp/core/pending/File.php on line 229
[ERROR]
SSH ...                                     [OKAY]
ProFTPD ...                                 [OKAY]
Postfix ...                                 [OKAY]
Dovecot ...                                 [OKAY]
OpenDKIM ...                                [OKAY]
Email protection
    Postgrey, Amavis, ClamAV,
    SpamAssassin, Pyzor, Razor ...          [OKAY]
AWStats ...                                 [OKAY]
Fail2ban ...                                [OKAY]
Logrotate ...                               [OKAY]
PhpMyAdmin 4.8.5 Multilanguage ...          [OKAY]
Roundcube 1.3.8 Multilanguage ...           [OKAY]
Rainloop 1.12.1 (Community Edition) ...     [OKAY]
Quota ...                                   [ERROR]
Apparmor ...                                [OKAY]
7-Zip ...                                   [OKAY]
Update MotD ...                             [OKAY]
Nano ...                                    [OKAY]
NTP ...                                     [ERROR]
Cron-Daemon ...                             [OKAY]

Warning: MySQL - Connection Error: 1045 (Access denied for user 'keyhelp'@'localhost' (using password: YES)) in /home/keyhelp/www/keyhelp/core/pending/File.php on line 229

Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 53

Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/DBConnection.php on line 54

Warning: mysqli::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/File.php on line 77

Warning: DBConnection::query(): Couldn't fetch mysqli in /home/keyhelp/www/keyhelp/core/pending/File.php on line 78

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on null in /home/keyhelp/www/keyhelp/core/Settings/Settings.php:242
Stack trace:
#0 /home/keyhelp/www/keyhelp/core/Settings/Settings.php(51): Settings->loadSettings()
#1 /home/keyhelp/www/keyhelp/install/install.php(876): Settings->__construct(Object(DBConnection))
#2 {main}
  thrown in /home/keyhelp/www/keyhelp/core/Settings/Settings.php on line 242
Danke vielmals.

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:04
by Martin
Hallo,

der spezifische Fehler sollte hier in /var/log/keyhelp/install.log aufgeschlüsselt sein.

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:06
by Jolinar
Das System, wo du die fstab geändert hast...War da schon eine Keyhelp-Installation gelaufen oder war das ein neu aufgesetzter Server (Minimalsystem)?

BTW:
Was sagt das Installer-Logfile?

Edit:
Da war der Dev wieder schneller als ich :cry: :lol:

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:08
by mumati
Martin wrote: Thu 6. Jun 2019, 10:04 Hallo,

der spezifische Fehler sollte hier in /var/log/keyhelp/install.log aufgeschlüsselt sein.
Hi Martin, so schaut es am Schluss aus.

Code: Select all


 [Quota]
  exec | apt-get install -y quota quotatool
    Reading package lists...
    Building dependency tree...
    Reading state information...
    quota is already the newest version (4.03-2).
    quotatool is already the newest version (1:1.4.12-2).
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  exec | service quota stop
  exec | cp /etc/fstab /etc/fstab-backup
  exec | echo "/dev/ploop48940p1     /     ext4     rw,relatime,barrier=1,data=ordered,balloon_ino=12,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group,usrquota,grpquota     0     1
proc  /proc       proc    defaults    0    0
none  /dev/pts    devpts  rw,gid=5,mode=620    0    0
none  /run/shm    tmpfs   defaults    0    0" > "/etc/fstab"
  exec | mount -o remount /
    mount: permission denied
 
    >>>>>>>>>>>>>>>>>>>>>>
    !!! ERROR DETECTED !!!
    <<<<<<<<<<<<<<<<<<<<<<
 
  [SKIPPED DUE PREVIOUS ERRORS] exec | quotacheck -avmug
  [SKIPPED DUE PREVIOUS ERRORS] exec | service quota start
 
 [Apparmor]
  exec | apt-get install -y apparmor
    Reading package lists...
    Building dependency tree...
    Reading state information...
    apparmor is already the newest version (2.10.95-0ubuntu2.11).
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 
 [7-Zip]
  exec | apt-get install -y p7zip-full
    Reading package lists...
    Building dependency tree...
    Reading state information...
    p7zip-full is already the newest version (9.20.1~dfsg.1-4.2ubuntu0.1).
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 
 [Update MotD]
  files | /home/keyhelp/www/keyhelp/install/config/common/motd/80-keyhelp => /etc/update-motd.d/80-keyhelp
  exec | chmod +x /etc/update-motd.d/80-keyhelp
 
 [Nano]
  exec | apt-get install -y nano
    Reading package lists...
    Building dependency tree...
    Reading state information...
    nano is already the newest version (2.5.3-2ubuntu2).
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 
 [NTP]
  exec | apt-get install -y ntpdate
    Reading package lists...
    Building dependency tree...
    Reading state information...
    ntpdate is already the newest version (1:4.2.8p4+dfsg-3ubuntu5.9).
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  exec | ntpdate -u ntp.ubuntu.com
     6 Jun 07:41:05 ntpdate[20971]: Can't adjust the time of day: Operation not permitted
 
    >>>>>>>>>>>>>>>>>>>>>>
    !!! ERROR DETECTED !!!
    <<<<<<<<<<<<<<<<<<<<<<
 
  [SKIPPED DUE PREVIOUS ERRORS] exec | apt-get install -y ntp
 
 [Cron-Daemon]
  exec | apt-get install -y cron
    Reading package lists...
    Building dependency tree...
    Reading state information...
    cron is already the newest version (3.0pl1-128ubuntu2).
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  files | /home/keyhelp/www/keyhelp/install/config/common/cron/keyhelp => /etc/cron.d/keyhelp
  exec | chmod 0644 /etc/cron.d/keyhelp
 
Vielen Dank.

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:12
by Martin
Hallo,

sofern es sich um ein OpenVZ System handelt ist dieser Quotafehler normal (der Remount klappt hier nicht und wäre unkritisch). Auch der NTP Fehler ist unkritisch (hier fehlen bei einem OpenVZ Paravirtualisierten System die Berechtigungen zum Zugriff auf die Hardwareuhr)

Wichtiger wäre bei der obigen Auflistung warum es hier zu einem Fehler beim Apache gekommen ist. Dieser wäre kritisch.

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:19
by mumati
Martin wrote: Thu 6. Jun 2019, 10:12 Hallo,

sofern es sich um ein OpenVZ System handelt ist dieser Quotafehler normal (der Remount klappt hier nicht und wäre unkritisch). Auch der NTP Fehler ist unkritisch (hier fehlen bei einem OpenVZ Paravirtualisierten System die Berechtigungen zum Zugriff auf die Hardwareuhr)

Wichtiger wäre bei der obigen Auflistung warum es hier zu einem Fehler beim Apache gekommen ist. Dieser wäre kritisch.
ICh habe Installation Log File komplett addiert. Vielleicht sieht man so mehr.

http://www.sondem.de/install.log

Danke vielmals.

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:32
by Martin
Hallo,

ursächlicher Fehler ist:

E: Package 'libapache2-mod-fastcgi' has no installation candidate

Der Rest sind dann vermutlich Folgefehler.

Wie sieht hier die /etc/apt/sources.list aus? Bei Debian sollte sichergestellt sein das alle 3 Bereiche (main contrib non-free) enthalten sind, nur main wäre unzureichend.

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:49
by mumati
so schaut es aus.

deb http://ubuntu.mirror.serverloft.de/ubuntu xenial main restricted universe
deb http://ubuntu.mirror.serverloft.de/ubuntu xenial-updates main restricted universe
deb http://ubuntu.mirror.serverloft.de/ubuntu xenial-security main universe multiverse restricted

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:50
by mumati
Martin wrote: Thu 6. Jun 2019, 10:32 Hallo,

ursächlicher Fehler ist:

E: Package 'libapache2-mod-fastcgi' has no installation candidate

Der Rest sind dann vermutlich Folgefehler.

Wie sieht hier die /etc/apt/sources.list aus? Bei Debian sollte sichergestellt sein das alle 3 Bereiche (main contrib non-free) enthalten sind, nur main wäre unzureichend.
Übrigens ich habe Ubuntu 16 mit 64 Bit, da ich bei Debian 8 Probleme hatte. Soll ich wieder mit Debian 8 versuchen ?

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:56
by Jolinar
mumati wrote: Thu 6. Jun 2019, 10:50 Übrigens ich habe Ubuntu 16 mit 64 Bit, da ich bei Debian 8 Probleme hatte. Soll ich wieder mit Debian 8 versuchen ?
Debian 8 ist in 11 Tagen EOL. Warum setzt du nicht direkt die aktuellste Version (Debian 9 / Ubuntu 18.x) ein?

Re: Installation nicht möglich

Posted: Thu 6. Jun 2019, 10:59
by Martin
Hallo,

bei der Ubuntuquelle fehlt der "multiverse" Eintrag (hinter "universe" einzutragen). Dann sollte die Installation durchlaufen.

Alternativ wäre, sofern seitens des OpenVZ Masternodes unterstützt, Debian 9 oder Ubuntu 18 (entsprechend auch mit vollständiger Paketquelle) zu empfehlen.