Author Topic: Zentyal 4 + Samba issues [ URGENT !!! ]  (Read 1880 times)

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 516
  • Karma: +12/-1
    • View Profile
Zentyal 4 + Samba issues [ URGENT !!! ]
« on: January 05, 2015, 08:22:30 pm »
Hi guys

I have a Zentyal 4 installed here and from time to time, I have this error:

 Could not connect to Samba LDB: connect: Connection refused, retrying. (100 attempts)

And Squid stop to work...


Somebody else have the same issue??

Thanks
« Last Edit: January 06, 2015, 05:58:26 pm by Gilberto Ferreira »

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 516
  • Karma: +12/-1
    • View Profile
Re: Zentyal 4 + Samba issues [ URGENT !!! ]
« Reply #1 on: January 06, 2015, 05:57:57 pm »
Hi guys...

Just to complemente what I wrote days ago...
I think that WAN FailOver is mess up my system, because I saw this errors on zentyal.log:

15/01/05 09:10:35 INFO> failover-checker:274 main::_testRule - Gateway softville disconnected: 'Ping to gateway' test to host '172.17.1.1' has failed 80.00%, max=60%.
2015/01/05 09:10:35 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2015/01/05 09:10:35 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (200 attempts)
2015/01/05 09:10:38 INFO> Service.pm:997 EBox::Module::Service::restartService - Restarting service for module: squid
2015/01/05 09:10:38 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (1 attempts)
2015/01/05 09:10:45 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (300 attempts)
2015/01/05 09:10:45 DEBUG> Ldap.pm:219 EBox::Ldap::safeConnect - FATAL: Could not connect to the LDAP server samba: connect: Connection refused at FATAL: Could not connect to the LDAP server samba: connect: Connection refused at /usr/share/perl5/EBox/Ldap.pm line 219
EBox::Ldap::safeConnect('EBox::Ldap=HASH(0x4d82180)') called at /usr/share/perl5/EBox/Ldap.pm line 173
EBox::Ldap::connection('EBox::Ldap=HASH(0x4d82180)') called at /usr/share/perl5/EBox/Ldap.pm line 507
EBox::Ldap::rootDse('EBox::Ldap=HASH(0x4d82180)') called at /usr/share/perl5/EBox/Samba/SetUidGidNumbers.pm line 39
EBox::Samba::SetUidGidNumbers::new('EBox::Samba::SetUidGidNumbers') called at /usr/share/perl5/EBox/Samba/SetUidGidNumbers.pm line 211
2015/01/05 09:10:48 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (100 attempts)
2015/01/05 09:10:58 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (200 attempts)
2015/01/05 09:10:59 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (1 attempts)
2015/01/05 09:11:08 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (300 attempts)

So now, gateway backu on line again, and service samba, network and squid was restarted:

015/01/05 09:11:11 INFO> failover-checker:89 main:: - Gateway softville connected again.
2015/01/05 09:11:11 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2015/01/05 09:11:13 INFO> Service.pm:997 EBox::Module::Service::restartService - Restarting service for module: squid
2015/01/05 09:11:14 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (1 attempts)
2015/01/05 09:11:19 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (200 attempts)
2015/01/05 09:11:24 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (100 attempts)
2015/01/05 09:11:29 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (300 attempts)
2015/01/05 09:11:29 DEBUG> Ldap.pm:219 EBox::Ldap::safeConnect - FATAL: Could not connect to the LDAP server samba: connect: Connection refused at FATAL: Não foi possível conectar com o servidor LDAP do samba: connect: Connection refused at /usr/share/perl5/EBox/Ldap.pm line 219
EBox::Ldap::safeConnect('EBox::Ldap=HASH(0x5c7de08)') called at /usr/share/perl5/EBox/Ldap.pm line 173
EBox::Ldap::connection('EBox::Ldap=HASH(0x5c7de08)') called at /usr/share/perl5/EBox/Ldap.pm line 507
EBox::Ldap::rootDse('EBox::Ldap=HASH(0x5c7de08)') called at /usr/share/perl5/EBox/Samba/SetUidGidNumbers.pm line 39
EBox::Samba::SetUidGidNumbers::new('EBox::Samba::SetUidGidNumbers') called at /usr/share/perl5/EBox/Samba/SetUidGidNumbers.pm line 211
2015/01/05 09:11:34 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (200 attempts)
2015/01/05 09:11:39 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (1 attempts)
2015/01/05 09:11:44 WARN> Ldap.pm:215 EBox::Ldap::safeConnect - Could not connect to Samba LDB: connect: Connection refused, retrying. (300 attempts)

I JUST WONDER WHY IF A GATEWAY STOP TO RESPONDE, MODULES SAMBA, NETWORK AND SQUID RESTARTED WHEN THAT GATEWAY BACK ON LINE!!!


Somebody can help me please???

Thanks a lot