Author Topic: Starting modules stops after upgdating vom clean 3.0 to 3.0.1  (Read 5820 times)

pocetrus

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +1/-0
    • View Profile
Starting modules stops after upgdating vom clean 3.0 to 3.0.1
« on: September 22, 2012, 11:38:23 am »
after doing this, boot process is shorter and after logon, Zentyal administration (Firefox)
is "unable to connect to localhost". Looking at /var/log/zentyal/zentyal.log shows, that
boot process stops after DNS with

...
2012/09/21 15:21:11 INFO> install-packages:119 main::__ANON__ - Package installation process finished
2012/09/21 15:21:58 ERROR> Base.pm:386 EBox::CGI::Base::__ANON__ - Unknown exception
2012/09/21 15:22:51 INFO> Init.pm:90 EBox::Util::Init::stop - Modules to stop: apache network firewall audit ca dns ebackup events logs monitor ntp printers samba users webserver mail usercorner webmail
2012/09/21 15:22:55 INFO> Init.pm:95 EBox::Util::Init::stop - Stop modules finished
2012/09/21 15:24:32 INFO> Redis.pm:504 EBox::Config::Redis::_initRedis - Starting redis server
2012/09/21 15:24:33 INFO> Redis.pm:504 EBox::Config::Redis::_initRedis - Starting redis server2012/09/21 15:24:38 INFO> Init.pm:74 EBox::Util::Init::start - Modules to start: network firewall audit ca dns ebackup events logs monitor ntp printers samba users webserver mail usercorner webmail apache
2012/09/21 15:24:38 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: network
2012/09/21 15:24:39 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: firewall
2012/09/21 15:24:40 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: audit
2012/09/21 15:24:40 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ca
2012/09/21 15:24:40 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: dns
2012/09/21 15:24:40 WARN> DNS.pm:1436 EBox::DNS::_launchSambaNSupdate - Cannot contact with named, trying in posthook
2012/09/21 15:24:42 ERROR> Sudo.pm:233 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/xx12odrrMx failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = Credentials cache file '/tmp/krb5cc_0' not found.
...

Before updating it worked some days.
Short after the Installation process there was an "- Unknown exception" recognized!?

Any Ideas what I have to do (reinstall modules, etc.?)

Thanks in advance,
pocetrus

Szymon_Zy

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Starting modules stops after upgdating vom clean 3.0 to 3.0.1
« Reply #1 on: September 22, 2012, 06:32:08 pm »
In my case i got the same after update. I have to start zentyal on my own via
Code: [Select]
/etc/init.d/zentyal start it seems that there is a bug in latest release.

I got in dmesg:
Code: [Select]
[   18.181113] init: isc-dhcp-server main process (892) terminated with status 1
[   18.181167] init: isc-dhcp-server main process ended, respawning
[   18.743107] init: isc-dhcp-server main process (948) terminated with status 1
[   18.743163] init: isc-dhcp-server main process ended, respawning
[   18.973348] init: isc-dhcp-server main process (955) terminated with status 1
[   18.973404] init: isc-dhcp-server main process ended, respawning
[   19.119177] init: isc-dhcp-server main process (980) terminated with status 1
[   19.119233] init: isc-dhcp-server main process ended, respawning
[   19.304047] init: isc-dhcp-server main process (998) terminated with status 1
[   19.304104] init: isc-dhcp-server main process ended, respawning
[   19.522588] init: isc-dhcp-server main process (1006) terminated with status 1
[   19.522646] init: isc-dhcp-server main process ended, respawning
[   19.690473] init: isc-dhcp-server main process (1015) terminated with status 1
[   19.690533] init: isc-dhcp-server main process ended, respawning
[   19.850278] init: isc-dhcp-server main process (1024) terminated with status 1
[   19.850333] init: isc-dhcp-server main process ended, respawning
[   20.040629] init: isc-dhcp-server main process (1035) terminated with status 1
[   20.040690] init: isc-dhcp-server main process ended, respawning
[   20.230830] init: isc-dhcp-server main process (1047) terminated with status 1
[   20.230885] init: isc-dhcp-server main process ended, respawning
[   20.441528] init: isc-dhcp-server main process (1060) terminated with status 1
[   20.441583] init: isc-dhcp-server respawning too fast, stopped
[   26.944011] eth0: no IPv6 routers present


