Author Topic: can't log in Webadmin  (Read 1691 times)

Sycoriorz

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
Re: can't log in Webadmin
« Reply #15 on: September 13, 2021, 08:57:51 am »
Dear,

i got this same issue.

Fresh installation but restored out of an Backup.
This backup was created from an old 5.1 Server which was updated till 7.0.
After finished update i create an Backup and has done an fresh install with restore

regards


grolon

  • Zen Apprentice
  • *
  • Posts: 38
  • Karma: +2/-0
    • View Profile
Re: can't log in Webadmin
« Reply #16 on: September 22, 2021, 01:49:00 pm »
Hi all,
I think i have the same problem

My test server is a zentyal 6.2 upgraded to 7.0

Error inserting data: INSERT INTO audit_sessions ( `timestamp`, `event`, `username`, `ip`) VALUES ( ?, ?, ?, ?) Values: $VAR1 = [ '2021-9-20 10:47:40', 'expired', 'administrador', 3232235777 ]; at /usr/share/perl5/EBox/MyDBEngine.pm line 289

I think this is related to logging msg to/from MySQL

I have disabled LOG in zentyal, for a couple of days, NO errors.

Today i have enabled them again, an got this error

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

Any help will be welcomed

turalyon

  • Zen Apprentice
  • *
  • Posts: 42
  • Karma: +11/-0
    • View Profile
Re: can't log in Webadmin
« Reply #17 on: September 27, 2021, 10:22:09 am »
In my case, I have created a cronjob that restarts the webadmin module each 6 hours. This 'fix' the behaviour for me. Below my cronjob code:

Code: [Select]
## Workaround
## Added on: 15-09-2021
## Bug: https://github.com/zentyal/zentyal/issues/2055
0 */6 * * * /usr/bin/zs webadmin restart >/dev/null 2>&1

---
“This world is ours, and by the Holy Light we will keep it safe, now and forever".

grolon

  • Zen Apprentice
  • *
  • Posts: 38
  • Karma: +2/-0
    • View Profile
Re: can't log in Webadmin
« Reply #18 on: September 30, 2021, 03:06:26 pm »
Nice tip, thanks

fvarga

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: can't log in Webadmin
« Reply #19 on: October 08, 2021, 06:24:49 pm »
Unfortunately same thing here.
When I access from server, everything is ok.

But when I try from another PC which is on domain I always get this msg.

400 Bad Request
The plain HTTP request was sent to HTTPS port
nginx

command -> sudo zs webadmin restart doesn't help...

Anyone know what to do ?

Thank you in advance.

modsuper

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: can't log in Webadmin
« Reply #20 on: October 16, 2021, 09:43:19 am »
Thank you for the information, we are working in the solution.
ModSuper, Türk ülkesi için en iyi apk mod oyun ve uygulama sağlayıcısıdır. Buradan en güncel ve tamamen ücretsiz mod apk dosyasını güncelleyebilir ve indirebilirsiniz.
İletişim: 262 9376568
Mail: modsuper68@gmail.com

fvarga

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: can't log in Webadmin
« Reply #21 on: October 23, 2021, 01:28:41 pm »
Hi,

any news ?