Re: [imp] imp Digest, Vol 3690, Issue 1

2014-09-20 Thread info

Hello,

I have all logs set to debug - but the expected imap-log in /tmp/ does 
not exist!


I have the following horde errors in the syslog:


Sep 20 13:02:01 server1 HORDE: [imp] PHP ERROR: fgets(): SSL read 
operation timed out [pid 9043 on line 153 of 
"/usr/share/php/Horde/Imap/Client/Socket/Connection/Socket.php"]
Sep 20 13:02:02 server1 HORDE: [imp] PHP ERROR: Non-static method 
System::tmpdir() should not be called statically, assuming $this from 
incompatible context [pid 3180 on line 158 of 
"/usr/share/php/PEAR/Config.php"]
Sep 20 13:02:33 server1 HORDE: [imp] [copy] IMAP error reported by 
server. [pid 3180 on line 726 of "/var/www/horde/imp/lib/Imap.php"]
Sep 20 13:03:03 server1 dovecot: imap(i...@interpost.biz): Connection 
closed in=536 out=1425
Sep 20 13:03:03 server1 HORDE: [imp] [search] Mail server closed the 
connection unexpectedly. [pid 3180 on line 726 of 
"/var/www/horde/imp/lib/Imap.php"]
Sep 20 13:03:04 server1 HORDE: [imp] String contains non-ASCII 
characters. [pid 3180 on line 73 of 
"/usr/share/php/Horde/Imap/Client/Data/Format/String.php"]
Sep 20 13:06:08 server1 HORDE: [imp] [openMailbox] Mail server closed 
the connection unexpectedly. [pid 22723 on line 726 of 
"/var/www/horde/imp/lib/Imap.php"]


Sep 20 13:08:04 server1 HORDE: [horde] PHP ERROR: Non-static method 
System::which() should not be called statically, assuming $this from 
incompatible context [pid 15291 on line 228 of 
"/usr/share/php/PEAR/Config.php"]


Sep 20 13:08:04 server1 HORDE: [horde] PHP ERROR: Non-static method 
PEAR_Installer_Role::getValidRoles() should not be called statically, 
assuming $this from incompatible context [pid 15291 on line 273 of 
"/usr/share/php/PEAR/Installer/Role.php"]
Sep 20 13:08:04 server1 HORDE: [horde] PHP ERROR: Non-static method 
PEAR_DependencyDB::singleton() should not be called statically, assuming 
$this from incompatible context [pid 15291 on line 328 of 
"/usr/share/php/PEAR/Registry.php"]
Sep 20 13:08:04 server1 HORDE: [horde] PHP ERROR: Non-static method 
PEAR_ErrorStack::singleton() should not be called statically, assuming 
$this from incompatible context [pid 15291 on line 983 of 
"/usr/share/php/PEAR/ErrorStack.php"]