after few restarts it works but log looks like it:
Code: [Select]
2012/09/22 18:48:29 DEBUG> User.pm:562 EBox::UsersAndGroups::User::create - Cannot create user because the home directory /home/b.smakosz already exists. Please move or remove it before creating this user
2012/09/22 18:48:32 INFO> Init.pm:74 EBox::Util::Init::start - Modules to start: network firewall audit ca dhcp dns events logs monitor ntp openvpn remoteservices users webserver ftp apache
2012/09/22 18:48:32 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: network
2012/09/22 18:48:33 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: firewall
2012/09/22 18:48:34 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: audit
2012/09/22 18:48:34 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ca
2012/09/22 18:48:34 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: dhcp
2012/09/22 18:48:34 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: dns
2012/09/22 18:48:35 WARN> DNS.pm:1436 EBox::DNS::_launchSambaNSupdate - Cannot contact with named, trying in posthook
2012/09/22 18:48:36 ERROR> Sudo.pm:216 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/WWv_bOPZZO failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = Credentials cache file '/tmp/krb5cc_0' not found.

Command output: .
Exit value: 1
2012/09/22 18:48:36 ERROR> Service.pm:721 EBox::Module::Service::__ANON__ - Error restarting service: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/WWv_bOPZZO failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = Credentials cache file '/tmp/krb5cc_0' not found.

Command output: .
Exit value: 1
2012/09/22 18:48:36 ERROR> Sudo.pm:216 EBox::Sudo::_rootError - root command . /lib/lsb/init-functions;  log_begin_msg "Starting Zentyal module: dns"; log_end_msg 1 failed.
Error output:
Command output:  * Starting Zentyal module: dns
    ...fail!
.
Exit value: 1
2012/09/22 18:48:54 INFO> Init.pm:74 EBox::Util::Init::start - Modules to start: network firewall audit ca dhcp dns events logs monitor ntp openvpn remoteservices users webserver ftp apache
2012/09/22 18:48:54 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: network
2012/09/22 18:48:55 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: firewall
2012/09/22 18:48:56 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: audit
2012/09/22 18:48:56 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ca
2012/09/22 18:48:57 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: dhcp
2012/09/22 18:48:57 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: dns
2012/09/22 18:48:57 ERROR> Sudo.pm:216 EBox::Sudo::_rootError - root command kinit --keytab=/var/lib/samba/private/secrets.keytab SIENKIEWICZPDC$ failed.
Error output: kinit: krb5_get_init_creds: unable to reach any KDC in realm 4LO.CZEST.PL.LAN

