wwl Posted August 5, 2016 Share Posted August 5, 2016 In meiner syslog steht von Froxlor folgende Fehlermeldung: Aug 5 17:09:01 j297398 CRON[12461]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean) Aug 5 17:09:01 j297398 CRON[12460]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean) Aug 5 17:10:01 j297398 CRON[12565]: (root) CMD (/usr/bin/nice -n 5 /usr/bin/php -q /var/www/html/froxlor/scripts/froxlor_m aster_cronjob.php) Aug 5 17:10:01 j297398 froxlor[12566]: The php PDO extension or PDO-MySQL driver is not available Aug 5 17:10:01 j297398 froxlor[12566]: --- DEBUG: #0 /var/www/html/froxlor/lib/classes/database/class.Database.php(178): D atabase::getDB() #1 /var/www/html/froxlor/lib/cron_init.php(92): Database::__callStatic('query', Array) #2 /var/www/html/fr oxlor/scripts/froxlor_master_cronjob.php(21): include_once('/var/www/html/f...') #3 {main} Die crons werden nicht ausgeführt weil was mit der Datenbank nicht stimmt. Christian Link to comment Share on other sites More sharing options...
d00p Posted August 5, 2016 Share Posted August 5, 2016 Steht doch da: The php PDO extension or PDO-MySQL driver is not available Link to comment Share on other sites More sharing options...
wwl Posted August 5, 2016 Author Share Posted August 5, 2016 Was ist das denn für ein Modul für Debian8 ? Ich finde da nichts in aptitude. Christian Link to comment Share on other sites More sharing options...
d00p Posted August 5, 2016 Share Posted August 5, 2016 Wenn du froxlor nicht via apt installiert hast, dort wird das entsprechende Paket mit installiert, dann brauchst du php5-pdo Link to comment Share on other sites More sharing options...
wwl Posted August 6, 2016 Author Share Posted August 6, 2016 Hallo, ich hab jetzt froxlor ganz neu über Apt installiert. Aber diese PDO Erweiterung wird nicht mit geladen. Der Fehler ist immer noch da. Des weiteren gibt es Probleme beim anlegen von Domains. Die werden nicht gespeichert mit der Fehlermeldung: A database error occurred SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect date value: '0000-00-00' for column 'registration_date' at row 1 Kann es sein das es daran liegt das ich MySQL 5.7 verwende? Christian Link to comment Share on other sites More sharing options...
d00p Posted August 6, 2016 Share Posted August 6, 2016 Wie kannst du domains hinzufügen wenn doch angeblich die PDO extension garnicht geladen ist? macht für mich wenig sinn... Und via apt wird die sicher mitinstalliert. Schau bitte das du in mysql nicht den Strict-mode aktiviert hast Link to comment Share on other sites More sharing options...
wwl Posted August 6, 2016 Author Share Posted August 6, 2016 PDO-MySQL ist doch die Anbindung von PHP zu Mysql, oder? Ich kann aber froxlor normal installieren und die Datenbanken werden alle angelegt. Also sollte doch die Verbindung zu MySql stehen? php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php froxlor[7812]: The php PDO extension or PDO-MySQL driver is not available froxlor[7812]: --- DEBUG: #0 /var/www/froxlor/lib/classes/database/class.Database.php(178): Database::getDB() #1 /var/www/froxlor/lib/cron_init.php(92): Database::__callStatic('query', Array) #2 /var/www/froxlor/scripts/froxlor_master_cronjob.php(20): include_once('/var/www/froxlo...') #3 {main} We are sorry, but a MySQL - error occurred. The administrator may find more information in the syslogroot@j297398:/etc/mysql/mysql.conf.d# ^C syslog: Aug 6 18:55:01 j297398 CRON[7822]: (root) CMD (/usr/bin/nice -n 5 /usr/bin/php -q /var/www/froxlor/scripts/froxlor_master_cronjob.php) Aug 6 18:55:01 j297398 froxlor[7823]: The php PDO extension or PDO-MySQL driver is not available Aug 6 18:55:01 j297398 froxlor[7823]: --- DEBUG: #0 /var/www/froxlor/lib/classes/database/class.Database.php(178): Database::getDB() #1 /var/www/froxlor/lib/cron_init.php(92): Database::__callStatic('query', Array) #2 /var/www/froxlor/scripts/froxlor_master_cronjob.php(20): include_once('/var/www/froxlo...') #3 {main} Komisch Link to comment Share on other sites More sharing options...
d00p Posted August 6, 2016 Share Posted August 6, 2016 also da ist wohl was ganz krumm bei dir, sorry, das kann nicht sein. Der legt sicher keine Datenbanken an, wenn die PDO extension nicht gefunden werden kann. oder, wenn es NUR der Cron ist, hast du die extension vllt für php-cli nicht geladen? Link to comment Share on other sites More sharing options...
wwl Posted August 6, 2016 Author Share Posted August 6, 2016 Ich habe php5-mysqlnd geladen und natürlich php5-cli Link to comment Share on other sites More sharing options...
d00p Posted August 6, 2016 Share Posted August 6, 2016 Dann schau doch einfach mal mit php -m ob da was mit pdo auftaucht, bei allen anderen Debian Usern geht es doch auch...weiss ja nicht was du da genau machst. Link to comment Share on other sites More sharing options...
wwl Posted August 6, 2016 Author Share Posted August 6, 2016 php -m calendar Core ctype curl date exif fileinfo filter ftp gd gettext hash iconv igbinary imagick imap json libxml mcrypt memcached msgpack openssl pcntl pcre PDO Phar posix readline Reflection session shmop sockets SPL standard sysvmsg sysvsem sysvshm tokenizer Zend OPcache zlib Link to comment Share on other sites More sharing options...
d00p Posted August 6, 2016 Share Posted August 6, 2016 Dann fehlt wohl der pdo MySQL Treiber... Link to comment Share on other sites More sharing options...
wwl Posted August 6, 2016 Author Share Posted August 6, 2016 PDO ist aber doch drin ? Link to comment Share on other sites More sharing options...
d00p Posted August 6, 2016 Share Posted August 6, 2016 http://php.net/manual/de/pdo.installation.php Link to comment Share on other sites More sharing options...
Question
wwl
In meiner syslog steht von Froxlor folgende Fehlermeldung:
Link to comment
Share on other sites
13 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.