Posts by fulltilt

    - IMSCP: 1.4.7
    - Distribution: Debian 9
    - Proftpd
    - PHP FCGID
    - MariaDB 10.1
    - Courier
    - Roundcube
    - Pydio


    Today I have to do a emergency migration from 1.4.3 ... all files are migrated and database are imported from mariadb 10.0 .. should be ready to start migration.
    But if I run mysql_upgrade --force I get many errors:


    mysqlcheck: Error: Couldn't get table list for database db: Can't read dir of './db/' (errno: 24 "Too many open files")



    OK, so now I have tried to set this:



    Code
    1. mkdir /etc/systemd/system/mysql.service.d
    2. nano /etc/systemd/system/mysql.service.d/override.conf
    3. added:
    4. LimitNOFILE=1024000
    5. systemctl daemon-reload
    6. systemctl restart mysql.service


    but it does not work:
    cat /proc/$(pgrep mysql)/limits | grep files
    Max open files 16364 16364 files


    I guess I need some help here w/ the migration ...

    I still get this warning ... the owner is root:root

    Code
    1. Jul 15 19:31:14 host2 postfix/postfix-script[7435]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon
    2. Jul 15 19:31:14 host2 postfix/postfix-script[7436]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon/pid
    3. Jul 15 19:31:14 host2 postfix/postfix-script[7437]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon/pid.lock

    - IMSCP: 1.4.7
    - Distribution: Debian 9
    - Proftpd
    - PHP FCGID
    - MariaDB 10.1
    - Courier


    I have installed a new server w/ 1.4.7 external DNS will be activated later until migration, now I see some strange warnigs and error messages:

    Code
    1. /var/log/mail.logJul 15 14:25:36 host2 postfix/master[1476]: daemon started -- version 3.1.4, configuration /etc/postfixJul 15 14:49:46 host2 authdaemond: modules="authmysql", daemons=5Jul 15 14:49:46 host2 authdaemond: Installing libauthmysqlJul 15 14:49:46 host2 authdaemond: Installation complete: authmysqlJul 15 14:49:46 host2 postfix/postfix-script[1486]: warning: not owned by postfix: /var/spool/postfix/private/authdaemonJul 15 14:49:46 host2 postfix/postfix-script[1487]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon/pidJul 15 14:49:46 host2 postfix/postfix-script[1488]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon/pid.lockJul 15 14:49:47 host2 postfix/postfix-script[1523]: starting the Postfix mail systemJul 15 14:49:47 host2 postfix/master[1525]: daemon started -- version 3.1.4, configuration /etc/postfixJul 15 15:10:02 host2 pop3d: Connection, ip=[::ffff:127.0.0.1]Jul 15 15:10:02 host2 pop3d: Disconnected, ip=[::ffff:127.0.0.1]Jul 15 15:10:02 host2 imapd: Connection, ip=[::ffff:127.0.0.1]Jul 15 15:10:02 host2 imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0


    Code
    1. /var/log/mail.warn
    2. Jul 15 14:22:57 host2 postfix/postfix-script[11263]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon
    3. Jul 15 14:22:57 host2 postfix/postfix-script[11264]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon/pid.lock
    4. Jul 15 14:25:36 host2 postfix/postfix-script[1440]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon
    5. Jul 15 14:25:36 host2 postfix/postfix-script[1441]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon/pid
    6. Jul 15 14:25:36 host2 postfix/postfix-script[1442]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon/pid.lock
    7. Jul 15 14:49:46 host2 postfix/postfix-script[1486]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon
    8. Jul 15 14:49:46 host2 postfix/postfix-script[1487]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon/pid
    9. Jul 15 14:49:46 host2 postfix/postfix-script[1488]: warning: not owned by postfix: /var/spool/postfix/private/authdaemon/pid.lock