Author Topic: After update to 3.4 - Nothing Working  (Read 15453 times)

jerry-sc

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +1/-0
    • View Profile
After update to 3.4 - Nothing Working
« on: April 15, 2014, 12:55:03 am »
Hi,

I have updated my Zentyal 3.3 to Zentyal 3.4

After reboot, I can't access Webadmin through https://ip_address

Any ideas how to resolve this problem?






registered

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #1 on: April 15, 2014, 03:01:40 am »
I'm experiencing the same thing yesterday  :(, a solution that I do is, I downgrade back to version 3.3 did from terminal apt-get remove zentyal-common after installing it again apt-get install zentyal and resetting, it works on my computer, good luck . note: I'm using ubuntu 12:04 server zentyal 3.3  ;D

roswitina

  • Zen Apprentice
  • *
  • Posts: 48
  • Karma: +1/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #2 on: April 15, 2014, 11:18:34 am »
+1

found in /var/log/upstart/zentyal.webadmin-nginx.log

nginx: [emerg] unknown ""ssl_client_s_dn_o" variable
nginx: configuration file /var/lib/zentyal/confg/nginx.conf test failed

found in /var/log/nginx/error.log

[emerg] 12345#0: unknown ""ssl_client_s_dn_o" variable
..
[emerg] 1234#0 bind() to 0.0.0.0:80 failed (98: Adress already in use)
..
[emerg] 4321#0 still could not bind()

Rosi




chappy

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #3 on: April 15, 2014, 11:54:48 am »
same problem here. 503 Service unavailible error

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #4 on: April 15, 2014, 01:26:11 pm »
Hello:

[emerg] 1234#0 bind() to 0.0.0.0:80 failed (98: Adress already in use)


is being 80 port being used for which process?

roswitina

  • Zen Apprentice
  • *
  • Posts: 48
  • Karma: +1/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #5 on: April 15, 2014, 01:31:29 pm »
root@zentyal:~# netstat -npl | grep 80
tcp        0      0 127.0.0.1:62080         0.0.0.0:*               LISTEN      4026/apache2
tcp        0      0 127.0.0.1:6380          0.0.0.0:*               LISTEN      1404/redis-server
tcp        0      0 192.168.10.6:8880       0.0.0.0:*               LISTEN      3887/kdc
tcp        0      0 127.0.1.1:8880          0.0.0.0:*               LISTEN      3887/kdc
tcp        0      0 127.0.0.1:8880          0.0.0.0:*               LISTEN      3887/kdc
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      3178/haproxy
udp        0      0 192.168.10.6:8880       0.0.0.0:*                           3887/kdc
udp        0      0 127.0.1.1:8880          0.0.0.0:*                           3887/kdc
udp        0      0 127.0.0.1:8880          0.0.0.0:*                           3887/kdc

Rosi

mokkin

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #6 on: April 15, 2014, 05:46:16 pm »
I've got a similar issue.

I can reach the webadmin interface via https://my.domain:444 but I'm not able to reach my regular webpages. The new virtual host files (.conf) since Zentyal 3.4 contain port 62080 for HTTP and 62443 for SSL. Subdomains are not working too.
Apache itself works and pages located in /var/www are able too reach, but not in the directories specified in the virtual host files of apache.

Any ideas?

C.Hann

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #7 on: April 15, 2014, 07:18:45 pm »
I get after updating to 3.4 a similar error. During the update, there was an error in Radius, and after the update it was no longer possible to access the web interface. Message from Chrome is
Quote
503 Service Unavailable

No server is available to handle this request.

