You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2011-09-22 13:01:28

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

3 errors appearing in the PHP log

Hi,

I'm trying to debug my email issue, and just noticed these three errors.  Why is GLPI trying to use rsh against an IMAP server? And what do the other errors mean ?

22-09-2011 11:59 [@ubiq-serv2]
Notice(8): Unknown: rsh to IMAP server timed out (errflg=1)
Backtrace :

22-09-2011 11:59 [@ubiq-serv2]
Notice(8): Unknown: Kerberos error: Unknown code krb5 195 (try running kinit) for ubiq-cashts.domain.local (errflg=1)
Backtrace :

22-09-2011 11:59 [@ubiq-serv2]
Notice(8): Unknown: SECURITY PROBLEM: insecure server advertised AUTH=PLAIN (errflg=1)
Backtrace :


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#2 2011-09-27 00:29:08

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: 3 errors appearing in the PHP log

GLPI (IE PHP) try to  use rsh or ssh to establish a preauthenticated IMAP session.

Why ? I don't know.

It's very difficult to help you. You write information in a lot of different theads and you have a complex configuration. It's a limit of a community support....


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

#3 2011-09-28 00:17:51

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Re: 3 errors appearing in the PHP log

Hi JMD,

These are messages appearing in the GLPI logs by the GLPI scripts, so I'd really hope that these errors did mean something to GLPI developers!, otherwise - whats the point in logging it ?

how is my setup complex?  I'm using LDAP for Auth, IMAP for retrieving email and SMTP for sending email. Those are all standard protocols, and in general it all works very well (a credit to the devs)

But yes I do open a lot of threads, but thats because I hit quite a few issues where theres no easy explanation.

Nothing in the IMAP configuration mentions 'rsh', so why would GLPI be logging it ? I don't use Kerberos, so again - GLPI is logging Kerberos errors because...?  and as for the third error, it doesn't even say what part of GLPI is causing the problem. No script names, no fucntion names - nothing other than AUTH=PLAIN, which I'd guess at something to do with LDAP.


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#4 2012-04-13 15:42:33

linvinus
Member
Registered: 2009-07-16
Posts: 29

Re: 3 errors appearing in the PHP log

same problem after upgrade to 0.83
my setup:
glpi 0.83
imap mail collector (ssl no tls)
ubuntu 8.04

PHP 5.2.4-2ubuntu5.12 with Suhosin-Patch 0.9.6.2 (cli) (built: Sep 20 2010 13:18:10)

Last edited by linvinus (2012-04-13 16:12:49)


glpi 0.83.2, ocs 2.0.2-2, Ubuntu 8.04.4 LTS

Offline

#5 2012-04-13 17:52:06

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: 3 errors appearing in the PHP log

rsh and kerberos will be managed in 0.84 (but will requires php > 5.3.2)


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#6 2012-04-16 08:00:32

linvinus
Member
Registered: 2009-07-16
Posts: 29

Re: 3 errors appearing in the PHP log

I found where problem is!
I use debian package from unstable, it have patch 02-remove-code-copy-phpmailer.patch
with following changes

-   define("GLPI_PHPMAILER_DIR", GLPI_ROOT."/lib/phpmailer");
+   define("GLPI_PHPMAILER_DIR", "/usr/share/php/libphp-phpmailer");

so problem was in different versions of phpmailer

Fatal error: Call to undefined method NotificationMail::SetFrom() in /usr/share/glpi/inc/notificationmail.class.php on line 221

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /usr/share/glpi/inc/toolbox.class.php on line 380
PHP Notice: Unknown: Kerberos error: No credentials cache found (try running kinit) for mail.itlg.ru (errflg=1) in Unknown at line 0

I just remove this patch and now it works!

Last edited by linvinus (2012-04-16 08:04:20)


glpi 0.83.2, ocs 2.0.2-2, Ubuntu 8.04.4 LTS

Offline

Board footer

Powered by FluxBB