WARNING - There is already a lockfile set

Discussion in 'General' started by pecka33, Nov 27, 2023.

  1. pecka33

    pecka33 Member

    Hello

    i have a probem. I did update of debian package via apt update and after that ispconfig does not work well. All process are stuck. What should i do? I enable log errors and get
    Code:
    root@xx:~# /usr/local/ispconfig/server/server.sh
    27.11.2023-19:18 - WARNING - There is already a lockfile set, but no process run                                                                                        ning with this pid (1383704). Continuing.
    PHP Fatal error:  Uncaught Error: Call to undefined function mysqli_init() in /u                                                                                        sr/local/ispconfig/server/lib/classes/db_mysql.inc.php:83
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/app.inc.php(76): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(384): app->__construct()
    #2 /usr/local/ispconfig/server/server.php(51): require('...')
    #3 {main}
      thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83
    PHP Fatal error:  Uncaught Error: Call to undefined function mysqli_init() in /u                                                                                        sr/local/ispconfig/server/lib/classes/db_mysql.inc.php:83
    Stack trace:
    #0 /usr/local/ispconfig/server/lib/app.inc.php(76): db->__construct()
    #1 /usr/local/ispconfig/server/lib/app.inc.php(384): app->__construct()
    #2 /usr/local/ispconfig/security/check.php(32): require('...')
    #3 {main}
      thrown in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 83
    
    Latest message in ispconfg system monitor is

    Code:
    2023-11-27T19:54:59.465319+01:00 samantos systemd[1]: Reloading.
    2023-11-27T19:55:00.040568+01:00 samantos systemd[1]: phpsessionclean.timer: Deactivated successfully.
    2023-11-27T19:55:00.040738+01:00 samantos systemd[1]: Stopped phpsessionclean.timer - Clean PHP session files every 30 mins.
    2023-11-27T19:55:00.040838+01:00 samantos systemd[1]: Stopping phpsessionclean.timer - Clean PHP session files every 30 mins...
    2023-11-27T19:55:00.040913+01:00 samantos systemd[1]: Started phpsessionclean.timer - Clean PHP session files every 30 mins.
    2023-11-27T19:55:00.049569+01:00 samantos systemd[1]: Reloading.
    2023-11-27T19:55:01.826912+01:00 samantos CRON[1287518]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2023-11-27T19:55:01.827359+01:00 samantos CRON[1287519]: (getmail) CMD (/usr/local/bin/run-getmail.sh > /dev/null 2>> /dev/null)
    2023-11-27T19:55:01.827754+01:00 samantos CRON[1287520]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2023-11-27T19:55:01.996264+01:00 samantos php8.2-apcu: php_invoke apcu prerm: No action required for PHP 8.2 cgi sapi
    2023-11-27T19:55:02.001462+01:00 samantos php8.2-apcu: php_invoke apcu prerm: No action required for PHP 8.2 cli sapi
    2023-11-27T19:55:02.006757+01:00 samantos php8.2-apcu: php_invoke apcu prerm: No action required for PHP 8.2 fpm sapi
    2023-11-27T19:55:02.567991+01:00 samantos php8.2-apcu: php_invoke apcu preinst: No action required for PHP 8.2 cgi sapi
    2023-11-27T19:55:02.573473+01:00 samantos php8.2-apcu: php_invoke apcu preinst: No action required for PHP 8.2 cli sapi
    2023-11-27T19:55:02.578592+01:00 samantos php8.2-apcu: php_invoke apcu preinst: No action required for PHP 8.2 fpm sapi
    2023-11-27T19:55:05.569098+01:00 samantos pure-ftpd: (?@::1) [INFO] New connection from ::1
    2023-11-27T19:55:05.569259+01:00 samantos pure-ftpd: (?@::1) [INFO] Logout.
    2023-11-27T19:55:05.577486+01:00 samantos dovecot: pop3-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<faIX1yYLuoYAAAAAAAAAAAAAAAAAAAAB>
    2023-11-27T19:55:05.577656+01:00 samantos dovecot: imap-login: Disconnected: Connection closed (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<YKMX1yYLitEAAAAAAAAAAAAAAAAAAAAB>
    2023-11-27T19:55:05.585583+01:00 samantos postfix/smtpd[1287875]: connect from localhost[::1]
    2023-11-27T19:55:05.585877+01:00 samantos postfix/smtpd[1287875]: lost connection after CONNECT from localhost[::1]
    2023-11-27T19:55:05.585973+01:00 samantos postfix/smtpd[1287875]: disconnect from localhost[::1] commands=0/0
    Any idea please?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. pecka33

    pecka33 Member

    Thank you, but i can not do this. Get error

    Code:
    root@:~# wget -q -O htf-common-issues.php "http://gitplace.net/pixcept/ispconfig-tools/raw/stable/htf-common-issues.php" && php -q htf-common-issues.php
    PHP Fatal error:  Uncaught Error: Call to undefined function mysqli_connect() in /root/htf-common-issues.php:288
    Stack trace:
    #0 {main}
      thrown in /root/htf-common-issues.php on line 288
    root@:~#
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please follow the chapter about server.sh error on that page.
     
  5. pecka33

    pecka33 Member

    Thank you. I did reboot of server and works fine.
     

Share This Page