Jump to content
Froxlor Forum

Question

Posted

Huhu @d00p,

ich weiß nicht genau, was schief gelaufen ist, aber der Mastercronjob kann sich nicht ausführen, weil angeblich die PDO-Extension fehlt:

froxlor[15056]: The php PDO extension or PDO-MySQL driver is not available
froxlor[15056]: --- DEBUG: #0 /var/www/froxlor/lib/Froxlor/Database/Database.php(213): Froxlor\Database\Database::getDB() #1 /var/www/froxlor/lib/Froxlor/Cron/MasterCron.php(213): Froxlor\Database\Database::__callStatic() #2 /var/www/froxlor/lib/Froxlor/Cron/MasterCron.php(34): Froxlor\Cron\MasterCron::init() #3 /var/www/froxlor/scripts/froxlor_master_cronjob.php(20): Froxlor\Cron\MasterCron::run() #4 {main}

Aber beim Klick auf den Link im Froxlorpanel sind folgende INIs zusätzlich geparst:

/etc/php/7.2/fpm/conf.d/00-ioncube.ini, /etc/php/7.2/fpm/conf.d/10-mysqlnd.ini, /etc/php/7.2/fpm/conf.d/10-opcache.ini, /etc/php/7.2/fpm/conf.d/10-pdo.ini, /etc/php/7.2/fpm/conf.d/15-xml.ini, /etc/php/7.2/fpm/conf.d/20-bcmath.ini, /etc/php/7.2/fpm/conf.d/20-bz2.ini, /etc/php/7.2/fpm/conf.d/20-calendar.ini, /etc/php/7.2/fpm/conf.d/20-ctype.ini, /etc/php/7.2/fpm/conf.d/20-curl.ini, /etc/php/7.2/fpm/conf.d/20-dba.ini, /etc/php/7.2/fpm/conf.d/20-dom.ini, /etc/php/7.2/fpm/conf.d/20-enchant.ini, /etc/php/7.2/fpm/conf.d/20-exif.ini, /etc/php/7.2/fpm/conf.d/20-fileinfo.ini, /etc/php/7.2/fpm/conf.d/20-ftp.ini, /etc/php/7.2/fpm/conf.d/20-gd.ini, /etc/php/7.2/fpm/conf.d/20-gettext.ini, /etc/php/7.2/fpm/conf.d/20-gmp.ini, /etc/php/7.2/fpm/conf.d/20-iconv.ini, /etc/php/7.2/fpm/conf.d/20-imap.ini, /etc/php/7.2/fpm/conf.d/20-interbase.ini, /etc/php/7.2/fpm/conf.d/20-intl.ini, /etc/php/7.2/fpm/conf.d/20-json.ini, /etc/php/7.2/fpm/conf.d/20-ldap.ini, /etc/php/7.2/fpm/conf.d/20-mbstring.ini, /etc/php/7.2/fpm/conf.d/20-mysqli.ini, /etc/php/7.2/fpm/conf.d/20-odbc.ini, /etc/php/7.2/fpm/conf.d/20-pdo_dblib.ini, /etc/php/7.2/fpm/conf.d/20-pdo_firebird.ini, /etc/php/7.2/fpm/conf.d/20-pdo_mysql.ini, /etc/php/7.2/fpm/conf.d/20-pdo_odbc.ini, /etc/php/7.2/fpm/conf.d/20-pdo_sqlite.ini, /etc/php/7.2/fpm/conf.d/20-phar.ini, /etc/php/7.2/fpm/conf.d/20-posix.ini, /etc/php/7.2/fpm/conf.d/20-pspell.ini, /etc/php/7.2/fpm/conf.d/20-readline.ini, /etc/php/7.2/fpm/conf.d/20-recode.ini, /etc/php/7.2/fpm/conf.d/20-shmop.ini, /etc/php/7.2/fpm/conf.d/20-simplexml.ini, /etc/php/7.2/fpm/conf.d/20-snmp.ini, /etc/php/7.2/fpm/conf.d/20-soap.ini, /etc/php/7.2/fpm/conf.d/20-sockets.ini, /etc/php/7.2/fpm/conf.d/20-sqlite3.ini, /etc/php/7.2/fpm/conf.d/20-sysvmsg.ini, /etc/php/7.2/fpm/conf.d/20-sysvsem.ini, /etc/php/7.2/fpm/conf.d/20-sysvshm.ini, /etc/php/7.2/fpm/conf.d/20-tidy.ini, /etc/php/7.2/fpm/conf.d/20-tokenizer.ini, /etc/php/7.2/fpm/conf.d/20-wddx.ini, /etc/php/7.2/fpm/conf.d/20-xmlreader.ini, /etc/php/7.2/fpm/conf.d/20-xmlrpc.ini, /etc/php/7.2/fpm/conf.d/20-xmlwriter.ini, /etc/php/7.2/fpm/conf.d/20-xsl.ini, /etc/php/7.2/fpm/conf.d/20-zip.ini

