Job Queue stuck after trying to add additional PHP version

Discussion in 'ISPConfig 3 Priority Support' started by webguyz, Jan 8, 2020.

  1. webguyz

    webguyz Active Member HowtoForge Supporter

    I was adding additional precompiled php versions and they got stuck in the job queue. Turned on debug and ran the cron jobs manually and got the error below. Can some give me a clue as to what I can do to fix this? Running Debian 9 and ISPConfig 3.1.13.
    Thanks!

    PHP:
    root@dotwg:~# /usr/local/ispconfig/server/server.sh
    08.01.2020-15:16 WARNING There is already a lockfile setbut no process running with this pid (1639). Continuing.
    PHP Fatal error:  Uncaught ErrorCall to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:78
    Stack trace
    :
    #0 /usr/local/ispconfig/server/lib/app.inc.php(46): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(208): app->__construct()
    #2 /usr/local/ispconfig/server/server.php(51): require('/usr/local/ispc...')
    #3 {main}
      
    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
    PHP Fatal error
    :  Uncaught ErrorCall to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:78
    Stack trace
    :
    #0 /usr/local/ispconfig/server/lib/app.inc.php(46): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(208): app->__construct()
    #2 /usr/local/ispconfig/security/check.php(32): require('/usr/local/ispc...')
    #3 {main}
      
    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
    root
    @dotwg:~# ^C
    root@dotwg:~# /usr/local/ispconfig/server/cron.sh
    PHP Fatal error:  Uncaught ErrorCall to undefined function mysqli_init() in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php:78
    Stack trace
    :
    #0 /usr/local/ispconfig/server/lib/app.inc.php(46): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(208): app->__construct()
    #2 /usr/local/ispconfig/server/cron.php(53): require('/usr/local/ispc...')
    #3 {main}
      
    thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
     
  2. webguyz

    webguyz Active Member HowtoForge Supporter

    I ran
    update-alternatives --config php
    update-alternatives --config php-cgi
    update-alternatives --config php-cgi-bin
    and switched to the original 7.0 os and was able to get things working again.
     
    till and Taleman like this.

Share This Page