You are not logged in.
Hola,
Acabo de actualizar mi GLPI a la última versión estable 9.4.2 desde la versión 9.3.3 (se lleva usando el sistema desde las versiones de los años 2008-2009).
Tengo activa la ejecución de cron.php para la ejecución de tareas mediante cron con la siguiente ejecución:
/etc/cron.d/glpi
*/5 * * * * apache cd /var/www/glpi/front;php cron.php
El tema es que me ha comenzado a aparecer los siguientes mensajes enviados al email del servidor:
From root@servidor Thu May 16 15:45:04 2019
Return-Path: <root@servidor>
X-Original-To: apache
Delivered-To: apache@servidor
Received: by servidor (Postfix, from userid 48)
id 8AD08E1F88; Thu, 16 May 2019 15:45:04 +0200 (CEST)
From: root@servidor (Cron Daemon)
To: apache@servidor
Subject: Cron <apache@servidor> cd /var/www/glpi/front;php cron.php
Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <LANG=es_ES.UTF-8>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/var/www>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=apache>
X-Cron-Env: <USER=apache>
Message-Id: <20190516134504.8AD08E1F88@servidor>
Date: Thu, 16 May 2019 15:45:02 +0200 (CEST)
Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 659
*** PHP Warning(2): preg_match_all(): No ending delimiter '*' found
Backtrace :
:
inc/rulecriteria.class.php:452 preg_match_all()
inc/rule.class.php:1612 RuleCriteria::match()
inc/rule.class.php:1539 Rule->checkCriteria()
inc/rule.class.php:1429 Rule->checkCriterias()
inc/rulecollection.class.php:1539 Rule->process()
inc/mailcollector.class.php:1053 RuleCollection->processAllRules()
inc/mailcollector.class.php:678 MailCollector->buildTicket()
inc/mailcollector.class.php:1794 MailCollector->collect()
: MailCollector::cronMailgate()
inc/crontask.class.php:829 call_user_func()
front/cron.php:83 CronTask::launch()
Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 659
*** PHP Warning(2): preg_match_all(): No ending delimiter '*' found
Backtrace :
:
inc/rulecriteria.class.php:452 preg_match_all()
inc/rule.class.php:1612 RuleCriteria::match()
inc/rule.class.php:1539 Rule->checkCriteria()
inc/rule.class.php:1429 Rule->checkCriterias()
inc/rulecollection.class.php:1539 Rule->process()
inc/mailcollector.class.php:1053 RuleCollection->processAllRules()
inc/mailcollector.class.php:678 MailCollector->buildTicket()
inc/mailcollector.class.php:1794 MailCollector->collect()
: MailCollector::cronMailgate()
inc/crontask.class.php:829 call_user_func()
front/cron.php:83 CronTask::launch()
Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 659
*** PHP Warning(2): preg_match_all(): No ending delimiter '*' found
Backtrace :
:
inc/rulecriteria.class.php:452 preg_match_all()
inc/rule.class.php:1612 RuleCriteria::match()
inc/rule.class.php:1539 Rule->checkCriteria()
inc/rule.class.php:1429 Rule->checkCriterias()
inc/rulecollection.class.php:1539 Rule->process()
inc/mailcollector.class.php:1053 RuleCollection->processAllRules()
inc/mailcollector.class.php:678 MailCollector->buildTicket()
inc/mailcollector.class.php:1794 MailCollector->collect()
: MailCollector::cronMailgate()
inc/crontask.class.php:829 call_user_func()
front/cron.php:83 CronTask::launch()
Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 659
*** PHP Warning(2): preg_match_all(): No ending delimiter '*' found
Backtrace :
:
inc/rulecriteria.class.php:452 preg_match_all()
inc/rule.class.php:1612 RuleCriteria::match()
inc/rule.class.php:1539 Rule->checkCriteria()
inc/rule.class.php:1429 Rule->checkCriterias()
inc/rulecollection.class.php:1539 Rule->process()
inc/mailcollector.class.php:1053 RuleCollection->processAllRules()
inc/mailcollector.class.php:678 MailCollector->buildTicket()
inc/mailcollector.class.php:1794 MailCollector->collect()
: MailCollector::cronMailgate()
inc/crontask.class.php:829 call_user_func()
front/cron.php:83 CronTask::launch()
Los datos del sistema según GLPI:
CentOS 6.10
Operating system: Linux lin1.GHA.local 2.6.32-754.2.1.el6.x86_64 #1 SMP Fri Jul 13 12:50:12 UTC 2018 x86_64
PHP 5.6.37 apache2handler (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apache2handler, apc, apcu, bz2, calendar,
ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, intl, json, ldap, libxml,
mbstring, mcrypt, memcache, mhash, mysql, mysqli, mysqlnd, openssl, pcre, pdo_mysql, pdo_sqlite, posix, session, shmop, soap,
sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib)
Setup: max_execution_time="30" memory_limit="256M" post_max_size="8M" safe_mode="" session.save_handler="files"
upload_max_filesize="2M"
Software: Apache/2.2.15 (CentOS) (Apache/2.2.15 (CentOS) Server at helpdesk.ghenova.com Port 443)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36
Server Software: MySQL Community Server (GPL)
Server Version: 5.7.23
Server SQL Mode:
Parameters: glpi@localhost/glpi
Host info: Localhost via UNIX socket
mysqli extension is installed
ctype extension is installed
fileinfo extension is installed
json extension is installed
mbstring extension is installed
iconv extension is installed
zlib extension is installed
curl extension is installed
gd extension is installed
simplexml extension is installed
xml extension is installed
ldap extension is installed
imap extension is installed
Zend OPcache extension is installed
APCu extension is installed
xmlrpc extension is installed
CAS extension is installed
exif extension is installed
Database version seems correct (5.7.23) - Perfect!Database version seems correct (5.7.23) - Perfect!
OK/var/www/glpi/files/_log : OK
OK/var/www/glpi/config : OK
OK/var/www/glpi/files : OK
OK/var/www/glpi/files/_dumps : OK
OK/var/www/glpi/files/_sessions : OK
OK/var/www/glpi/files/_cron : OK
OK/var/www/glpi/files/_graphs : OK
OK/var/www/glpi/files/_lock : OK
OK/var/www/glpi/files/_plugins : OK
OK/var/www/glpi/files/_tmp : OK
OK/var/www/glpi/files/_cache : OK
OK/var/www/glpi/files/_rss : OK
OK/var/www/glpi/files/_uploads : OK
OK/var/www/glpi/files/_pictures : OK
Web access to the files directory should not be allowed but this cannot be checked automatically on this instance.
Make sure acces to error log file is forbidden; otherwise review .htaccess file and web server configuration.OKSELinux mode is Permissive
OKSELinux boolean configuration for httpd_can_network_connect --> on
OKSELinux boolean configuration for httpd_can_network_connect_db --> on
OKSELinux boolean configuration for httpd_can_sendmail --> on
He intentado analizar los archivos php para intentar sacar alguna solución, pero no soy capaz de encontrar el fallo. ¿Alguien ha conseguido solventarlo o sabe el motivo?
Un saludo y gracias de antemano,
Offline