Author Topic: ERROR The client was disconnected by the server because of inactivity  (Read 248 times)

nockdown

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Hello,

Describing:
Every time (second and all next) I login into Zentyal 7 as webadmin and close browser, next time I'll try to login back I got Error saying

Quote
Sorry, an unexpected error has occurred
DBD::mysql::st execute failed: The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior. at /usr/share/perl5/EBox/MyDBEngine.pm line 281

Steps to reproduce the behavior:
Login to web interface in incognito mode via Chrome (99.0.4844.51)
Logging out or without Loging out
Close browser
Wait predefined time so session end
Try to login back

How to resolve:
sudo zs webadmin restart

Zentyal version: 7.0.4
Modules installed: Firewall (non active), Logs, Network, DNS, NTP, Domain Controller and File Sharing

dzidek23

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: ERROR The client was disconnected by the server because of inactivity
« Reply #1 on: March 15, 2022, 01:05:43 pm »
Hi nockdown,

I think I've seen something similar, try to check if your database has updated successfully. If I remember correctly my problem was caused by a configuration file confirmation on database update.

If you do command line update you get "would you like to update/retain/clean your config file" kind of prompt.

hope that helps,