Update von etch auf lenny - Probleme

  • Hallo liebe Gemeinschaft,


    nachdem ich heute endlich mal ein Update von etch auf Lenny gemacht habe, läuft mein vserver nicht mehr rund! Die gehosteten Seiten (Wordpress) sind sehr langsam und Plugins wie Prettyphoto funktionieren nicht mehr.


    Beim Restart des Servers gibt es auch eine Menge Fehlermeldungen:
    Beim Stoppen


    stty: standard input: Invalid argument
    Stopping web server: apache2[Sat Jul 23 01:22:50 2011] [warn] The Alias directive in /etc/apache2/apache2.conf at line 241 will probably never match because it overlaps an earlier Alias.
    [Sat Jul 23 01:22:50 2011] [warn] NameVirtualHost *:80 has no VirtualHosts ... waiting .
    Stopping periodic command scheduler: crond.
    Stopping Courier authentication services: authdaemond.
    Stopping Courier POP3 server: pop3d. Stopping internet superserver: inetd.
    Stopping Postfix Mail Transport Agent: postfix.
    Stopping file alteration monitor: FAM.
    Stopping MySQL database server: mysqld. Saving the system clock. Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method. Stopping ftp server: proftpd.
    Stopping domain name service...: bind9 waiting for pid 30001 to die. Stopping enhanced syslogd: rsyslogd. Asking all remaining processes to terminate...done. All processes ended within 1 seconds....done.
    Stopping portmap daemon....
    Deconfiguring network interfaces...done.
    Cleaning up ifupdown....
    Deactivating swap...Not superuser. failed.
    mount: permission denied Will now restart.
    ifdown: shutdown eth0: Permission denied


    Wie man sieht stimmt hier schon einiges nicht!


    Beim Start kommt folgendes:


    stty: standard input: Invalid argument
    Starting enhanced syslogd: rsyslogd.
    Starting domain name service...: bind9.
    Starting OpenBSD Secure Shell server: sshd.
    Starting MySQL database server: mysqld.
    Linking mysqld.sock to the postfix-jail.
    Checking for corrupt, not cleanly closed and upgrade needing tables.. Starting Courier authentication services: authdaemond.
    Starting Courier POP3 server: pop3d. /usr/share/mysql/debian-start.inc.sh: line 21: MYSQL: unbound variable /usr/share/mysql/debian-start.inc.sh: line 25: MYSQL: unbound variable Not starting internet superserver: no services enabled.
    Starting Postfix Mail Transport Agent: postfix. Starting file alteration monitor: FAM. Starting ftp server: proftpd - warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive. .
    Starting periodic command scheduler: crond.
    Starting web server: apache2
    [Sat Jul 23 01:23:04 2011] [warn] The Alias directive in /etc/apache2/apache2.conf at line 241 will probably never match because it overlaps an earlier Alias.
    [Sat Jul 23 01:23:04 2011] [warn] NameVirtualHost *:80 has no VirtualHosts .


    Auch gibt es Probleme. Gerade der letzte Punkt stört mich und kann icht nicht nachvollziehen. Die Conifgdatein wurden beim Updaten nicht überschrieben. In der 99_syscp_vhost.conf steht z.B. auch


    NameVirtualHost 78.47.226.49:80
    <VirtualHost 78.47.226.49:80>
    ServerName v220091140961985.yourvserver.net
    </VirtualHost>


    Was ebenfalls nicht funktioniert ist ein Update von syscp über apt-get update. Da kommt folgendes:


    W: GPG error: http://debian.syscp.de lenny/ Release: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY EB8BDC4195A7D80C
    W: Probieren Sie »apt-get update«, um diese Probleme zu korrigieren.


    Ich bereits stundenlang die Suchfunktion hier und Googel bemüht, aber bin nicht weiter gekommen. Weiß jemand einen Rat?!

  • Zitat

    Was ebenfalls nicht funktioniert ist ein Update von syscp über apt-get update. Da kommt folgendes:


    W: GPG error: http://debian.syscp.de lenny/ Release: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY EB8BDC4195A7D80C
    W: Probieren Sie »apt-get update«, um diese Probleme zu korrigieren.


    Hallo,
    Ändere mal in der Sources.list folgendes


    deb http://debian.froxlor.org etch main
    deb-src http://debian.froxlor.org etch main


    Führe dannach den Befehl noch aus:

    Code
    gpg --keyserver gpg-keyserver.de --recv-keys 4F9E9BBC
    gpg --export 4F9E9BBC|apt-key add -


    Dann müsste das Update klappen.


  • Das hat leider nicht viel gebracht. Ich habe aber nochmal Google bemüht und folgendes gefunden:
    [LEFT]

    • aptitude install debian-archive-keyring
    • wget http://debian.syscp.org/pubkey
    • apt-key add pubkey


    Das hat geklappt:).


    Jetzt bleiben nur die anderen Problem:confused: Der Server ist weiterhin extrem langsam im Vergleich zum Zustand vor dem Update.


    Bei Runterfahren gibt diese Fehlermeldung(en)


    stty: standard input: Invalid argument
    Stopping web server: apache2
    [Sat Jul 23 13:09:27 2011] [warn] The Alias directive in /etc/apache2/apache2.conf at line 241 will probably never match because it overlaps an earlier Alias.
    [Sat Jul 23 13:09:27 2011] [warn] NameVirtualHost *:80 has no VirtualHosts


    Cannot access the Hardware Clock via any known method.


    Deactivating swap...Not superuser. failed.
    mount: permission denied


    Beim Starten gibt es folgendes:


    stty: standard input: Invalid argument


    Not starting internet superserver: no services enabled.


    Starting Postfix Mail Transport Agent: postfix/usr/share/mysql/debian-start.inc.sh: line 21: MYSQL: unbound variable /usr/share/mysql/debian-start.inc.sh: line 25: MYSQL: unbound variable


    Starting ftp server: proftpd - warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.


    Starting web server: apache2[Sat Jul 23 13:09:54 2011] [warn] The Alias directive in /etc/apache2/apache2.conf at line 241 will probably never match because it overlaps an earlier Alias. [Sat Jul 23 13:09:54 2011] [warn] NameVirtualHost *:80 has no VirtualHosts


    Sind die Fehler relevant? Und gibt es evt. Lösungen?
    [/LEFT]

  • Zitat von MCC-Potsdam;36951

    stty: standard input: Invalid argument


    Kein Fehler, kommt durch die Virtualisierung.


    Zitat von MCC-Potsdam;36951

    Not starting internet superserver: no services enabled.


    Kein Fehler, nur ein Hinweis.


    Zitat von MCC-Potsdam;36951

    Starting Postfix Mail Transport Agent: postfix/usr/share/mysql/debian-start.inc.sh: line 21: MYSQL: unbound variable /usr/share/mysql/debian-start.inc.sh: line 25: MYSQL: unbound variable


    Da wurde nur ein Variablenname geändert, vergleiche einmal die Variablen in /usr/share/mysql/debian-start.inc.sh und /etc/mysql/debian-start


    Zitat von MCC-Potsdam;36951

    Starting ftp server: proftpd - warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.


    Einfach die Direktive in der ProFTPD-Konfiguration umbenennen, steht doch da ;)


    Zitat von MCC-Potsdam;36951

    Starting web server: apache2[Sat Jul 23 13:09:54 2011] [warn] The Alias directive in /etc/apache2/apache2.conf at line 241 will probably never match because it overlaps an earlier Alias. [Sat Jul 23 13:09:54 2011] [warn]


    Dann schau halt nach, wo die besagte Alias-Direktive doppelt definiert ist :rolleyes:


    Zitat von MCC-Potsdam;36951

    NameVirtualHost *:80 has no VirtualHosts


    Einfach die NameVirtualHost-Direktive für *:80 entfernen, wenn sie sowieso nicht genutzt wird. Sieht zu mindestens danach aus.



    Bis auf die erwähnte Sache mit dem Apache gibt es hier keine Fehler beim Stoppen :confused:



    MfG Christian

    "Wer nur noch Enten sieht, hat die Kontrolle über seine Server verloren." (Netzentenfund)