Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: fmoreira86 on November 25, 2018, 02:32:55 am
-
Hi,
I'm getting stuck here:
2018/11/25 00:50:47 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: dns
2018/11/25 00:50:48 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
Any hint?
-
Is it possible to kill the blocking thread to let the install continue?
-
You mean stop DNS?
I tried it and it kept stuck.
-
nothing?
-
is there anything in the syslog / DNS (Bind) Log?
Regards
BerT
-
I had something like this happen when upgrading from 5.0 to 6.01. Do a "ps -ef" or "ps -aux" and find the stuck process. In my case zentyal-core package would not finish running "dpkg --configure -a" so I kill the last process in the chain and the upgrade started to finish. I did have to do this several times to get it to finish. After it said the upgrade was done I rebooted the server and ran "sudo dpkg --configure -a" to make sure all the zentyal packages finished.
-
Hi!
Tried that and kill some process at time.
The machine upgraded sucessfully.
I've other machine that is stuck on:
Setting up zentyal-core (6.0.1) ...
Installing new version of config file /etc/cron.daily/zentyal ...
any idea? :(
-
I am having the same problem. Did you ever figure out what was causing this error?
I see this in the Zentyal.log file:
2019/02/11 13:23:13 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $action in string eq at /usr/share/perl5/EBox/CGI/ReleaseUpgrade.pm line 44.
2019/02/11 13:23:13 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $action in string eq at /usr/share/perl5/EBox/CGI/ReleaseUpgrade.pm line 49.
-
Setting up zentyal-core (6.0.1) ...
Installing new version of config file /etc/cron.daily/zentyal ...
Did you find a solution to this problem?
-
I've other machine that is stuck on:
Setting up zentyal-core (6.0.1) ...
Installing new version of config file /etc/cron.daily/zentyal ...
any idea? :(
Happening to me right now ...
-
I had the same situation as you last Saturday. Fortunately, the problem has been resolved
-
Any solutions? After restart my server get EBox::DNS::appArmorProfiles - Setting DNS apparmor profile and i cant run it
-
Any solutions? After restart my server get EBox::DNS::appArmorProfiles - Setting DNS apparmor profile and i cant run it
You can try to locate the DNS process, kill it and then, reconfigure the broken or pending packages. And then, restart again the module.
## To detect a process
ps -ef | egrep -i 'dns|zentyal'
lslocks | grep -Ei 'dns|zentyal'
## To kill the process
kill -9 pid_of_the_process
## To reconfigure the broken or pending packages
## It is possible that you need to run this
## command more than once
dpkg --configure -a
## Restarting the module
zs dns restart
---
“This world is ours, and by the Holy Light we will keep it safe, now and forever".
-
Hi all, trying to help
copy here my notes in spanish [ 07:00 jueves, 19 de noviembre de 2020 ]
Restaurar backup 5.1 x64 OK (Restore Backup)
Restauración Exitosa
INFO> Backup.pm:1224 EBox::Backup::restoreBackup - Restore successful
Salvar (Save)
ERROR> GlobalImpl.pm:727 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: dns at The following modules failed while saving their changes, their state is unknown: dns at /usr/share/perl5/EBox/GlobalImpl.pm line 727
Error restarting service: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed
Error output: kinit: krb5_get_init_creds: unable to reach any KDC in realm EMPRESA.COM.PY
Reboot
kinit -k -t /var/lib/samba/private/dns.keytab dns-z51
tail -f /var/log/zentyal/zentyal.log
ERROR> Service.pm:967 EBox::Module::Service::restartService - root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed.
ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of DNS from dashboard failed: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed.
Error output: Password has expired
dns-z51@EMPRESA.COM.PY's Password:
# samba-tool user setexpiry dns-z51 --noexpiry
Ejecutar a mano
# kinit -k -t /var/lib/samba/private/dns.keytab dns-z51
No arrojó ningún error
El módulo DNS se ha reiniciado correctamente
Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente
Genera error de DNS al cambiar IP
ERROR> GlobalImpl.pm:652 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed.
Error output: kinit: krb5_get_init_creds: unable to reach any KDC in realm EMPRESA.COM.PY
Reboot
Error restarting service: root command kinit -k -t /var/lib/samba/private/dns.keytab dns-z51 failed.
Error output: kinit: krb5_get_init_creds: unable to reach any KDC in realm EMPRESA.COM.PY
Web GUI
Estado de los módulos
Detener DNS
Iniciar DNS
Dashboard
Reiniciar módulo DNS
El módulo DNS se ha reiniciado correctamente
Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente
-> 6.0 Dev 6.0.3 18.04.5 LTS
tail -f /var/log/zentyal/upgrade.log 14:29 - 14:57
Zentyal upgrade finished! Please restart your server now.
Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente
-> 6.1 Dev 6.1.6 18.04.5 LTS
tail -f /var/log/zentyal/upgrade.log 15:01 - 15:03
*** Zentyal upgrade finished! Please restart your server now.
Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente
-> 6.2 Dev 6.2.4 18.04.5 LTS
tail -f /var/log/zentyal/upgrade.log 15:08 - 15:11
cat /etc/apt//sources.list.d/zentyal-packages.list
## deb http://packages.zentyal.org/zentyal 6.1 main extra
*** Zentyal upgrade finished! Please restart your server now.
Reboot
El módulo DNS se ha iniciado correctamente
El módulo DNS se ha reiniciado correctamente
I hope this is help
-
dpkg -l | egrep -v '^(ii|rc)'
>> conflicto con samba
systemctl stop smbd
systemctl stop nmbd
systemctl stop winbind
apt-get purge zentyal-openchange
dpkg --configure -a SI Resuelve (SOLVED)
systemctl disable smbd
systemctl disable nmbd
-> 6.1 Dev 6.1.6 18.04.5 LTS OK
-> 6.2 Dev 6.2.4 18.04.5 LTS OK