Installations Probleme | Apache | E: Package 'libapache2-mod-fastcgi' has no installation candidate  [GELÖST]

Locked
c-blox
Posts: 24
Joined: Tue 22. Mar 2016, 16:26

Installations Probleme | Apache | E: Package 'libapache2-mod-fastcgi' has no installation candidate

Post by c-blox »

Danke! Die Installation ist jetzt durchgelaufen.

Allerdings bekomme ich während der Installation einige Errors, und zwar bei "Apache", "KeyHelp", "AWStats" und "Quota":
keyhelp-error.png
Nach dem Neustart, wird bei Aufruf der IP des Servers die Apache Default Page angezeigt.

Hier die Errors aus dem Log:

[Apache]

Code: Select all

  exec | apt-get install -y apache2-mpm-worker libapache2-mod-fastcgi apache2-suexec-custom
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Package libapache2-mod-fastcgi is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    
    E: Package 'libapache2-mod-fastcgi' has no installation candidate

    >>>>>>>>>>>>>>>>>>>>>>
    !!! ERROR DETECTED !!!
    <<<<<<<<<<<<<<<<<<<<<<
[KeyHelp]

Code: Select all

  exec | chmod 0750 /home/keyhelp
  exec | chown keyhelp:keyhelp /home/keyhelp/www/cgi-bin
    chown: cannot access '/home/keyhelp/www/cgi-bin': No such file or directory

    >>>>>>>>>>>>>>>>>>>>>>
    !!! ERROR DETECTED !!!
    <<<<<<<<<<<<<<<<<<<<<<
[AWStats]

Code: Select all

  exec | apt-get install -y awstats
    Reading package lists...
    Building dependency tree...
    Reading state information...
    awstats is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
  exec | rm -f /etc/cron.d/awstats
  exec | mv /etc/awstats/awstats.conf /etc/awstats/awstats.conf.disabled
    mv: cannot stat '/etc/awstats/awstats.conf': No such file or directory

    >>>>>>>>>>>>>>>>>>>>>>
    !!! ERROR DETECTED !!!
    <<<<<<<<<<<<<<<<<<<<<<
[Quota]

Code: Select all

  exec | apt-get install -y quota quotatool
    Reading package lists...
    Building dependency tree...
    Reading state information...
    quota is already the newest version.
    quotatool is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
  exec | service quota stop
     * Turning off quotas...
       ...done.
  exec | cp /etc/fstab /etc/fstab-backup
  exec | echo "/vz/private/176     /     simfs     rw,relatime,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 !!!
    <<<<<<<<<<<<<<<<<<<<<<
User avatar
Daniel
Keyweb AG
Posts: 114
Joined: Mon 25. Jan 2016, 04:42

Re: Installations Probleme  [GELÖST]

Post by Daniel »

Hallo,

hier sind offenbar die von der Installation bzw. vom Hoster vorab definierten Paketquellen unzureichend, sodass kein Paket für libapache2-mod-fastcgi gefunden werden konnte.

Bitte prüfen Sie die "/etc/apt/sources.list" auf die Einträge "universe" & "multiverse"

Mit den nachfolgenden sollte die Installation definitiv durchlaufen. Der Fehler bzgl. AWstats steht hiermit in Verbindung, da Abhängigkeiten mit dem Apache bestehen.

Code: Select all

cat /etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirror2.hs-esslingen.de/mariadb/repo/10.0/ubuntu trusty main
deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
Während der Installation darf maximal ein Error bezüglich Quota erscheinen. Dies ist abhängig vom Kernel des Hostsystems und 'kann' ignoriert werden.
Mit freundlichen Grüßen / Best regards
Daniel Marckardt

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
https://www.keyweb.de - https://www.keyhelp.de
**************************************************************
c-blox
Posts: 24
Joined: Tue 22. Mar 2016, 16:26

Re: Installations Probleme

Post by c-blox »

Dieselben Pakete liefern nun folgende Errors:

[Apache]

Code: Select all

