Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: jerry-sc on April 15, 2014, 12:55:03 am

Title: After update to 3.4 - Nothing Working
Post by: jerry-sc 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?





Title: Re: After update to 3.4 - Nothing Working
Post by: registered 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
Title: Re: After update to 3.4 - Nothing Working
Post by: roswitina 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



Title: Re: After update to 3.4 - Nothing Working
Post by: chappy on April 15, 2014, 11:54:48 am
same problem here. 503 Service unavailible error
Title: Re: After update to 3.4 - Nothing Working
Post by: jbahillo 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?
Title: Re: After update to 3.4 - Nothing Working
Post by: roswitina 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
Title: Re: After update to 3.4 - Nothing Working
Post by: mokkin 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?
Title: Re: After update to 3.4 - Nothing Working
Post by: C.Hann 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).
Title: Re: After update to 3.4 - Nothing Working
Post by: obimichael 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
Title: Re: After update to 3.4 - Nothing Working
Post by: steffenromeiss on April 16, 2014, 12:09:00 am
same problem here
webadmin doesn't start
Title: Re: After update to 3.4 - Nothing Working
Post by: steffenromeiss on April 16, 2014, 12:44:09 am
jjetzt ist alles tot, nun geht garnix mehr
Title: Re: After update to 3.4 - Nothing Working
Post by: roswitina 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
Title: Re: After update to 3.4 - Nothing Working
Post by: C.Hann 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?
Title: Re: After update to 3.4 - Nothing Working
Post by: steffenromeiss 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...
Title: Re: After update to 3.4 - Nothing Working
Post by: C.Hann 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 :/
Title: Re: After update to 3.4 - Nothing Working
Post by: StuartNaylor on April 16, 2014, 12:34:14 pm
/etc/apt/sources.list

is all the repo's

Code: [Select]
deb http://archive.zentyal.org/zentyal 3.3 main extra
is my 3.3 version
Title: Re: After update to 3.4 - Nothing Working
Post by: jbahillo on April 16, 2014, 12:48:50 pm
launchpad does not have packages for 3.4, instead you should point to archiv,zentyal.org:

http://archive.zentyal.org/zentyal/dists/3.4/
Title: Re: After update to 3.4 - Nothing Working
Post by: C.Hann on April 16, 2014, 01:40:12 pm
Won't work for me.
Right now I am thinking to reinstall the server.
Title: Re: After update to 3.4 - Nothing Working
Post by: omega_sxxi on April 16, 2014, 01:40:29 pm
Same for me.
After upgrade to 3.4 webadmin service fails to start
Title: Re: After update to 3.4 - Nothing Working
Post by: CamoMouse on April 16, 2014, 01:51:58 pm
I am also in the same boat. I wish I could provide some help. Here is my log.