und PDO ist definitiv geparst und somit auch aktiv, was mir die PHPINFO-Page ebenfalls bestätigt hat.

Was läuft hier ggf. gerade schief? In den Logs konnte ich nichts finden (syslog).
Würde mich freuen, wenn das gelöst werden kann, denn so lange, kann der Cronjob nicht richtig laufen und auch nicht Mailfächer löschen/anlegen usw.

LG

Marcel

9 answers to this question

Recommended Posts

  • 0
Posted

Darfst nicht verwechseln das Froxlor und auch kunden mod_php, php-fpm oder fcgid (php-cgi) nutzen...keines davon ist php-cli ....also achtung falls da auf der shell ggfls was anderes als default gesetzt ist, die infos ausm Panel müssen nicht übereinstimmen mit denen auf der shell

  • 0
Posted

Ja, habe eben gesehen, dass es 7.4.4 nutzt und gem. "php --ini" habe ich den folgenden output:

fDImzsx.png

Ergo muss ich da gerade einiges nachinstallieren, was mich wundert, da mal alles installiert war, bei den einzelnen Versionen X.X

  • 0
Posted

AE0uT2N.png

Warum war mir das nur so klar, dass da Pakete fehlen? Noch nicht mal FPM für 7.4 konfiguriert X.X ... naja, ist eh nur noch eine Spielinstallation, bis der neue Server, mit Dockercontainern, läuft.
Gibt es dazu ein Image, für Docker?

  • 0
Posted

Ok, durchgelaufen und nun kommt folgendes:

 php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force
[Sa 21. Mär 23:32:19 CET 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
 

 php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force
[Sa 21. Mär 23:32:19 CET 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35

Gemäß der Seite heißt dies:

CURLE_SSL_CONNECT_ERROR (35)

A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others.

Mal gucken, was der Cronjob jetzt nicht machen konnte oder ob es an den neuen Feldern liegt oder, was auch immer *grübel*

  • 0
Posted
13 minutes ago, Chaos234 said:

Ok, durchgelaufen und nun kommt folgendes:

 php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force
[Sa 21. Mär 23:32:19 CET 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
 


 php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force
[Sa 21. Mär 23:32:19 CET 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35

Gemäß der Seite heißt dies:


CURLE_SSL_CONNECT_ERROR (35)

A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others.

Mal gucken, was der Cronjob jetzt nicht machen konnte oder ob es an den neuen Feldern liegt oder, was auch immer *grübel*

Häng doch bitte wenn bei sowas auch immer --debug an, ist sicher was von let's encrypt

13 minutes ago, Chaos234 said:

Ist sowas mit Froxlor möglich oder eher schwierig?

Nie wirklich probiert, tu dir keinen zwang an ;)

  • 0
Posted
vor 19 Minuten schrieb d00p:

Häng doch bitte wenn bei sowas auch immer --debug an, ist sicher was von let's encrypt

Oh ok, wusste nicht, dass das geht ^^ - Allerdings haut er dieses mal keine Fehler raus, auch nicht dann, wenn ich die Configs über's Interface neu schreiben lasse.

vor 19 Minuten schrieb d00p:

Nie wirklich probiert, tu dir keinen zwang an ;)

Ok, werde ich dann mal versuchen, ob das ganze klappt. Muss halt bei den Configs aufpassen, wenn die ganzen anderen Services in einem externen Container liegen ^^

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...