Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: yura.syrov on August 21, 2011, 05:57:18 pm

Title: [ubuntu server 10.04+zentyal 2.1] No connection after restart
Post by: yura.syrov on August 21, 2011, 05:57:18 pm
I do not know then it happens, but today I couldn't be connected to the server using https://myservname though apache I work also I can come to http://myservname address.

/var/log/zentyal/zentyal.log
Code: [Select]
2011/08/21 22:30:00 INFO> Redis.pm:765 EBox::Config::Redis::_initRedis - Starting redis server
2011/08/21 22:30:05 ERROR> Ldap.pm:1101 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying
2011/08/21 22:30:06 ERROR> Ldap.pm:1101 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying
2011/08/21 22:30:07 ERROR> Ldap.pm:1101 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying
2011/08/21 22:30:08 ERROR> Ldap.pm:1101 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying
2011/08/21 22:30:09 ERROR> Ldap.pm:1105 EBox::Ldap::safeConnect - FATAL: Couldn't connect to LDAP server: ldapi://%2fvar%2frun%2fslapd%2fldapi
2011/08/21 22:30:10 ERROR> Ldap.pm:1101 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying
2011/08/21 22:30:11 ERROR> Ldap.pm:1101 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying
2011/08/21 22:30:12 ERROR> Ldap.pm:1101 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying
2011/08/21 22:30:13 ERROR> Ldap.pm:1101 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying
2011/08/21 22:30:14 ERROR> Ldap.pm:1105 EBox::Ldap::safeConnect - FATAL: Couldn't connect to LDAP server: ldapi://%2fvar%2frun%2fslapd%2fldapi
2011/08/21 22:30:14 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: network
2011/08/21 22:30:16 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: firewall
2011/08/21 22:30:18 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: antivirus
2011/08/21 22:30:25 INFO> Service.pm:717 EBox::Module::Service::restartService - Skipping restart for audit as it's disabled
2011/08/21 22:30:25 INFO> Service.pm:717 EBox::Module::Service::restartService - Skipping restart for ca as it's disabled
2011/08/21 22:30:25 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: dhcp
2011/08/21 22:30:27 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: dns
2011/08/21 22:30:30 INFO> Service.pm:717 EBox::Module::Service::restartService - Skipping restart for ebackup as it's disabled
2011/08/21 22:30:30 INFO> Service.pm:717 EBox::Module::Service::restartService - Skipping restart for events as it's disabled
2011/08/21 22:30:30 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: ids
2011/08/21 22:30:31 ERROR> Sudo.pm:212 EBox::Sudo::_rootError - root command /etc/init.d/snort status failed.
Error output:
Command output:  * Status of snort daemon(s)
    ...fail!
.
Exit value: 3
2011/08/21 22:30:32 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: logs
2011/08/21 22:30:33 INFO> Service.pm:717 EBox::Module::Service::restartService - Skipping restart for mailfilter as it's disabled
2011/08/21 22:30:33 INFO> Service.pm:717 EBox::Module::Service::restartService - Skipping restart for monitor as it's disabled
2011/08/21 22:30:33 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: ntp
2011/08/21 22:30:45 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: openvpn
2011/08/21 22:30:46 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: printers
2011/08/21 22:30:47 INFO> Service.pm:717 EBox::Module::Service::restartService - Skipping restart for trafficshaping as it's disabled
2011/08/21 22:30:47 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: users
2011/08/21 22:30:47 ERROR> Ldap.pm:1101 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying
2011/08/21 22:30:50 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: webserver
2011/08/21 22:30:51 INFO> Service.pm:717 EBox::Module::Service::restartService - Skipping restart for ftp as it's disabled
2011/08/21 22:30:51 INFO> Service.pm:721 EBox::Module::Service::restartService - Restarting service for module: mail

If to execute a script /usr/share/zentyal/apache-restart, to be connected begins possible, but in logs there are following messages.
/var/log/zentyal/error.log
Code: [Select]
[Sun Aug 21 22:50:20 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Aug 21 22:50:20 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Aug 21 22:50:20 2011] [warn] RSA server certificate CommonName (CN) `eBox Server' does NOT match server name!?
[Sun Aug 21 22:50:21 2011] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Aug 21 22:50:21 2011] [warn] RSA server certificate CommonName (CN) `eBox Server' does NOT match server name!?
[Sun Aug 21 22:50:21 2011] [notice] Apache/2.2.14 (Ubuntu) mod_ssl/2.2.14 OpenSSL/0.9.8k mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
Title: Re: [ubuntu server 10.04+zentyal 2.1] No connection after restart
Post by: yura.syrov on August 21, 2011, 06:48:35 pm
And yet doesn't start mail module though postfix and dovicot are started...


Code: [Select]
root@server:/etc/init.d# ./zentyal mail status
EBox: status module mail: [ STOPPED ]

Code: [Select]
root@server:/etc/init.d# ./dovecot status
 * dovecot is running
root@server:/etc/init.d# ./postfix status
 * postfix is running
Title: Re: [ubuntu server 10.04+zentyal 2.1] No connection after restart
Post by: jsalamero on August 22, 2011, 09:48:29 am
Do a usersandgroups reinstall... sudo /usr/share/zentyal-users/reinstall
Title: Re: [ubuntu server 10.04+zentyal 2.1] No connection after restart
Post by: yura.syrov on August 22, 2011, 01:44:13 pm
Yes, I already tried it. Really, after reinstall begins possible to be connected. But, when I again create groups, users and share the problem repeats.
Title: Re: [ubuntu server 10.04+zentyal 2.1] No connection after restart
Post by: yura.syrov on August 22, 2011, 01:50:15 pm
It is necessary to transfer this topic in "beta testing"