Entry from zentyal.log:
Code: [Select]
2014/04/15 19:27:02 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1 at root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1 at /usr/share/perl5/EBox/Sudo.pm line 240
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/oMbRk4LXND.cmd 2> /var/lib/zentyal/tmp/stderr', '/sbin/start \'zentyal.webadmin-nginx\'', 256, 'ARRAY(0x72fa468)', 'ARRAY(0x71b2b70)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, '/sbin/start \'zentyal.webadmin-nginx\'') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('/sbin/start \'zentyal.webadmin-nginx\'') called at /usr/share/perl5/EBox/Service.pm line 52
EBox::Service::manage('zentyal.webadmin-nginx', 'restart') called at /usr/share/perl5/EBox/WebAdmin.pm line 118
EBox::WebAdmin::_manageNginx('EBox::WebAdmin=HASH(0x627dba8)', 'restart') called at /usr/share/perl5/EBox/WebAdmin.pm line 104
EBox::WebAdmin::_daemon('EBox::WebAdmin=HASH(0x627dba8)', 'restart') called at /usr/share/perl5/EBox/WebAdmin.pm line 182
EBox::WebAdmin::_enforceServiceState('EBox::WebAdmin=HASH(0x627dba8)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 977
EBox::Module::Service::_regenConfig('EBox::WebAdmin=HASH(0x627dba8)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 997
eval {...} at /usr/share/perl5/EBox/Module/Service.pm line 996
EBox::Module::Service::restartService('EBox::WebAdmin=HASH(0x627dba8)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 129
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 127
EBox::Util::Init::moduleAction('webadmin', 'restartService', 'start') called at /usr/share/perl5/EBox/Util/Init.pm line 87
EBox::Util::Init::start at /etc/init.d/zentyal line 39
main::main at /etc/init.d/zentyal line 79
2014/04/15 19:27:02 ERROR> Service.pm:999 EBox::Module::Service::restartService - Error restarting service: root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1
2014/04/15 19:27:02 ERROR> Service.pm:1001 EBox::Module::Service::restartService - root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1 at root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1 at /usr/share/perl5/EBox/Module/Service.pm line 1001
EBox::Module::Service::restartService('EBox::WebAdmin=HASH(0x627dba8)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 129
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 127
EBox::Util::Init::moduleAction('webadmin', 'restartService', 'start') called at /usr/share/perl5/EBox/Util/Init.pm line 87
EBox::Util::Init::start at /etc/init.d/zentyal line 39
main::main at /etc/init.d/zentyal line 79

Any ideas to solve this problem? Thanks in advance :)

@Edit
Some componets of the server won't work, e.g passwd or nginx (same error like roswitina).
« Last Edit: April 16, 2014, 10:22:06 am by C.Hann »

obimichael

  • Zen Monk
  • **
  • Posts: 60
  • Karma: +3/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #8 on: April 15, 2014, 08:00:08 pm »
I've got a similar issue.

I can reach the webadmin interface via https://my.domain:444 but I'm not able to reach my regular webpages. The new virtual host files (.conf) since Zentyal 3.4 contain port 62080 for HTTP and 62443 for SSL. Subdomains are not working too.
Apache itself works and pages located in /var/www are able too reach, but not in the directories specified in the virtual host files of apache.

Any ideas?

Cannot acces VirtualHost SSL Page
https://forum.zentyal.org/index.php/topic,21378.msg82389.html#msg82389
Michael

steffenromeiss

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #9 on: April 16, 2014, 12:09:00 am »
same problem here
webadmin doesn't start

steffenromeiss

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #10 on: April 16, 2014, 12:44:09 am »
jjetzt ist alles tot, nun geht garnix mehr

roswitina

  • Zen Apprentice
  • *
  • Posts: 48
  • Karma: +1/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #11 on: April 16, 2014, 07:06:56 am »
after the entry of  "/etc/init.d/zentyal webadmin restart" i got the following output in /var/log/zentyal/zentyal.log:

2014/04/16 07:04:04 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - /sbin/status 'ebox.redis'
2014/04/16 07:04:04 INFO> Service.pm:995 EBox::Module::Service::restartService - Restarting service for module: webadmin
2014/04/16 07:04:06 DEBUG> Menu.pm:62 EBox::Menu::getKeywords - No model found for Users/Tree/Manage
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - set -e
/bin/mv /var/lib/zentyal/tmp/bbeZLvqtKq '/var/lib/zentyal/conf/nginx.conf'
/bin/chmod 0644 '/var/lib/zentyal/conf/nginx.conf'
/bin/chown ebox.ebox '/var/lib/zentyal/conf/nginx.conf'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - set -e
/bin/mv /var/lib/zentyal/tmp/q1y7YARZxl '/etc/init/zentyal.webadmin-nginx.conf'
/bin/chmod 0644 '/etc/init/zentyal.webadmin-nginx.conf'
/bin/chown 0.0 '/etc/init/zentyal.webadmin-nginx.conf'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - set -e
/bin/mv /var/lib/zentyal/tmp/qBc_iViqHu '/etc/init/zentyal.webadmin-uwsgi.conf'
/bin/chmod 0644 '/etc/init/zentyal.webadmin-uwsgi.conf'
/bin/chown 0.0 '/etc/init/zentyal.webadmin-uwsgi.conf'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - set -e
/bin/mv /var/lib/zentyal/tmp/UbjkmkBn3I '/var/lib/zentyal/dynamicwww//css/public.css'
/bin/chmod 0644 '/var/lib/zentyal/dynamicwww//css/public.css'
/bin/chown 107.112 '/var/lib/zentyal/dynamicwww//css/public.css'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - set -e
/bin/mv /var/lib/zentyal/tmp/1cA9ZIFdv0 '/var/lib/zentyal/dynamicwww//css/login.css'
/bin/chmod 0644 '/var/lib/zentyal/dynamicwww//css/login.css'
/bin/chown 107.112 '/var/lib/zentyal/dynamicwww//css/login.css'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - set -e
/bin/mv /var/lib/zentyal/tmp/uT2xX8SnKx '/usr/share/zentyal/www//css/jquery-ui/jquery-ui.css'
/bin/chmod 0644 '/usr/share/zentyal/www//css/jquery-ui/jquery-ui.css'
/bin/chown 107.112 '/usr/share/zentyal/www//css/jquery-ui/jquery-ui.css'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - rm -f /var/lib/zentyal/tmp/webadmin_no_restart_on_trigger
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - sed -i 's/^enabled=.*/enabled=1/' /etc/default/apport
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - /sbin/status 'zentyal.webadmin-uwsgi'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - /sbin/stop 'zentyal.webadmin-uwsgi'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - /sbin/start 'zentyal.webadmin-uwsgi'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - /sbin/status 'zentyal.webadmin-nginx'
2014/04/16 07:04:06 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin restart (pid: 20311) - /sbin/start 'zentyal.webadmin-nginx'
2014/04/16 07:04:06 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1 at root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1 at /usr/share/perl5/EBox/Sudo.pm line 240
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/9s4z4lXeUW.cmd 2> /var/lib/zentyal/tmp/stderr', '/sbin/start \'zentyal.webadmin-nginx\'', 256, 'ARRAY(0xc63a374)', 'ARRAY(0x94fa7d4)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, '/sbin/start \'zentyal.webadmin-nginx\'') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('/sbin/start \'zentyal.webadmin-nginx\'') called at /usr/share/perl5/EBox/Service.pm line 52
EBox::Service::manage('zentyal.webadmin-nginx', 'restart') called at /usr/share/perl5/EBox/WebAdmin.pm line 118
EBox::WebAdmin::_manageNginx('EBox::WebAdmin=HASH(0xa0d7d98)', 'restart') called at /usr/share/perl5/EBox/WebAdmin.pm line 104
EBox::WebAdmin::_daemon('EBox::WebAdmin=HASH(0xa0d7d98)', 'restart') called at /usr/share/perl5/EBox/WebAdmin.pm line 182
EBox::WebAdmin::_enforceServiceState('EBox::WebAdmin=HASH(0xa0d7d98)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 977
EBox::Module::Service::_regenConfig('EBox::WebAdmin=HASH(0xa0d7d98)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 997
eval {...} at /usr/share/perl5/EBox/Module/Service.pm line 996
EBox::Module::Service::restartService('EBox::WebAdmin=HASH(0xa0d7d98)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 129
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 127
EBox::Util::Init::moduleAction('webadmin', 'restartService', 'restart') called at /usr/share/perl5/EBox/Util/Init.pm line 255
EBox::Util::Init::moduleRestart('webadmin') called at /etc/init.d/zentyal line 58
main::main at /etc/init.d/zentyal line 79
2014/04/16 07:04:06 ERROR> Service.pm:999 EBox::Module::Service::restartService - Error restarting service: root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1
2014/04/16 07:04:06 ERROR> Service.pm:1001 EBox::Module::Service::restartService - root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1 at root command /sbin/start 'zentyal.webadmin-nginx' failed.
Error output: start: Job failed to start

Command output: .
Exit value: 1 at /usr/share/perl5/EBox/Module/Service.pm line 1001
EBox::Module::Service::restartService('EBox::WebAdmin=HASH(0xa0d7d98)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 129
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 127
EBox::Util::Init::moduleAction('webadmin', 'restartService', 'restart') called at /usr/share/perl5/EBox/Util/Init.pm line 255
EBox::Util::Init::moduleRestart('webadmin') called at /etc/init.d/zentyal line 58
main::main at /etc/init.d/zentyal line 79

C.Hann

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #12 on: April 16, 2014, 10:26:22 am »
In the last few hours I've tried based on the error message to resolve the problem myself, but this was not successful. Likewise, I have again my first post edited with additional errors.

It is possible to reinstall only nginx and webadmin or have I to reinstall the whole server?

steffenromeiss

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #13 on: April 16, 2014, 12:10:45 pm »
I did a reinstall with another virtual machine, some glitches here and there but it ended up working.
The system core is version 3.4.1
maybe some updates were broken and are now repaired...

C.Hann

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +1/-0
    • View Profile
Re: After update to 3.4 - Nothing Working
« Reply #14 on: April 16, 2014, 12:30:41 pm »
I can't update the server to 3.4.1. A apt-get update throw a error for

Code: [Select]
ppa.launchpad.net/zentyal/3.4/ubuntu/dists/saucy/main/binary-amd64/packages 404 not found
same for i386. On a virtual machine I got no problems. apt-get upgrade / dist-upgrade result in 0 packages :/
« Last Edit: April 16, 2014, 12:37:22 pm by C.Hann »