Author Topic: session invalid or expired - and logging  (Read 2643 times)

Offline rainer_d

  • Newbie
  • *
  • Posts: 1
session invalid or expired - and logging
« on: November 08, 2015, 02:42:35 PM »
Hi,

I've installed roundcube:

FreeBSD 10.1 amd64
PHP 5.5.30 (php-fpm, no chroot)
nginx 1.8

I've run the installer and was able to send a test-mail.
(Mailserver and SMTP-Relay are in different jails on the same (virtualized) host).

It complained about syslog, but I fixed that by actually allowing the openlog php function, later on.

When I login now, I get the "session invalid or expired" error message.

I've set debugging

Code: [Select]
$config['debug_level'] = 8;
$config['log_logins'] = true;
$config['log_session'] = true;
$config['sql_debug'] = true;
but nothing shows up in the logs.
No log-files show up in the logs directory.

If I ktrace the php-fpm processes, I get:


Code: [Select]
39028 php-fpm  GIO   fd 8 wrote 104 bytes
       "<14>Nov  8 20:22:04 roundcube: <596s8e3j> Session auth check failed for ; timeslot = 2015-11-08 18:00:00"
 39028 php-fpm  RET   sendto 104/0x68
 39028 php-fpm  CALL  sendto(0x8,0x7fffffffb790,0x86,0,0,0)
 39028 php-fpm  GIO   fd 8 wrote 134 bytes
       "<14>Nov  8 20:22:04 roundcube: <596s8e3j> Session authentication failed for ; invalid auth cookie sent; timeslot = 2015-11-08 13:00:00"
 39028 php-fpm  RET   sendto 134/0x86
 39028 php-fpm  CALL  sendto(0x8,0x7fffffffb790,0x73,0,0,0)
 39028 php-fpm  GIO   fd 8 wrote 115 bytes
       "<14>Nov  8 20:22:04 roundcube: <596s8e3j> [2] DELETE FROM `session` WHERE `sess_id` = '596s8e3jtt5uehq8o32luj18i1';"
 39028 php-fpm  RET   sendto 115/0x73

I've set a timezone in php configuration - and it shows when running phpinfo().

What causes this?