• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 11.5 Horde login problem

Status
Not open for further replies.

metalalisa

Basic Pleskian
Hi everyone, I have a problem with login into Horde.

My OS openSUSE 12.2
Panel-Version 11.5.30 Update #31, Jan. 31, 2014 12:47 AM

When I type the login and password and submit the form it opens again, and no error appears.

If I login via
Code:
telnet localhost 143
I become the message
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1 AUTH=CRAM-SHA256 AUTH=PLAIN IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc. See COPYING for distribution information.
LOGIN ***@***.com *****
LOGIN NO Error in IMAP command received by server.

maillog contains this
Code:
11683858-Feb  1 11:34:29 my-server-com courier-imapd: Connection, ip=[::ffff:127.0.0.1]
11683942-Feb  1 11:34:29 my-server-com courier-authdaemon: received auth request, service=imap, authtype=login
11684049-Feb  1 11:34:29 my-server-com courier-authdaemon: authpsa: trying this module
11684132:Feb  1 11:34:29 my-server-com courier-authdaemon: authpsa: authentication request with service='imap' authtype='login' authdata='[email protected].'
11684296:Feb  1 11:34:29 my-server-com courier-authdaemon: authpsa: auth_psa_common(user='[email protected]', pass='5X3u63fK')
11684420:Feb  1 11:34:29 my-server-com courier-authdaemon: authpsa: password for '[email protected]' is plain '5X3u63fK'
11684538:Feb  1 11:34:29 my-server-com courier-authdaemon: authpsa: sysusername=popuser, sysuserid=110, sysgroupid=30, homedir=/var/qmail/mailnames/my-server.com/info, [email protected], fullname=<null>, maildir=<null>, quota=<null>, options=<null>
11684792-Feb  1 11:34:29 my-server-com courier-authdaemon: authpsa: clearpasswd=5X3u63fK, passwd=<null>
11684892-Feb  1 11:34:29 my-server-com courier-authdaemon: authpsa: about to check auth.clearpasswd: pass='5X3u63fK' auth.clearpasswd='5X3u63fK'
11685033:Feb  1 11:34:29 my-server-com courier-authdaemon: Authenticated: sysusername=popuser, sysuserid=110, sysgroupid=30, homedir=/var/qmail/mailnames/my-server.com/info, [email protected], fullname=<null>, maildir=<null>, quota=<null>, options=<null>
11685293-Feb  1 11:34:29 my-server-com courier-authdaemon: Authenticated: clearpasswd=5X3u63fK, passwd=<null>
11685399-Feb  1 11:34:29 my-server-com courier-authdaemon: authpsa: auth_psa_common() callback returned 0
11685501:Feb  1 11:34:29 my-server-com courier-imapd: LOGIN, [email protected], ip=[::ffff:127.0.0.1], port=[59780], protocol=IMAP
11685634:Feb  1 11:34:29 my-server-com courier-imapd: LOGOUT, [email protected], ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=24, sent=286, time=0, starttls=1

mail_check doesn't help.

Please, send your suggestions, what can I try.
 
On my test server I see

# stat /var/log/psa-horde/psa-horde.log
File: `/var/log/psa-horde/psa-horde.log'
Size: 4402 Blocks: 16 IO Block: 4096 regular file
Device: 18h/24d Inode: 33884323 Links: 1
Access: (0640/-rw-r-----) Uid: ( 501/horde_sysuser) Gid: ( 505/horde_sysgroup)
 
Code:
# stat /var/log/psa-horde/psa-horde.log
  File: ‘/var/log/psa-horde/psa-horde.log’
  Size: 0         	Blocks: 0          IO Block: 4096   regular empty file
Device: 806h/2054d	Inode: 333         Links: 1
Access: (0640/-rw-r-----)  Uid: (  105/horde_sysuser)   Gid: ( 2530/horde_sysgroup)

I've changed permissions but file is still empty
 
I've found the problem and solution. The problem was the wrong permissions for php-session store folder
Code:
stat /var/lib/php5
  File: ‘/var/lib/php5’
  Size: 40960     	Blocks: 64         IO Block: 4096   directory
Device: 806h/2054d	Inode: 16777355    Links: 2
Access: (0755/drwxr-xr-x)  Uid: (   30/  wwwrun)   Gid: (    0/    root)

and correct are
Code:
stat /var/lib/php5
  File: ‘/var/lib/php5’
  Size: 40960     	Blocks: 64         IO Block: 4096   directory
Device: 806h/2054d	Inode: 16777355    Links: 2
Access: (1733/drwx-wx-wt)  Uid: (    0/    root)   Gid: (    0/    root)
 
Hello,

I am happy to hear the issue is now resolved. Thank you for letting us know the solution.
 
Status
Not open for further replies.
Back
Top