Unable to login to Horde: Call to a member function write() on a non-object

Created:

2017-02-06 12:12:47 UTC

Modified:

2017-08-08 13:41:50 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to login to Horde: Call to a member function write() on a non-object

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Unable to login to Horde for some mail accounts. The following error appears:

Call to a member function write() on a non-object Details have been logged for the administrator.

The following error could be found in /usr/local/psa/var/log/maillog :

courier-imapd: joy.chun@teddy-show.de: chdir(/var/qmail/mailnames/teddy-show.de/joy.chun) failed!!

Cause

Wrong owner in /var/qmail/mailnames/example.com:


# ls -la /var/qmail/mailnames/example.com
drwx------ 5 popuser popuser 4096 Nov 22 15:18 mailbox1
drwx------ 5 root root 4096 Nov 3 00:45 mailbox2
drwx------ 5 popuser popuser 4096 Nov 2 11:09 mailbox3
drwx------ 5 root root 4096 Nov 3 00:45 mailbox4

The owner should be popuser:popuser for all mailboxes.

Resolution

Change owner for affected mailboxes:

# chown -R popuser:popuser mailbox2/ mailbox4/
Have more questions? Submit a request
Please sign in to leave a comment.