2014/04/16 07:45:34 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - ldbsearch -H /var/lib/samba/private/sam.ldb -s base -b '' -d0 | grep -v ^GENSEC
2014/04/16 07:45:34 DEBUG> LDB.pm:228 EBox::LDB::dn - # record 1
dn:
configurationNamingContext: CN=Configuration,DC=ugcgaming,DC=us
defaultNamingContext: DC=ugcgaming,DC=us
rootDomainNamingContext: DC=ugcgaming,DC=us
schemaNamingContext: CN=Schema,CN=Configuration,DC=ugcgaming,DC=us
subschemaSubentry: CN=Aggregate,CN=Schema,CN=Configuration,DC=ugcgaming,DC=us
supportedCapabilities: 1.2.840.113556.1.4.800
supportedCapabilities: 1.2.840.113556.1.4.1670
supportedCapabilities: 1.2.840.113556.1.4.1791
supportedCapabilities: 1.2.840.113556.1.4.1935
supportedCapabilities: 1.2.840.113556.1.4.2080
supportedLDAPVersion: 2
supportedLDAPVersion: 3
vendorName: Samba Team (http://samba.org)
isSynchronized: TRUE
dsServiceName: CN=NTDS Settings,CN=KEEPER,CN=Servers,CN=Default-First-Site-Nam
 e,CN=Sites,CN=Configuration,DC=ugcgaming,DC=us
serverName: CN=KEEPER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Config
 uration,DC=ugcgaming,DC=us
dnsHostName: keeper.ugcgaming.us
ldapServiceName: ugcgaming.us:keeper$@UGCGAMING.US
currentTime: 20140416114534.0Z
supportedControl: 1.2.840.113556.1.4.841
supportedControl: 1.2.840.113556.1.4.319
supportedControl: 1.2.840.113556.1.4.473
supportedControl: 1.2.840.113556.1.4.1504
supportedControl: 1.2.840.113556.1.4.801
supportedControl: 1.2.840.113556.1.4.801
supportedControl: 1.2.840.113556.1.4.805
supportedControl: 1.2.840.113556.1.4.1338
supportedControl: 1.2.840.113556.1.4.529
supportedControl: 1.2.840.113556.1.4.417
supportedControl: 1.2.840.113556.1.4.2064
supportedControl: 1.2.840.113556.1.4.1413
supportedControl: 1.2.840.113556.1.4.1413
supportedControl: 1.2.840.113556.1.4.1413
supportedControl: 1.2.840.113556.1.4.1413
supportedControl: 1.2.840.113556.1.4.1413
supportedControl: 1.2.840.113556.1.4.1339
supportedControl: 1.2.840.113556.1.4.1340
supportedControl: 1.2.840.113556.1.4.1413
supportedControl: 1.2.840.113556.1.4.1341
namingContexts: DC=ugcgaming,DC=us
namingContexts: CN=Configuration,DC=ugcgaming,DC=us
namingContexts: CN=Schema,CN=Configuration,DC=ugcgaming,DC=us
namingContexts: DC=DomainDnsZones,DC=ugcgaming,DC=us
namingContexts: DC=ForestDnsZones,DC=ugcgaming,DC=us
highestCommittedUSN: 50376
domainFunctionality: 2
forestFunctionality: 2
domainControllerFunctionality: 4
isGlobalCatalogReady: TRUE

# returned 1 records
# 1 entries
# 0 referrals
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - set -e
/bin/mv /var/lib/zentyal/tmp/OwrWqscnTl '/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:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - set -e
/bin/mv /var/lib/zentyal/tmp/NeOERxy_JN '/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:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - set -e
/bin/mv /var/lib/zentyal/tmp/1POkBGesFx '/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:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - set -e
/bin/mv /var/lib/zentyal/tmp/EwWXrnSMac '/var/lib/zentyal/dynamicwww//css/public.css'
/bin/chmod 0644 '/var/lib/zentyal/dynamicwww//css/public.css'
/bin/chown 108.116 '/var/lib/zentyal/dynamicwww//css/public.css'
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - set -e
/bin/mv /var/lib/zentyal/tmp/OYVv7FyfJs '/var/lib/zentyal/dynamicwww//css/login.css'
/bin/chmod 0644 '/var/lib/zentyal/dynamicwww//css/login.css'
/bin/chown 108.116 '/var/lib/zentyal/dynamicwww//css/login.css'
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - set -e
/bin/mv /var/lib/zentyal/tmp/V44BCtox4I '/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 108.116 '/usr/share/zentyal/www//css/jquery-ui/jquery-ui.css'
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - rm -f /var/lib/zentyal/tmp/webadmin_no_restart_on_trigger
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - sed -i 's/^enabled=.*/enabled=1/' /etc/default/apport
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - /sbin/status 'zentyal.webadmin-uwsgi'
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - /sbin/stop 'zentyal.webadmin-uwsgi'
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - /sbin/start 'zentyal.webadmin-uwsgi'
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - /sbin/status 'zentyal.webadmin-nginx'
2014/04/16 07:45:35 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /etc/init.d/zentyal webadmin start (pid: 13583) - /sbin/start 'zentyal.webadmin-nginx'
2014/04/16 07:45:35 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/a4efA3vzd1.cmd 2> /var/lib/zentyal/tmp/stderr', '/sbin/start \'zentyal.webadmin-nginx\'', 256, 'ARRAY(0x847e858)', 'ARRAY(0x1ca0018)') 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(0x307b2d0)', 'restart') called at /usr/share/perl5/EBox/WebAdmin.pm line 104
EBox::WebAdmin::_daemon('EBox::WebAdmin=HASH(0x307b2d0)', 'restart') called at /usr/share/perl5/EBox/WebAdmin.pm line 182
EBox::WebAdmin::_enforceServiceState('EBox::WebAdmin=HASH(0x307b2d0)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 977
EBox::Module::Service::_regenConfig('EBox::WebAdmin=HASH(0x307b2d0)', '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(0x307b2d0)', '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:45:35 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:45:35 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(0x307b2d0)', '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:45:50 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal-samba/s4sync (pid: 7221) - /sbin/status 'zentyal.s4sync'
2014/04/16 07:45:50 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal-samba/s4sync (pid: 7221) - /sbin/status 'samba-ad-dc'
2014/04/16 07:45:50 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal-samba/s4sync (pid: 7221) - /sbin/status 'nmbd'
2014/04/16 07:46:21 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal-samba/s4sync (pid: 7221) - /sbin/status 'zentyal.s4sync'
2014/04/16 07:46:21 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal-samba/s4sync (pid: 7221) - /sbin/status 'samba-ad-dc'
2014/04/16 07:46:21 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal-samba/s4sync (pid: 7221) - /sbin/status 'nmbd
Title: Re: After update to 3.4 - Nothing Working
Post by: Roman on April 16, 2014, 04:15:55 pm
Install Zentyal -Cloud or edit

:/var/lib/zentyal/conf/remoteservices/soap-loc-ssl.conf

location ~ ^/(soap|LOGIN_CC|ebox) {
    set $validation "";

    if ($ssl_client_verify = "SUCCESS") {
        set $validation C;
    }

    if ($validation != CSOIOSCN) {
        return 403;
    }

    proxy_pass http://localhost:60080;

    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;

    proxy_set_header        Accept-Encoding   "";
    proxy_set_header        Host            $host;
    proxy_set_header        X-Real-IP       $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header        X-Forwarded-Proto $scheme;

    proxy_redirect     off;

}
Title: Re: After update to 3.4 - Nothing Working
Post by: chappy on April 16, 2014, 04:23:43 pm
how can i install zentyal-cloud without webadmin ?

apt-get install zentyal-cloud does not work. there is no pakage for that.
Title: Re: After update to 3.4 - Nothing Working
Post by: Roman on April 16, 2014, 04:47:51 pm
apt-get install zentyal-remoteservices ;)
Title: Re: After update to 3.4 - Nothing Working
Post by: chappy on April 16, 2014, 04:48:39 pm
remoteservices are installed, but same error.. so i tried to edit the file and now it works..
Title: Re: After update to 3.4 - Nothing Working
Post by: Roman on April 16, 2014, 04:49:46 pm
New problem ! zentyal firewall not work!
Title: Re: After update to 3.4 - Nothing Working
Post by: Roman on April 16, 2014, 04:51:18 pm
remoteservices are installed, but same error.. so i tried to edit the file and now it works..

edit

/var/lib/zentyal/conf/remoteservices/soap-loc-ssl.conf

location ~ ^/(soap|LOGIN_CC|ebox) {
    set $validation "";

    if ($ssl_client_verify = "SUCCESS") {
        set $validation C;
    }

    if ($validation != CSOIOSCN) {
        return 403;
    }

    proxy_pass http://localhost:60080;

    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;

    proxy_set_header        Accept-Encoding   "";
    proxy_set_header        Host            $host;
    proxy_set_header        X-Real-IP       $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header        X-Forwarded-Proto $scheme;

    proxy_redirect     off;

}

Title: Re: After update to 3.4 - Nothing Working
Post by: mtc_bubblefish on April 16, 2014, 09:44:03 pm
after the following command the WI is working again:
sudo dpkg --configure -a

-> answered all Questions with "y"..

-> Server is working, also the WI!

BUT the following Modules are crashed :

- zentyal-remoteservices
- zentyal-radius
- zentyal-mail

Every try to reinstall / remove or install this services is answered with:

The paket at must be new installed, but no archive can be found.

Any idea how to reinstall this services??
Title: Re: After update to 3.4 - Nothing Working
Post by: StuartNaylor on April 16, 2014, 09:48:08 pm
Just have a look at your repo's.

nano /etc/apt/sources.list

what zentyal repo is listed?

also does apt-get install -f fix anything?

or is it apt-get -f install

apols my memory appalling as usual.
Title: Re: After update to 3.4 - Nothing Working
Post by: mtc_bubblefish on April 16, 2014, 10:18:42 pm
deb http://archive.zentyal.org/zentyal 3.4 main extra
..is listed

sudo apt-get install -f

..is not working... same error:  "a packet at must be new installed..."
What is the packet "at" ???
Title: Re: After update to 3.4 - Nothing Working
Post by: CamoMouse on April 16, 2014, 11:05:10 pm
You suggested edit of soap-loc-ssl.conf worked for me.
Thank you very much.

edit

:/var/lib/zentyal/conf/remoteservices/soap-loc-ssl.conf

location ~ ^/(soap|LOGIN_CC|ebox) {
    set $validation "";

    if ($ssl_client_verify = "SUCCESS") {
        set $validation C;
    }

    if ($validation != CSOIOSCN) {
        return 403;
    }

    proxy_pass http://localhost:60080;

    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;

    proxy_set_header        Accept-Encoding   "";
    proxy_set_header        Host            $host;
    proxy_set_header        X-Real-IP       $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header        X-Forwarded-Proto $scheme;

    proxy_redirect     off;

}
Title: Re: After update to 3.4 - Nothing Working
Post by: apos on April 16, 2014, 11:59:41 pm
Hi guys,

i have the same problem here under Ubuntu 14.04 and Zentyal 3.4.
After Upgrade to 3.4 webadmin fails to start.

The error is related to nginx.

Code: [Select]
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 23:54:54 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 23:54:54 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

Editing soap-loc-ssl.conf and installing the zentyal-remoteservices, purging and reinstalling everything brings no success - unfortunately.
Title: Re: After update to 3.4 - Nothing Working
Post by: Roman on April 17, 2014, 01:22:35 am
Try
nginx -c /var/lib/zentyal/conf/nginx.conf
and see what problem.
Title: Re: After update to 3.4 - Nothing Working
Post by: omega_sxxi on April 17, 2014, 08:11:29 am
Thanks Roman,
Your solution worked for me!

BR
Title: Re: After update to 3.4 - Nothing Working
Post by: C.Hann on April 17, 2014, 09:53:45 am
The new installation has also been done for me, as I've found a solution. We have also attached the steps I have taken to resolve the problem.

Quote
1. Set up a virtual machine with 3.4 and update the VM to 3.4.1
2. Copy the sources.list from the VM to the server
3. Use apt-get update and apt-get dist-upgrade to update the server to 3.4.1
4. Edit the /var/lib/zentyal/conf/remoteservices/soap-loc-ssl.conf as Roman posted
5. On command line use the command => sudo nginx -c /var/lib/zentyal/conf/nginx.conf and look for errors
6. If you get errors use the command => sudo fuser -k 80/tcp
7. Restart nginx with the command => sudo /etc/init.d/nginx restart
8. Login into webadmin

After these steps, I could normally access Webadmin again and all modules works fine.
Title: Re: After update to 3.4 - Nothing Working
Post by: snarchio on April 19, 2014, 11:18:50 am
i've tried all the solutions you suggested but i have still an error when starting nginx so webadmin doesn't start

i've this error
Code: [Select]
sudo nginx -c /var/lib/zentyal/conf/nginx.conf
nginx: [emerg] unknown "ssl_client_s_dn_cn" variable
Title: Re: After update to 3.4 - Nothing Working
Post by: C.Hann on April 19, 2014, 11:40:09 am
Have you edited the soap-loc-ssl.conf accordingly? If not you should still do, because otherwise the solution does not work.

Content of the soap-loc-ssl.conf after editing:
Code: [Select]
location ~ ^/(soap|LOGIN_CC|ebox) {
    set $validation "";

    if ($ssl_client_verify = "SUCCESS") {
        set $validation C;
    }

    if ($validation != CSOIOSCN) {
        return 403;
    }

    proxy_pass http://localhost:60080;

    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;

    proxy_set_header        Accept-Encoding   "";
    proxy_set_header        Host            $host;
    proxy_set_header        X-Real-IP       $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header        X-Forwarded-Proto $scheme;

    proxy_redirect     off;

}
Title: Re: After update to 3.4 - Nothing Working
Post by: snarchio on April 19, 2014, 12:13:10 pm
yes, my  /var/lib/zentyal/conf/remoteservices/soap-loc-ssl.conf is the same you posted
i followed the 8 points of your post but neither webadmin nor remoteservices starts
Title: Re: After update to 3.4 - Nothing Working
Post by: snarchio on April 19, 2014, 06:23:34 pm
As suggested in this russian post https://forum.zentyal.org/index.php/topic,21514.msg82869.html (https://forum.zentyal.org/index.php/topic,21514.msg82869.html) i've done this (in addition to the steps mentioned above but don't know if are necessary)
Code: [Select]
/usr/share/zentyal/unconfigure-module webadmin
/usr/share/zentyal/clean-conf webadmin
and webadmin finally started
Title: Re: After update to 3.4 - Nothing Working
Post by: J. A. Calvo on April 22, 2014, 09:43:23 am
Hi,

This has been fixed (for new upgrades) in the upgrade script of zentyal-core 3.3.10

If you have already upgraded, there is a better hotfix for it without having to clean the whole webadmin conf:

Code: [Select]
echo "del webadmin/ro/nginxIncludes" | /usr/share/zentyal/redis-cli
service zentyal webadmin restart

Thanks everybody for your feedback!
Title: Re: After update to 3.4 - Nothing Working
Post by: MikeAllen on April 22, 2014, 06:02:28 pm
Hi guys,

i have the same problem here under Ubuntu 14.04 and Zentyal 3.4.
After Upgrade to 3.4 webadmin fails to start.

I'm fairly certain that Ubuntu 14.04 - the latest LTS release - is currently not supported by any version of Zentyal. Zentyal 3.4 requires Ubuntu 13.10.
Title: Re: After update to 3.4 - Nothing Working
Post by: pinus on April 23, 2014, 09:12:33 am
What should I say, the update to 3.4 broke it. What a mess!
That leaves the impression that this software isn't ready for business usage.
Title: Re: After update to 3.4 - Nothing Working
Post by: jbahillo on April 23, 2014, 12:44:36 pm
Launchpad has no packages for 3.4. You should have archive.zentyal.org instead
Title: Re: After update to 3.4 - Nothing Working
Post by: unknown001 on June 23, 2014, 06:45:18 pm
New updated fixed this issue. Do:
sudo apt-get update
and
sudo apt-get dis-upgrade
Title: Re: After update to 3.4 - Nothing Working
Post by: pinus on June 23, 2014, 07:59:02 pm
Can't try, Zentyal is gone. I had to reinstall my server. Server software that requires a reinstall doesn't match my stability requirements.
Title: Re: After update to 3.4 - Nothing Working
Post by: jldalla on December 04, 2014, 03:54:14 pm
Yo tenía el mismo problema y todo comenzó a funcionar luego de ejecutar los siguientes comandos:
Code: [Select]
sudo /usr/share/zentyal/unconfigure-module webadmin
sudo /usr/share/zentyal/clean-conf webadmin
sudo /etc/init.d/zentyal webadmin restart

Muchas gracias y saludos!



To
As suggested in this russian post https://forum.zentyal.org/index.php/topic,21514.msg82869.html (https://forum.zentyal.org/index.php/topic,21514.msg82869.html) i've done this (in addition to the steps mentioned above but don't know if are necessary)
Code: [Select]
/usr/share/zentyal/unconfigure-module webadmin
/usr/share/zentyal/clean-conf webadmin
and webadmin finally started
Title: Re: After update to 3.4 - Nothing Working
Post by: conhen on February 16, 2015, 08:20:45 pm
I tried all suggestions here, to no avail.

I get this:

simply@z-server1:~$ sudo nginx -c /var/lib/zentyal/conf/nginx.conf
nginx: [emerg] bind() to 127.0.0.1:61443 failed (98: Address already in use)
nginx: [emerg] bind() to 127.0.0.1:61443 failed (98: Address already in use)
nginx: [emerg] bind() to 127.0.0.1:61443 failed (98: Address already in use)
nginx: [emerg] bind() to 127.0.0.1:61443 failed (98: Address already in use)
nginx: [emerg] bind() to 127.0.0.1:61443 failed (98: Address already in use)
nginx: [emerg] still could not bind()

Since the webadmin is working with Nginx, I assumed Appache could be in the way. I deinstalled apache2, but that seemed to deinstall remoteservices as well... I reïnstalled remoteservices and get this:

Setting up apache2 (2.4.6-2ubuntu2.2) ...
Setting up zentyal-remoteservices (3.4.2) ...
Processing triggers for zentyal-core ...
locale: Cannot set LC_ALL to default locale: No such file or directory
 * Restarting Zentyal module: haproxy                                    [fail]
 * Restarting Zentyal module: webadmin                                   [ OK ]
 * Restarting Zentyal module: logs                                       [ OK ]
 * Restarting Zentyal module: events                                     [ OK ]

What is going on. I seriously considered deploying commercial Zentyal editions for customers, but things like this do not convince my manager... (nor me!)
Title: Re: After update to 3.4 - Nothing Working
Post by: jbahillo on February 19, 2015, 08:57:47 am
If so, why not using a trial ? 3.4 is an old release and is no longer supported
Title: Re: After update to 3.4 - Nothing Working
Post by: conhen on February 19, 2015, 03:18:31 pm
If so, why not using a trial ? 3.4 is an old release and is no longer supported
Because I am trying to migrate 3.3 to 4.0. And because 4.0 would not join the 3.3 domain (see https://forum.zentyal.org/index.php/topic,24530.0.html) I thought it would be useful to update the source server first. Everything on the source server is functioning normally, except the webmin en remoteservices modules.

Title: Re: After update to 3.4 - Nothing Working
Post by: jbahillo on February 19, 2015, 03:22:02 pm
Try running haproxy in foreground so you may see the error it triggers.

Title: Re: After update to 3.4 - Nothing Working
Post by: conhen on February 19, 2015, 08:00:41 pm
Code: [Select]
[ALERT] 049/195844 (3639) : [/usr/sbin/haproxy.main()] No enabled listener found (check the <listen> keywords) ! Exiting.
This does not tell my anything other that that it is not working :-) haproxy is unknown territory for me. Help!
Title: Re: After update to 3.4 - Nothing Working
Post by: jbahillo on February 19, 2015, 10:12:16 pm
I would suggest :

Quote
service zentyal haproxy restart

Quote
Making sure that no custom exists for haproxy
Quote
Check differences in haproxy config file (under /var/lib/zentyal/conf IIRC) with a working 3.3