Allgemeine Probleme (MySql und Weiterleitung IP)

  • Hallo zusammen,


    ich habe seit 16 Jahren nicht mehr mit Linus gearbeitet und versuche mich jetzt an einem Debian vServer.


    Ich habe folgende Probleme:


    1. nachdem ich alle relevanten Programme (zb Python) installiert habe und das Python Script ausgeführt hatte, kam folgende Fehlermeldung:


    InternalError: (1071, u'Specified key was too long; max key length is 1000 bytes')


    Diesen Fehler hatte ich bei MySQLite nicht. Die MySQL Version ist auch aktuell...

    Beides ist auf UTF8 eingestellt...


    2. Nachdem ich den Server neugestartet hatte gab es keine Weiterleitung mehr zu der IP. Nun kann nichts mehr unter der IP im Browser angezeigt werden...

    Was muss ich machen, damit alles wieder angezeigt wird?


    3. In welches Verzeichnis muss ich meine Python Scipte installieren, damit diese im Browser angezeigt werden?


    Sorry, ich bin hier echt n Anfänger...


    Vielen Dank schonmal und viele Grüße


    Andi

  • -- Unit apache2.service has begun starting up.

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: Starting web server: apache2 failed!

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: The apache2 configtest failed. ... (warning).

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: Output of config test was:

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: AH00526: Syntax error on line 8 of /etc/apache2/sites-enabled/10_froxlor_ipandport_37.221.196.165

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: Invalid command 'FastCgiExternalServer', perhaps misspelled or defined by a module not included i

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: Action 'configtest' failed.

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: The Apache error log may have more information.

    Dec 29 18:49:14 v22017125473258575 systemd[1]: apache2.service: control process exited, code=exited status=1

    Dec 29 18:49:14 v22017125473258575 systemd[1]: Failed to start LSB: Apache2 web server.

    -- Subject: Unit apache2.service has failed

    -- Defined-By: systemd

    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

    --

    -- Unit apache2.service has failed.

    --

    -- The result is failed.

    Dec 29 18:49:14 v22017125473258575 systemd[1]: Unit apache2.service entered failed state.

    Dec 29 18:49:14 v22017125473258575 sudo[4640]: pam_unix(sudo:session): session closed for user root

    Dec 29 18:49:26 v22017125473258575 sshd[4659]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=123.183.209.

    Dec 29 18:49:28 v22017125473258575 sshd[4659]: Failed password for root from 123.183.209.135 port 21487 ssh2

    Dec 29 18:49:30 v22017125473258575 sshd[4659]: Failed password for root from 123.183.209.135 port 21487 ssh2

    Dec 29 18:49:32 v22017125473258575 sshd[4659]: Failed password for root from 123.183.209.135 port 21487 ssh2

    Dec 29 18:49:36 v22017125473258575 sshd[4659]: Received disconnect from 123.183.209.135: 11: [preauth]

    Dec 29 18:49:36 v22017125473258575 sshd[4659]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=123.183.209.135 user

    Dec 29 18:49:43 v22017125473258575 sudo[4661]: root : TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/bin/journalctl -xe

    Dec 29 18:49:43 v22017125473258575 sudo[4661]: pam_unix(sudo:session): session opened for user root by root(uid=0)

    lines 1013-1049/1049 (END)

    --

    -- The result is failed.

    Dec 29 18:48:58 v22017125473258575 systemd[1]: Unit apache2.service entered failed state.

    Dec 29 18:49:14 v22017125473258575 sudo[4640]: root : TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/service apache2 restart

    Dec 29 18:49:14 v22017125473258575 sudo[4640]: pam_unix(sudo:session): session opened for user root by root(uid=0)

    Dec 29 18:49:14 v22017125473258575 systemd[1]: Starting LSB: Apache2 web server...

    -- Subject: Unit apache2.service has begun with start-up

    -- Defined-By: systemd

    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

    --

    -- Unit apache2.service has begun starting up.

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: Starting web server: apache2 failed!

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: The apache2 configtest failed. ... (warning).

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: Output of config test was:

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: AH00526: Syntax error on line 8 of /etc/apache2/sites-enabled/10_froxlor_ipandport_37.221.196.165.80.conf:

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: Invalid command 'FastCgiExternalServer', perhaps misspelled or defined by a module not included in the server configuration

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: Action 'configtest' failed.

    Dec 29 18:49:14 v22017125473258575 apache2[4645]: The Apache error log may have more information.

    Dec 29 18:49:14 v22017125473258575 systemd[1]: apache2.service: control process exited, code=exited status=1

    Dec 29 18:49:14 v22017125473258575 systemd[1]: Failed to start LSB: Apache2 web server.

    -- Subject: Unit apache2.service has failed

    -- Defined-By: systemd

    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

    --

    -- Unit apache2.service has failed.

    --

    -- The result is failed.

    Dec 29 18:49:14 v22017125473258575 systemd[1]: Unit apache2.service entered failed state.

    Dec 29 18:49:14 v22017125473258575 sudo[4640]: pam_unix(sudo:session): session closed for user root

    Dec 29 18:49:26 v22017125473258575 sshd[4659]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=123.183.209.135 user=root

    Dec 29 18:49:28 v22017125473258575 sshd[4659]: Failed password for root from 123.183.209.135 port 21487 ssh2

    Dec 29 18:49:30 v22017125473258575 sshd[4659]: Failed password for root from 123.183.209.135 port 21487 ssh2

    Dec 29 18:49:32 v22017125473258575 sshd[4659]: Failed password for root from 123.183.209.135 port 21487 ssh2

    Dec 29 18:49:36 v22017125473258575 sshd[4659]: Received disconnect from 123.183.209.135: 11: [preauth]

    Dec 29 18:49:36 v22017125473258575 sshd[4659]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=123.183.209.135 user=root

    Dec 29 18:49:43 v22017125473258575 sudo[4661]: root : TTY=pts/0 ; PWD=/ ; USER=root ; COMMAND=/bin/journalctl -xe

    Dec 29 18:49:43 v22017125473258575 sudo[4661]: pam_unix(sudo:session): session opened for user root by root(uid=0)

  • Jan 06 23:40:11 v22017125473258575 apache2[12510]: AH00526: Syntax error on line 8 of /etc/apache2/sites-enabled/10_froxlor_ipandport_37.221.196.165.80.conf:

    Jan 06 23:40:11 v22017125473258575 apache2[12510]: Invalid command 'FastCgiExternalServer', perhaps misspelled or defined by a module not included in the server configuration

    J


    wie bekomme ich diesen Fehler weg?