• Как восстановить доступ к ispconfig3?

    @itsfost Автор вопроса
    Web/Instagram
    Помогло:

    cd /tmp
    wget www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
    tar xvfz ISPConfig-3-stable.tar.gz
    cd ispconfig3_install/install
    php -q update.php
    Ответ написан
    Комментировать
  • Не запускается MYSQL в чем причина?

    @itsfost Автор вопроса
    Web/Instagram
    Сейчас выдает такие ошибки [....] Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
    failed!
    root@broadband:/var/lib/mysql# journalctl -xe
    авг 03 16:23:03 broadband kernel: [UFW BLOCK] IN=enp5s0f0 OUT= MAC=00:15:17:2a:e6:70:00:00:5e:00:01:95:08:00 SRC=212.34.248.214 DST=188.32.114.207 LEN=40 TOS=0x00 PREC=
    авг 03 16:23:10 broadband kernel: [UFW BLOCK] IN=enp5s0f0 OUT= MAC=00:15:17:2a:e6:70:00:00:5e:00:01:95:08:00 SRC=83.220.237.132 DST=188.32.114.207 LEN=40 TOS=0x08 PREC=
    авг 03 16:23:10 broadband kernel: [UFW BLOCK] IN=enp5s0f0 OUT= MAC=00:15:17:2a:e6:70:00:00:5e:00:01:95:08:00 SRC=83.220.237.132 DST=188.32.114.207 LEN=40 TOS=0x08 PREC=
    авг 03 16:23:11 broadband sudo[6000]: root : TTY=pts/0 ; PWD=/var/lib/mysql ; USER=root ; COMMAND=/etc/init.d/mysql start
    авг 03 16:23:11 broadband sudo[6000]: pam_unix(sudo:session): session opened for user root by serveradmin(uid=0)
    авг 03 16:23:11 broadband systemd[1]: Starting LSB: Start and stop the mysql database server daemon...
    -- Subject: Начинается запуск юнита mysql.service
    -- Defined-By: systemd
    -- Support: lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Начат процесс запуска юнита mysql.service.
    авг 03 16:23:11 broadband mysql[6017]: * Starting MariaDB database server mysqld
    авг 03 16:23:14 broadband mysqld_safe[6622]: Starting mysqld daemon with databases from /var/lib/mysql
    авг 03 16:23:14 broadband mysqld[6627]: 180803 16:23:14 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.
    авг 03 16:23:14 broadband mysqld[6627]: 180803 16:23:14 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.
    авг 03 16:23:14 broadband mysqld[6627]: 180803 16:23:14 [Note] /usr/sbin/mysqld (mysqld 10.0.33-MariaDB-0ubuntu0.16.04.1) starting as process 6626 ...
    авг 03 16:23:14 broadband mysqld[6627]: 180803 16:23:14 [ERROR] mysqld: File '/var/log/mysql/mysql-bin.index' not found (Errcode: 13 "Permission denied")
    авг 03 16:23:14 broadband mysqld[6627]: 180803 16:23:14 [ERROR] Aborting
    авг 03 16:23:14 broadband mysqld[6627]:
    авг 03 16:23:14 broadband mysqld[6627]: 180803 16:23:14 [Note] /usr/sbin/mysqld: Shutdown complete
    авг 03 16:23:14 broadband mysqld[6627]:
    авг 03 16:23:14 broadband mysqld_safe[6630]: mysqld from pid file /var/run/mysqld/mysqld.pid ended
    авг 03 16:23:20 broadband kernel: [UFW BLOCK] IN=enp5s0f0 OUT= MAC=00:15:17:2a:e6:70:00:00:5e:00:01:95:08:00 SRC=188.92.20.98 DST=188.32.114.207 LEN=40 TOS=0x00 PREC=0x
    авг 03 16:23:24 broadband kernel: [UFW BLOCK] IN=enp5s0f0 OUT= MAC=00:15:17:2a:e6:70:00:00:5e:00:01:95:08:00 SRC=195.38.23.96 DST=188.32.114.207 LEN=52 TOS=0x00 PREC=0x
    авг 03 16:23:43 broadband CRON[5928]: pam_unix(cron:session): session closed for user root
    авг 03 16:23:43 broadband /etc/init.d/mysql[7063]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
    авг 03 16:23:43 broadband /etc/init.d/mysql[7063]: [61B blob data]
    авг 03 16:23:43 broadband mysql[6017]: ...fail!
    авг 03 16:23:43 broadband /etc/init.d/mysql[7063]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused")'
    авг 03 16:23:43 broadband /etc/init.d/mysql[7063]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
    авг 03 16:23:43 broadband /etc/init.d/mysql[7063]:
    авг 03 16:23:43 broadband systemd[1]: mysql.service: Control process exited, code=exited status=1
    авг 03 16:23:43 broadband systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
    -- Subject: Ошибка юнита mysql.service
    -- Defined-By: systemd
    -- Support: lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Произошел сбой юнита mysql.service.
    --
    -- Результат: failed.
    авг 03 16:23:43 broadband systemd[1]: mysql.service: Unit entered failed state.
    авг 03 16:23:43 broadband systemd[1]: mysql.service: Failed with result 'exit-code'.
    авг 03 16:23:43 broadband sudo[6000]: pam_unix(sudo:session): session closed for user root
    Ответ написан