You are not logged in.
Pages: 1
Good afternoon, colleagues.
Please forgive my poor English.
GLPI do not automatically receive tickets from a mailbox in the job runs as a cron job
Manually via the button "Get email tikets now" from Receiver - works fine.
Topic known, but I tried all the recommendations that have found - is not working.
The people working - I do not.
I've tried GLPI version 0.90 and 0.90.1.
Operating system: Linux Dream 3.13.0-68-generic #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 x86_64
PHP 5.5.9-1ubuntu4.14 fpm-fcgi (Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apc,
apcu, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext,
hash, iconv, imap, json, ldap, libxml, mbstring, mhash, mysql, mysqli, openssl, pcre, pdo_mysql, posix, readline, session,
shmop, soap, sockets, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, zip, zlib)
Setup: max_execution_time="30" memory_limit="256M" post_max_size="40M" safe_mode=""
session.save_handler="files" upload_max_filesize="10M"
Software: nginx/1.8.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Server Software: (Ubuntu)
Server Version: 5.5.46-0ubuntu0.14.04.2
Server SQL Mode:
Parameters: glpi@localhost/glpi
Host info: Localhost via UNIX socket
Automatic action - mailgate
Run frequency 5-min.
Status Running
Run mode CLI
Run period 0 -> 24
Number of days this action logs are stored 30
Number of emails to retrieve 10
Last run 2015-12-03 03:00
Next run Running - it hangs constantly, but if interrupting the job and execute from a web interface manually, everything is going to work, and mail will go into the system.
cron
/etc/cron.d# cat glpi
PATH=/sbin:/usr/sbin:/bin:/usr/bin
# start glpi mailgate
*/5 * * * * www-data /usr/bin/php5 /usr/share/nginx/glpi/front/cron.php &>/dev/null
I tried to get mail by POP and IMAP - no difference.
Syslog fragment:
Dec 3 13:45:01 Dream CRON[32506]: (www-data) CMD (/usr/bin/php5 /usr/share/nginx/glpi/front/cron.php &>/dev/null)
What am I doing wrong?
Thanks in advance.
Last edited by Igor.Kuzmin (2015-12-03 16:10:03)
Offline
Status : Running
Your action is surely crashed.
You should reset it with the dedicated button (X)
A started action can't be started again
Offline
in your cron, delete &>/dev/null to see error until it works fine.
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Status : Running
Your action is surely crashed.
You should reset it with the dedicated button (X)A started action can't be started again
I did it. All repeated.
Offline
in your cron, delete &>/dev/null to see error until it works fine.
No mistakes. In syslog record that the job was started. Status of the mailgate is running.
Offline
Yes but in cron.log you will see which action in launched
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Pages: 1