Command output: .
Exit value: 1
2012/09/22 18:48:59 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: events
2012/09/22 18:48:59 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: logs
2012/09/22 18:48:59 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: monitor
2012/09/22 18:49:00 INFO> User.pm:461 EBox::Samba::User::addToZentyal - Adding samba user 'a.gondro' to Zentyal
2012/09/22 18:49:00 DEBUG> User.pm:562 EBox::UsersAndGroups::User::create - Cannot create user because the home directory /home/a.gondro already exists. Please move or remove it before creating this user
2012/09/22 18:49:00 INFO> User.pm:461 EBox::Samba::User::addToZentyal - Adding samba user 'b.smakosz' to Zentyal
2012/09/22 18:49:00 DEBUG> User.pm:562 EBox::UsersAndGroups::User::create - Cannot create user because the home directory /home/b.smakosz already exists. Please move or remove it before creating this user
2012/09/22 18:49:00 WARN> Monitor.pm:658 EBox::Monitor::_setThresholdConf - No threshold configuration is saved since monitor watcher or events module are not enabled
2012/09/22 18:49:02 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ntp
2012/09/22 18:49:15 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: openvpn
2012/09/22 18:49:15 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: remoteservices
2012/09/22 18:49:15 ERROR> Apache.pm:630 EBox::Apache::removeInclude - /var/lib/zentyal/conf/remoteservices/soap-loc.conf has not been included previously
2012/09/22 18:49:15 ERROR> RemoteServices.pm:1683 EBox::RemoteServices::_getSubscriptionDetails - Not subscribed
2012/09/22 18:49:15 ERROR> RemoteServices.pm:1683 EBox::RemoteServices::_getSubscriptionDetails - Not subscribed
2012/09/22 18:49:17 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: users
2012/09/22 18:49:20 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: webserver
2012/09/22 18:49:21 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ftp
2012/09/22 18:49:21 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: apache
2012/09/22 18:49:21 ERROR> RemoteServices.pm:1683 EBox::RemoteServices::_getSubscriptionDetails - Not subscribed
2012/09/22 18:49:22 INFO> Init.pm:79 EBox::Util::Init::start - Start modules finished
2012/09/22 18:49:51 INFO> Init.pm:74 EBox::Util::Init::start - Modules to start: network firewall audit ca dhcp dns events logs monitor ntp openvpn remoteservices users webserver ftp apache
2012/09/22 18:49:51 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: network
2012/09/22 18:49:52 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: firewall
2012/09/22 18:49:53 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: audit
2012/09/22 18:49:53 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ca
2012/09/22 18:49:53 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: dhcp
2012/09/22 18:49:53 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: dns
2012/09/22 18:49:53 ERROR> Sudo.pm:216 EBox::Sudo::_rootError - root command kinit --keytab=/var/lib/samba/private/secrets.keytab SIENKIEWICZPDC$ failed.
Error output: kinit: krb5_get_init_creds: unable to reach any KDC in realm 4LO.CZEST.PL.LAN

Command output: .
Exit value: 1
2012/09/22 18:49:55 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: events
2012/09/22 18:49:55 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: logs
2012/09/22 18:49:55 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: monitor
2012/09/22 18:49:56 WARN> Monitor.pm:658 EBox::Monitor::_setThresholdConf - No threshold configuration is saved since monitor watcher or events module are not enabled
2012/09/22 18:49:58 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ntp
2012/09/22 18:50:02 INFO> User.pm:461 EBox::Samba::User::addToZentyal - Adding samba user 'a.gondro' to Zentyal
2012/09/22 18:50:02 DEBUG> User.pm:562 EBox::UsersAndGroups::User::create - Cannot create user because the home directory /home/a.gondro already exists. Please move or remove it before creating this user
2012/09/22 18:50:02 INFO> User.pm:461 EBox::Samba::User::addToZentyal - Adding samba user 'b.smakosz' to Zentyal
2012/09/22 18:50:02 DEBUG> User.pm:562 EBox::UsersAndGroups::User::create - Cannot create user because the home directory /home/b.smakosz already exists. Please move or remove it before creating this user
2012/09/22 18:50:11 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: openvpn
2012/09/22 18:50:11 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: remoteservices
2012/09/22 18:50:11 ERROR> Apache.pm:630 EBox::Apache::removeInclude - /var/lib/zentyal/conf/remoteservices/soap-loc.conf has not been included previously
2012/09/22 18:50:11 ERROR> RemoteServices.pm:1683 EBox::RemoteServices::_getSubscriptionDetails - Not subscribed
2012/09/22 18:50:12 ERROR> RemoteServices.pm:1683 EBox::RemoteServices::_getSubscriptionDetails - Not subscribed
2012/09/22 18:50:15 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: users
2012/09/22 18:50:17 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: webserver
2012/09/22 18:50:18 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: ftp
2012/09/22 18:50:19 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: apache
2012/09/22 18:50:19 ERROR> RemoteServices.pm:1683 EBox::RemoteServices::_getSubscriptionDetails - Not subscribed
2012/09/22 18:50:19 INFO> Init.pm:79 EBox::Util::Init::start - Start modules finished
2012/09/22 18:50:24 ERROR> RemoteServices.pm:1683 EBox::RemoteServices::_getSubscriptionDetails - Not subscribed
« Last Edit: September 22, 2012, 06:53:25 pm by Szymon_Zy »