Sep 20 13:09:03 server1 named[2515]: socket.c:5274: unexpected error:
Sep 20 13:09:03 server1 named[2515]: connect(fe80::#53) 22/Invalid 
argument


Sep 20 13:09:59 server1 HORDE: PHP ERROR: mysqli::real_connect(): 
Headers and client library minor version mismatch. Headers:50538 
Library:50619 [pid 31612 on line 126 of 
"/usr/share/php/Horde/Db/Adapter/Mysqli.php"]
Sep 20 13:09:59 server1 HORDE:  1. Horde_Registry::appInit() 
/var/www/horde/admin/config/config.php:17#012 2. 
Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:299#012 3. 
Horde_Registry->checkExistingAuth() 
/usr/share/php/Horde/Registry.php:1545#012 4. 
Horde_Core_Factory_Auth->create() 
/usr/share/php/Horde/Registry.php:2557#012 5. 
Horde_Core_Factory_Auth->_create() 
/usr/share/php/Horde/Core/Factory/Auth.php:54#012 6. 
Horde_Core_Factory_Db->create() 
/usr/share/php/Horde/Core/Factory/Auth.php:173#012 7. 
Horde_Core_Factory_Db->_createDb() 
/usr/share/php/Horde/Core/Factory/Db.php:102#012 8. 
Horde_Db_Adapter_Base->__construct() 
/usr/share/php/Horde/Core/Factory/Db.php:181#012 9. 
Horde_Db_Adapter_Mysqli->connect() 
/usr/share/php/Horde/Db/Adapter/Base.php:150#01210. 
mysqli->real_connect() 
/usr/share/php/Horde/Db/Adapter/Mysqli.php:126#01211. 
Horde_ErrorHandler::errorHandler()
Sep 20 13:10:00 server1 HORDE: [horde] PHP ERROR: Declaration of 
Horde_Form_Type_country::init() should be compatible with 
Horde_Form_Type_enum::init($values, $prompt = NULL) [pid 31612 on line 0 
of "/usr/share/php/Horde/Form/Type.php"]


Sep 20 13:10:00 server1 HORDE: [horde] PHP ERROR: Non-static method 
Horde_Form_Action::factory() should not be called statically, assuming 
$this from incompatible context [pid 31612 on line 123 of 
"/usr/share/php/Horde/Config/Form.php"]
Sep 20 13:10:00 server1 HORDE: [horde] PHP ERROR: Only variables should 
be assigned by reference [pid 31612 on line 113 of 
"/usr/share/php/Horde/Config/Form.php"]


I should mention that I upgraded ph^to latest 5.5.17 sources at 
dotdeb.org.  There must be some real problem here - this is a little 
beyond me and I still cannot actually view a message in horde. I have 
had to install roundcube to view messages, and I am using roundcube to 
respond to you now!


Can you give me any more explicit locatiosn to find logs, etc...
  I believe I am running a normal up-to-date debian wheeezy server sith 
dotdeb.org php 5.5.17 on apahe 2.2 latest - mysql 5.6 up-to-date - 
nothing unusual here...


Thanks for your help and I will help all users debug this on our 
server, as I can.


Best,

ed
--

Hello,

I am unable to view any emails after upgrade of horde, imap and lz4
today. It looks like it times out when trying to display a message.
But it never displays.
The error messages states co

[imp] Mail server closed the connection unexpectedly

2014-09-20 Thread Gert Lynge
Hi

Normally when I login I end up in Imp directly, now I'm getting: "Mail
server closed the connection unexpectedly"-error.
I'm simply thrown back to the login page with this error shown.

Imap is working perfectly from other devices (Outlook on my PC and mail on
my android phone).

Horde is version 5.2.1
Imp is version 6.2.2
Apache is version 2.4.10
OS is FreeBSD 9.3-RELEASE-p2

I recently upgraded php from 5.4.32 to 5.4.33. But I don't know if that's
related to this error.

I've created a backends.local.php with:


...and the log shows:
---
--
>> Sat, 20 Sep 2014 19:40:10 +0200
>> Connection to: imap://localhost/
>> Server connection took 0,0006 seconds.
S: * OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ SASL-IR LOGIN-REFERRALS
STARTTLS] localhost IMAP4rev1 2007f.404 at Sat, 20 Sep 2014 19:40:10 +0200
(CEST)
C: 1 STARTTLS
S: 1 OK STARTTLS completed
>> Command 1 took 0,0013 seconds.
>> Successfully completed TLS negotiation.
C: 2 [INITIAL CLIENT RESPONSE (username: lynge)]
S: +
C: x
S: 2 OK [CAPABILITY IMAP4REV1 I18NLEVEL=1 LITERAL+ IDLE UIDPLUS NAMESPACE
CHILDREN MAILBOX-REFERRALS BINARY UNSELECT ESEARCH WITHIN SCAN SORT
THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND] User lynge
authenticated
>> Command 2 took 0,0107 seconds.
>> CACHE: Using the Horde_Imap_Client_Cache_Backend_Cache storage driver.
C: 3 LSUB "" INBOX
C: 4 LSUB "" *
C: 5 LSUB "" #mhinbox*
C: 6 LSUB "" #mh/*
C: 7 LSUB "" ~*
C: 8 LSUB "" #shared/*
C: 9 LSUB "" #ftp/*
C: 10 LSUB "" #news.*
C: 11 LSUB "" #public/*
S: * LSUB (\NoInferiors) NIL INBOX
S: 3 OK LSUB completed
>> Command 3 took 0,0023 seconds.
S: * LSUB () "/" sent-mail
S: * LSUB () "/" Kladder
S: * LSUB () "/" Trashcan
S: * LSUB () "/" Sent
S: * LSUB () "/" Sendt
S: * LSUB () "/" Spam
S: * LSUB () "/" Templates
S: * LSUB () "/" Trash
S: * LSUB (\NoInferiors) NIL INBOX
S: * LSUB () "/" "Sent Items"
S: * LSUB () "/" "Deleted Items"
S: * LSUB () "/" Drafts
S: * LSUB () "/" "Junk E-mail"
S: * LSUB () "/" "U&APg-nsket e-mail"
S: * LSUB () "/" Papirkurv
S: * LSUB () "/" "Slettet post"
S: * LSUB () "/" Arkiv
S: * LSUB () "/" "Sent Messages"
S: * LSUB () "/" "Deleted Messages"
S: 4 OK LSUB completed
>> Command 4 took 0,0066 seconds.
S: 5 OK LSUB completed
>> Command 5 took 0,0066 seconds.
S: 6 OK /home/lynge/mail/.mh_profile not found, mh format names disabled
>> Command 6 took 0,1012 seconds.
S: 7 OK LSUB completed
>> Command 7 took 0,1015 seconds.
S: 8 OK LSUB completed
>> Command 8 took 0,1017 seconds.
S: 9 OK LSUB completed
>> Command 9 took 0,1019 seconds.
S: 10 OK LSUB completed
>> Command 10 took 0,1021 seconds.
>> Slow Command: 120,003 seconds
>> ERROR: read/timeout error.
>> ERROR: Server closed the connection.
---

At first the timeout was after 30 sec. That is why I tried to increase it.

Any ideas?

Thank You in advantage for any help

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org