Inodes problem after last update

Discussion in 'Installation/Configuration' started by Lodivod, Sep 17, 2019.

  1. Lodivod

    Lodivod Member

    Hi, after last update ISPConfig to 3.1.15 we have a problem with increasing inodes.
    Old sessions in all tmp directories are not deleted.
    for example /var/www/clients/client1/web50/tmp
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There has nothing be changed in the code that cleans the tmp dirs as far as I can see. Check that the cron.sh cronjob in root crontab is not commented out.
     
  3. Lodivod

    Lodivod Member

    Hi,
    in my crontab is:

    root@server:~# crontab -l
    10 4 * * * /root/mysql_backup.sh
    * * * * * /usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
    * * * * * /usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This looks fine so far. Do you get any errors when you run:
    /usr/local/ispconfig/server/cron.sh
    as root user?
     
  5. Lodivod

    Lodivod Member

    Not work:

    root@server:~# /usr/local/ispconfig/server/cron.sh
    PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:83
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/app.inc.php(47): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(232): app->__construct()
    #2 /usr/local/ispconfig/server/cron.php(71): require('/usr/local/ispc...')
    #3 {main}
    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Your cli php misses mysql support. That's not an ispconfig update related issue.
     
  7. Lodivod

    Lodivod Member

    We use multiple versions of PHP on the server.
    How do I find out what version ISPConfig uses?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    php --version
     
  9. Lodivod

    Lodivod Member

    PHP 7.3.9-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Sep 2 2019 12:54:24) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.9-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies


    OK, thanks
    I installed the missing libraries in php 7.3, now everything works
     
    Chris_UK likes this.

Share This Page