pocetrus

  • Zen Apprentice
  • *
  • Posts: 19
  • Karma: +1/-0
    • View Profile
Re: Starting modules stops after upgdating vom clean 3.0 to 3.0.1
« Reply #2 on: September 22, 2012, 07:34:52 pm »
I installed now from scratch on a new HD on the same machine. For the first time the update worked now,
as long as I shutdown the server from the zentyal desktop.
When I shutdown via firefox-administration System>Halt/Reboot, there is done no clean shutdown,
system hangs after a while, and the points under Zentyal-Logo stopped moving.

I have to power off by pressing the hardware switch a while, but it starts up instantly after this.
Doing so 3 - 4 times then will occure the bug explaind in the top-posting.

Any ideas where I should look in the logs or elsewhere to help solve this?

Regards, procetrus

Szymon_Zy

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Starting modules stops after upgdating vom clean 3.0 to 3.0.1
« Reply #3 on: September 22, 2012, 07:52:34 pm »
Power on via power button and soft off instead of normal halt disqualifies Zentyal in normal usage ..... Had this with 3.0, in 3.0.1 restarts and power off ok.

How ever on every restart zentyal wants to save changes on first login. But i don't know what the hell the changes are!

acon

  • Board Moderator
  • Zen Samurai
  • *****
  • Posts: 454
  • Karma: +18/-0
    • View Profile
Re: Starting modules stops after upgdating vom clean 3.0 to 3.0.1
« Reply #4 on: September 23, 2012, 10:44:27 am »
Same problem here.
Restarting apache in console is neded to have web UI.
Apache module is running but UI does not work until i restart it.
Code: [Select]
sudo service zentyal apache restart
After this, everithing is working fine, until next reboot...

ian

  • Community Council Member
  • Zen Samurai
  • *****
  • Posts: 296
  • Karma: +10/-1
    • View Profile
    • Familie site
Re: Starting modules stops after upgdating vom clean 3.0 to 3.0.1
« Reply #5 on: September 23, 2012, 11:14:14 am »
Hello,

I have the same problem the right command to start the zentyal administration interface in firefox is:

sudo /etc/init.d/zentyal apache restart.

Then the administrator interface works again in Firefox.
Not only apache is not restarted afther upgrading from 3.0.0 to 3.0.1, but there are also other services who need to restart again in the administrator interface.

Best regards,
Ian

dafatbloke

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +1/-0
    • View Profile
Re: Starting modules stops after upgdating vom clean 3.0 to 3.0.1
« Reply #6 on: September 23, 2012, 12:46:19 pm »
I have the same issue, DNS fails to start.
I noticed that the nsupdate is failing an SOA query so I did a dig and the status is REFUSED, maybe a permissions problem ( i don't know - thats a guess ) ?

I'm also guessing that the file shares issue I now have which fail in Win7 : access denied on home ( which has mapped ok ) and any shares I created is related.
 

Szymon_Zy

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Starting modules stops after upgdating vom clean 3.0 to 3.0.1
« Reply #7 on: September 23, 2012, 01:44:32 pm »
I added to /etc/rc.local
Code: [Select]
sleep 10000
/etc/init.d/zentyal start

and it restarts on boot. How ever this is not a solution, only walkaround.

zentypenguin

  • Zen Apprentice
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: Starting modules stops after upgdating vom clean 3.0 to 3.0.1
« Reply #8 on: September 24, 2012, 10:19:40 pm »
Hi all,

I'm totally new at zentyal and I got these problems on a fresh install of zentyal, too.Thank you for this workaround but I think, this value for sleep is too much.

For me sleep 10 works fine, but I agree with you, this only can be a temporary solution.

Hope for an update.

Ralf