Thanks very much for that link Martin, it is the pointer I needed. The mysqli and mysql extensions were not commented out (ie enabled) in /etc/php/7.3/apache2/php.ini.
These have been changed to be commented out as the respondent suggested and the issue seems to be resolved. I did not find it necessary to include mysqlnd and pdo as also suggested by one respondent. A restart of apache2 was necessary also after this change. I did this in php7.3 only so far since this is the PHP version that Baculum seems to be using though I am not sure how Baculum chooses when multiple versions are installed. Best -Chris- > On 1 Dec 2020, at 15:16, Martin Simmons <mar...@lispworks.com> wrote: > > The error seems to be: > > /usr/lib/php/20180731/pdo_mysql.so: undefined symbol: mysqlnd_allocator > > so maybe look at: > > https://stackoverflow.com/questions/38055444/php-7-0-and-mysql-start-up-error-undefined-symbol-mysqlnd-allocator-in-unknown > > __Martin > > >>>>>> On Tue, 1 Dec 2020 09:03:19 +0000, Chris Wilkinson said: >> >> Hello All >> >> For some time now I have been getting this error when Baculum >> (v9.6.6/Debian10) starts up. The error clears if the error box is closed and >> a menu item is clicked. This may have to be repeated two or three times to >> stick. Once running, all seems to function correctly. >> >> I have checked the obvious that the supposedly missing files are present and >> they are. >> >> $ file /usr/lib/php/20180731/pdo_mysql.so >> /usr/lib/php/20180731/pdo_mysql.so: ELF 64-bit LSB shared object, x86-64, >> version 1 (SYSV), dynamically linked, >> BuildID[sha1]=330c67983f804c787b2e48688632a632d931f132, stripped >> >> $ php -v >> PHP 7.3.24-3+0~20201103.72+debian10~1.gbp945915 (cli) (built: Nov 3 2020 >> 14:31:51) ( NTS ) >> Copyright (c) 1997-2018 The PHP Group >> Zend Engine v3.3.24, Copyright (c) 1998-2018 Zend Technologies >> with Zend OPcache v7.3.24-3+0~2 >> >> I do have both php7.3 and php7.4 installed. >> >> Could anyone suggest some tests to track down the cause? >> >> Thanks >> Chris Wilkinson >> >> Error code: 100 >> >> Message: Problem with connection to remote host. cURL error 0: . >> {"output":[{"poolid":1,"name":"Default","numvols":0,"maxvols":1,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":5184000,"voluseduration":1209600,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":10737418240,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"*","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":6,"name":"Scratch","numvols":0,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":31536000,"voluseduration":0,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":0,"autoprune":1,"recycle":1,"actiononpurge":0,"pooltype":"Backup","labeltype":0,"labelformat":"*","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":28,"name":"archived-di! > ff","numvols":1,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":5184000,"voluseduration":604800,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"archived-diff","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":27,"name":"archived-full","numvols":9,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":94608000,"voluseduration":94608000,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"archived-full","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":29,"name":"archived-incr","numvols":1,"maxvols":0,"useonce":0,"usecatalog":1,! > "acceptanyvolume":0,"volretention":50400,"voluseduration":8640! > 0,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"archived-incr","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":2,"name":"file_catalog","numvols":3,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":50400,"voluseduration":1296000,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":524288000,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"catalog","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":25,"name":"media-diff","numvols":47,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":345600,"voluseduration":345600,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1! > ,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"media-diff","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":24,"name":"media-full","numvols":85,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":7776000,"voluseduration":1296000,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"media-full","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":26,"name":"media-incr","numvols":47,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":50400,"voluseduration":172800,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"lab! > elformat":"media-incr","enabled":1,"scratchpoolid":0,"recyclepoolid":0,! > "nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":31,"name":"media2-diff","numvols":16,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":345600,"voluseduration":7776000,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"media2-diff","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":30,"name":"media2-full","numvols":46,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":7776000,"voluseduration":7776000,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"media2-full","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"mi! > grationtime":0,"cacheretention":0},{"poolid":32,"name":"media2-incr","numvols":4,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":50400,"voluseduration":1209600,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"media2-incr","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":19,"name":"pool_diff","numvols":9,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":345600,"voluseduration":1296000,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"diff","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":17,"name":"pool_full","numvols"! > :45,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volrete! > ntion":15552000,"voluseduration":1296000,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"full","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0},{"poolid":18,"name":"pool_incr","numvols":60,"maxvols":0,"useonce":0,"usecatalog":1,"acceptanyvolume":0,"volretention":50400,"voluseduration":345600,"maxvoljobs":0,"maxvolfiles":0,"maxvolbytes":53687091200,"autoprune":1,"recycle":1,"actiononpurge":1,"pooltype":"Backup","labeltype":0,"labelformat":"incr","enabled":1,"scratchpoolid":0,"recyclepoolid":0,"nextpoolid":0,"migrationhighbytes":0,"migrationlowbytes":0,"migrationtime":0,"cacheretention":0}],"error":0} >> >> Prado\Exceptions\TPhpFatalErrorException >> >> Description >> >> [Core Warning] PHP Startup: Unable to load dynamic library 'pdo_mysql' >> (tried: /usr/lib/php/20180731/pdo_mysql (/usr/lib/php/20180731/pdo_mysql: >> cannot open shared object file: No such file or directory), >> /usr/lib/php/20180731/pdo_mysql.so (/usr/lib/php/20180731/pdo_mysql.so: >> undefined symbol: mysqlnd_allocator)) (@line 0 in file Unknown). >> >> Source File >> >> /usr/share/baculum/htdocs/framework/pradosoft/prado/framework/PradoBase.php >> (193) >> >> 0182: * PHP shutdown function used to catch fatal errors. >> 0183: * This method should be registered as PHP error handler using >> 0184: * {@link register_shutdown_function}. The method throws an >> exception that >> 0185: * contains the error information. >> 0186: */ >> 0187: public static function phpFatalErrorHandler() >> 0188: { >> 0189: $error = error_get_last(); >> 0190: if ($error && >> 0191: TPhpErrorException::isFatalError($error) && >> 0192: error_reporting() & $error['type']) { >> >> 0193: self::exceptionHandler(new >> TPhpFatalErrorException($error['type'], $error['message'], $error['file'], >> $error['line'])); >> >> 0194: } >> 0195: } >> 0196: >> 0197: /** >> 0198: * Default exception handler. >> 0199: * This method should be registered as default exception handler >> using >> 0200: * {@link set_exception_handler}. The method tries to use the >> errorhandler >> 0201: * module of the Prado application to handle the exception. >> 0202: * If the application or the module does not exist, it simply >> echoes the >> 0203: * exception. >> 0204: * @param Exception $exception exception that is not caught >> 0205: */ >> >> >> Stack Trace >> >> #0 [internal function]: Prado\PradoBase::phpFatalErrorHandler() >> #1 {main} >> >> 2020-12-01 08:26 Apache/2.4.38 (Debian) PRADO/4.0.1 >> >> Best >> -Chris- >> >> >> >> >> >> >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >>
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users