Failed to read line: No such file or directory
-
One of our users throws a
No such file or directory
error each time they login, this only happens with this user.I have set the gateway logging to level 5 (max) however the error message does not provide much info as to the cause / solution.
Mar 9 16:44:35 kopano kopano-gateway[980]: IMAP Login from [[::ffff:xx.156.xx.67]:38438] for user "xxxx" Mar 9 16:44:35 kopano kopano-gateway[980]: Failed to read line: No such file or directory Mar 9 16:44:35 kopano kopano-gateway[980]: Client [::ffff:xxx.156.ccc.67]:38438 thread exiting
We use IMAP and the user has tried to fix this error by using the ‘Repair’ option in the mail client (Thunderbird) however the repair process appears to hang, probably because the thread exited prematurely.
How can I find the cause of this and fix it ?
-
@crankshaft said in Failed to read line: No such file or directory:
How can I find the cause of this
gateway.cfg
: Set log_level to debug(6) and repeat.++umgfoin
-
Thanks for helping.
The logs are now immense, but at the end of the log, there is still no indication as to the reason:
Mar 9 17:27:59 kopano kopano-gateway[22268]: < 5 select "INBOX" Mar 9 17:28:00 kopano kopano-gateway[22268]: > * 4540 EXISTS Mar 9 17:28:00 kopano kopano-gateway[22268]: > * 0 RECENT Mar 9 17:28:00 kopano kopano-gateway[22268]: > * FLAGS (\Seen \Draft \Deleted \Flagged \Answered $Forwarded) Mar 9 17:28:00 kopano kopano-gateway[22268]: > * OK [PERMANENTFLAGS (\Seen \Draft \Deleted \Flagged \Answered $Forwarded)] Permanent flags Mar 9 17:28:00 kopano kopano-gateway[22268]: > * OK [UIDNEXT 451557] Predicted next UID Mar 9 17:28:00 kopano kopano-gateway[22268]: > * OK [UIDVALIDITY 232] UIDVALIDITY value Mar 9 17:28:00 kopano kopano-gateway[22268]: > 5 OK [READ-WRITE] SELECT completed Mar 9 17:28:00 kopano kopano-gateway[22268]: < 6 getquotaroot "INBOX" Mar 9 17:28:00 kopano kopano-gateway[22268]: > * QUOTAROOT "INBOX" "" Mar 9 17:28:00 kopano kopano-gateway[22268]: > 6 OK GetQuotaRoot complete Mar 9 17:28:00 kopano kopano-gateway[22268]: < 7 UID fetch 1:* (FLAGS) Mar 9 17:28:00 kopano kopano-gateway[22268]: > * 1 FETCH (UID 216888 FLAGS (\Seen \Answered)) Mar 9 17:28:00 kopano kopano-gateway[22268]: > * 2 FETCH (UID 216893 FLAGS (\Seen)) Mar 9 17:28:00 kopano kopano-gateway[22268]: > * 3 FETCH (UID 216931 FLAGS (\Seen)) <thousands more lines> Mar 9 17:25:38 kopano kopano-gateway[22268]: > * 1955 FETCH (UID 451507 FLAGS (\Seen)) Mar 9 17:25:38 kopano kopano-gateway[22268]: > * 1956 FETCH (UID 451513 FLAGS (\Seen)) Mar 9 17:25:38 kopano kopano-gateway[22268]: > 9 OK UID FETCH completed Mar 9 17:25:38 kopano kopano-gateway[22268]: Failed to read line: No such file or directory Mar 9 17:25:38 kopano kopano-gateway[22268]: Client [::ffff:xxx]:38794 thread exiting
-
This possibly happens here: gateway.cpp.
Sounds like something serverside closed the receiving filedescriptor or SSLcontext.
What is your gateway’s process_model? -
@umgfoin - Thanks for helping.
I have no override for this so it is the default
fork
-
@crankshaft just wondering…
is this an IPv6 Client? and if yes, can you test this user on a IPV4 connection then.