Author Topic: DHCP Module - Strange issue [ More or Less SOLVED ]  (Read 1711 times)

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 516
  • Karma: +12/-1
    • View Profile
DHCP Module - Strange issue [ More or Less SOLVED ]
« on: November 12, 2018, 05:59:19 pm »
Hi there!

I am using Zentyal 6 and notice this warn in zentyal.log, after restart DHCP module:

2018/11/12 14:45:05 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 114.
2018/11/12 14:45:05 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - readdir() attempted on invalid dirhandle $dirHandle at /usr/share/zentyal/stubs/dhcp/includes.mas line 17.
2018/11/12 14:45:05 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - closedir() attempted on invalid dirhandle $dirHandle at /usr/share/zentyal/stubs/dhcp/includes.mas line 21.

What should cause this issue?
Sometimes, the module showing in dashboard as stopped.
So I click in restart module, get the information above and the module still show as stopped.
However, the services dhcpd remain in running state...

Any clue??

Thanks
« Last Edit: November 12, 2018, 06:30:51 pm by Gilberto Ferreira »

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 516
  • Karma: +12/-1
    • View Profile
Re: DHCP Module - Strange issue [ More or Less SOLVED ]
« Reply #1 on: November 12, 2018, 06:30:34 pm »
Hi there!

I am using Zentyal 6 and notice this warn in zentyal.log, after restart DHCP module:

2018/11/12 14:45:05 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $dir_path in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Tools.pm line 114.
2018/11/12 14:45:05 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - readdir() attempted on invalid dirhandle $dirHandle at /usr/share/zentyal/stubs/dhcp/includes.mas line 17.
2018/11/12 14:45:05 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - closedir() attempted on invalid dirhandle $dirHandle at /usr/share/zentyal/stubs/dhcp/includes.mas line 21.

What should cause this issue?
Sometimes, the module showing in dashboard as stopped.
So I click in restart module, get the information above and the module still show as stopped.
However, the services dhcpd remain in running state...

Any clue??

Thanks

I have reinstall zentyal-dhcp and the issue is gone.
The module doesn't stop anymore.
However, I still get that WARN message...

Thanks anyway

Neustradamus

  • Zen Monk
  • **
  • Posts: 92
  • Karma: +0/-5
    • View Profile
Re: DHCP Module - Strange issue [ More or Less SOLVED ]
« Reply #2 on: November 15, 2018, 01:16:50 am »
Please create an issue here: https://github.com/zentyal/zentyal/issues/