503 Service Unavailable
No server is available to handle this request.
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
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?
ppa.launchpad.net/zentyal/3.4/ubuntu/dists/saucy/main/binary-amd64/packages 404 not found
deb http://archive.zentyal.org/zentyal 3.3 main extra
remoteservices are installed, but same error.. so i tried to edit the file and now it works..
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;
}
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;
}
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
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
sudo nginx -c /var/lib/zentyal/conf/nginx.conf
nginx: [emerg] unknown "ssl_client_s_dn_cn" variable
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;
}
/usr/share/zentyal/unconfigure-module webadmin
/usr/share/zentyal/clean-conf webadmin
and webadmin finally started
echo "del webadmin/ro/nginxIncludes" | /usr/share/zentyal/redis-cli
service zentyal webadmin restart
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.
sudo /usr/share/zentyal/unconfigure-module webadmin
sudo /usr/share/zentyal/clean-conf webadmin
sudo /etc/init.d/zentyal webadmin restart
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
and webadmin finally started
/usr/share/zentyal/clean-conf webadmin
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() |
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 ] |
If so, why not using a trial ? 3.4 is an old release and is no longer supportedBecause 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.
[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!
service zentyal haproxy restart
Making sure that no custom exists for haproxy
Check differences in haproxy config file (under /var/lib/zentyal/conf IIRC) with a working 3.3