Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Failed to read line: No such file or directory

    Kopano Groupware Core
    3
    6
    352
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • crankshaft
      crankshaft last edited by

      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 ?

      umgfoin 1 Reply Last reply Reply Quote 0
      • umgfoin
        umgfoin @crankshaft last edited by

        @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

        1 Reply Last reply Reply Quote 0
        • crankshaft
          crankshaft last edited by crankshaft

          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
          
          umgfoin 1 Reply Last reply Reply Quote 0
          • umgfoin
            umgfoin @crankshaft last edited by umgfoin

            This possibly happens here: gateway.cpp.
            Sounds like something serverside closed the receiving filedescriptor or SSLcontext.
            What is your gateway’s process_model?

            crankshaft 1 Reply Last reply Reply Quote 0
            • crankshaft
              crankshaft @umgfoin last edited by

              @umgfoin - Thanks for helping.

              I have no override for this so it is the default fork

              thctlo 1 Reply Last reply Reply Quote 0
              • thctlo
                thctlo @crankshaft last edited by

                @crankshaft just wondering…
                is this an IPv6 Client? and if yes, can you test this user on a IPV4 connection then.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post