Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: whitehat on June 01, 2011, 12:51:58 pm

Title: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: whitehat on June 01, 2011, 12:51:58 pm
Running the most recent beta of zentyal on Ubuntu 10.04..2 LTS with all updates:

  zentyal              2.1
  zentyal-common  2.1.1
  zentyal-core       2.1.4
  zentyal-squid      2.1.2


I ran sudo apt-get upgrade today and all went well until it began to upgrade zentyal-squid.  I've included log files, zentyal.log,  history.log term.log and output from console.

CPU and Mem are at 57% and 62% respectely.  The upgrade seems to be stuck at the following:

Deep recursion on subroutine "EBox::Model::ModelManager::_setUpModelsFromProvider" at /usr/share/perl5/EBox/Model/ModelManager.pm line 564.
Deep recursion on subroutine "EBox::Types::Select::foreignModel" at /usr/share/perl5/EBox/Model/ModelManager.pm line 637.
Deep recursion on subroutine "EBox::DNS::Model::NameServer::_hostnameModel" at /usr/share/perl5/EBox/Types/Select.pm line 214.
Deep recursion on subroutine "EBox::Model::Component::parentRow" at /usr/share/perl5/EBox/DNS/Model/NameServer.pm line 285.
Deep recursion on subroutine "EBox::Model::Component::parent" at /usr/share/perl5/EBox/Model/Component.pm line 261.

Additional info:
  top indicates command initial-setup is at 94% CPU and 72% memory.

Ideas?

Thank you.


================

update after 45 minutes the following:

Deep recursion on subroutine "EBox::Model::Component::parent" at /usr/share/perl5/EBox/Model/Component.pm line 261.
Deep recursion on subroutine "EBox::Model::Component::parentRow" at /usr/share/perl5/EBox/DNS/Model/NameServer.pm line 285.
Deep recursion on subroutine "EBox::Model::Component::parent" at /usr/share/perl5/EBox/Model/Component.pm line 261.
/var/lib/dpkg/info/zentyal-squid.postinst: line 7:  6159 Killed                  /usr/share/zentyal/initial-setup squid $2
dpkg: error processing zentyal-squid (--configure):
 subprocess installed post-installation script returned error exit status 137
Processing triggers for zentyal-core ...
 * Restarting Zentyal module: apache                                     [ OK ]
 * Restarting Zentyal module: logs                                                                [ OK ]
 * Restarting Zentyal module: events                                                              [ OK ]
Errors were encountered while processing:
 zentyal-squid
E: Sub-process /usr/bin/dpkg returned an error code (1)
l@zen1:~$

Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: moula on June 03, 2011, 08:20:59 am
Bonjour,

Juste to confirme that i have the same problem, and no way to make an update, while i'm connected to the net and i have an ip wan.

Merci
bye
Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: innocenti_jr on June 03, 2011, 12:29:45 pm
Hi!

This bug will eat all the server's memory. It is in zentyal-core (not -squid).
(Error code: 501.)

The workaround is to downgrade to zentyal-core v2.1.3.

Cheers - Oliver
Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: whitehat on June 03, 2011, 12:41:50 pm
Thank you for your responses.  I also found a quick solution.  I needed that machine so it was faster for me to a complete reinstall.  Either way problem is solve.

Thank you.
Regards,
Lou
Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: sixstone on June 03, 2011, 03:09:53 pm
Hi there,

We were able to reproduce the problem with other module (dns). We are trying to fix it. We'll report back as soon as we find the solution.

Thank you very much for your findings here.

Best regards,
Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: spiral on June 03, 2011, 06:52:20 pm
same issue here...
Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: gilaa on June 05, 2011, 02:10:15 pm
same issue here...
Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: J. A. Calvo on June 06, 2011, 08:24:00 pm
This should be fixed with the new zentyal-core 2.1.5. We would be glad if you could confirm that it fixes your problem and no other issues arise. Thanks for your help!
Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: spiral on June 07, 2011, 06:38:18 pm
seems to be fixed....

Thanks.
Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: innocenti_jr on June 08, 2011, 03:07:26 pm
This should be fixed with the new zentyal-core 2.1.5. We would be glad if you could confirm that it fixes your problem and no other issues arise. Thanks for your help!

Hi!

Yes, Zentyal is working again!

Thanks - Oliver
Title: Re: Deep recursion on subroutine "EBox:: (upgrade "frozen") Ubuntu 10.04.02 LTS
Post by: whitehat on June 09, 2011, 06:31:35 pm
Looks like its working now.
Thank you.
Lou