exec | apt-get install -y apache2-mpm-worker libapache2-mod-fastcgi apache2-suexec-custom
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following extra packages will be installed:
      apache2 apache2-bin apache2-data apache2-mpm-prefork
    Suggested packages:
      ufw
    The following NEW packages will be installed:
      apache2-mpm-worker apache2-suexec-custom libapache2-mod-fastcgi
    The following packages will be upgraded:
      apache2 apache2-bin apache2-data apache2-mpm-prefork
    4 upgraded, 3 newly installed, 0 to remove and 118 not upgraded.
    Need to get 1160 kB of archives.
    After this operation, 443 kB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-mpm-prefork amd64 2.4.7-1ubuntu4.9 [1466 B]
    Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2 amd64 2.4.7-1ubuntu4.9 [87.5 kB]
    Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-bin amd64 2.4.7-1ubuntu4.9 [839 kB]
    Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-data all 2.4.7-1ubuntu4.9 [160 kB]
    Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-mpm-worker amd64 2.4.7-1ubuntu4.9 [1460 B]
    Get:6 http://archive.ubuntu.com/ubuntu/ trusty/multiverse libapache2-mod-fastcgi amd64 2.4.7~0910052141-1.1 [55.9 kB]
    Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe apache2-suexec-custom amd64 2.4.7-1ubuntu4.9 [15.3 kB]
    Fetched 1160 kB in 1s (612 kB/s)
    FATAL -> Failed to fork.

    >>>>>>>>>>>>>>>>>>>>>>
    !!! ERROR DETECTED !!!
    <<<<<<<<<<<<<<<<<<<<<<
[KeyHelp]

Code: Select all

  exec | chmod 0750 /home/keyhelp
  exec | chown keyhelp:keyhelp /home/keyhelp/www/cgi-bin
    chown: cannot access '/home/keyhelp/www/cgi-bin': No such file or directory

    >>>>>>>>>>>>>>>>>>>>>>
    !!! ERROR DETECTED !!!
    <<<<<<<<<<<<<<<<<<<<<<
[AWStats]

Code: Select all

  exec | apt-get install -y awstats
    Reading package lists...
    Building dependency tree...
    Reading state information...
    awstats is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
  exec | rm -f /etc/cron.d/awstats
  exec | mv /etc/awstats/awstats.conf /etc/awstats/awstats.conf.disabled
    mv: cannot stat '/etc/awstats/awstats.conf': No such file or directory

    >>>>>>>>>>>>>>>>>>>>>>
    !!! ERROR DETECTED !!!
    <<<<<<<<<<<<<<<<<<<<<<
[Quota]

Code: Select all

  exec | apt-get install -y quota quotatool
    Reading package lists...
    Building dependency tree...
    Reading state information...
    quota is already the newest version.
    quotatool is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
  exec | service quota stop
     * Turning off quotas...
       ...done.
  exec | cp /etc/fstab /etc/fstab-backup
  exec | echo "/vz/private/176     /     simfs     rw,relatime,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 !!!
    <<<<<<<<<<<<<<<<<<<<<<
User avatar
Daniel
Keyweb AG
Posts: 114
Joined: Mon 25. Jan 2016, 04:42

Re: Installations Probleme

Post by Daniel »

Hallo,

ich habe versucht das Problem zu reproduzieren. Dies gelang mir zwar - jedoch wurde nach Korrektur der Sources.list und erneutem Ausführen des Installers das Apache Modul fehlerfrei installiert.

Haben Sie die Möglichkeit das System mit minimal-Konfiguration neu zu installieren mit anschließender Anpassung der fstab & sources.list?

Bezüglich der Vorbereitung der Installation habe ich an unser Entwicklerteam den Bugreport #77 erstellt und mit updates versorgt, sodass die Prüfung der Paketquellen vor der Installation umgesetzt wird.
Mit freundlichen Grüßen / Best regards
Daniel Marckardt

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
https://www.keyweb.de - https://www.keyhelp.de
**************************************************************
c-blox
Posts: 24
Joined: Tue 22. Mar 2016, 16:26

Re: Installations Probleme

Post by c-blox »

Vielen Dank für die Hilfe! Jetzt hat alles soweit funktioniert. :)
Locked