This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
16
Email and Groupware / imap reachable for vpn ip 10.9.0.101 ? was once possible, but I cannot remember
« on: August 18, 2023, 01:19:23 pm »
Hello,
Sorry again for a somehwhat foolish post, but I need a little help again.
My Zentyal 7 Server is also reachable for VPN users with the VPN ip "10.9.0.101". SSH works, etc.etc. -- so far so good.
For my "old" Zentyal 7 Server, imap also worked : I used the IMAP settings : Server 10.9.0.101, port 143, STARTTLS, password normal,
and the user could read his e-mails over VPN -- very convenient!
However I cannot remember what I did when I configured the IMAP like that.
Now with the newly installed Zentyal 7 Server I also want IMAP to be reachable from the VPN ip "10.9.0.x" .
What do I need to change inside the system so it works?
Or is "Thunderbird" the culprit and only certain Thunderbird versions will accept this ?
Any help greatly appreciated.
Sorry again for a somehwhat foolish post, but I need a little help again.
My Zentyal 7 Server is also reachable for VPN users with the VPN ip "10.9.0.101". SSH works, etc.etc. -- so far so good.
For my "old" Zentyal 7 Server, imap also worked : I used the IMAP settings : Server 10.9.0.101, port 143, STARTTLS, password normal,
and the user could read his e-mails over VPN -- very convenient!
However I cannot remember what I did when I configured the IMAP like that.
Now with the newly installed Zentyal 7 Server I also want IMAP to be reachable from the VPN ip "10.9.0.x" .
What do I need to change inside the system so it works?
Or is "Thunderbird" the culprit and only certain Thunderbird versions will accept this ?
Any help greatly appreciated.
17
Installation and Upgrades / Re: please kindly help me I made a super big mistake trying to deinstall apparmor
« on: August 16, 2023, 10:08:32 pm »
I also get some e-mail every 10 minutes saying:
Subject: Cron <root@srv01> [ -x /usr/share/zentyal-mail/fetchmail-update ] &&
/usr/share/zentyal-mail/fetchmail-update
Error loading LDIF. Error message: First line of LDIF entry does not begin with "dn:",
Error lines: GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'http_negotiate' registered
...
Subject: Cron <root@srv01> [ -x /usr/share/zentyal-mail/fetchmail-update ] &&
/usr/share/zentyal-mail/fetchmail-update
Error loading LDIF. Error message: First line of LDIF entry does not begin with "dn:",
Error lines: GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'spnego' registered
GENSEC backend 'schannel' registered
GENSEC backend 'naclrpc_as_system' registered
GENSEC backend 'sasl-EXTERNAL' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'ntlmssp_resume_ccache' registered
GENSEC backend 'http_basic' registered
GENSEC backend 'http_ntlm' registered
GENSEC backend 'http_negotiate' registered
...
18
Installation and Upgrades / Re: please kindly help me I made a super big mistake trying to deinstall apparmor
« on: August 16, 2023, 09:48:07 pm »
After I got the NTP to be tricked into being installed, I also re-installed some stuff and now it looks like this:
root@srv01:~# dpkg -l | egrep "zen(buntu|tyal)-"
ii zenbuntu-core 7.0.1ubuntu1 all Zentyal Environment for Ubuntu Server
ii zenbuntu-desktop 7.0.1ubuntu1 all Zentyal Desktop Environment for Ubuntu Server
ii zentyal-antivirus 7.0.3 all Zentyal - Antivirus
ii zentyal-ca 7.0.1 all Zentyal - Certification Authority
ii zentyal-core 7.0.6 all Zentyal - Core
ii zentyal-dhcp 7.0.2 all Zentyal - DHCP Server
ii zentyal-dns 7.0.2 all Zentyal - DNS Server
ii zentyal-firewall 7.0.0 all Zentyal - Firewall
ii zentyal-ftp 7.0.0 all Zentyal - FTP
ii zentyal-groupware 7.0.0ubuntu1 all Zentyal - Mail and Groupware
ii zentyal-ips 7.0.1 all Zentyal - Intrusion Prevention System
rc zentyal-jabber 7.0.0 all Zentyal - Jabber
ii zentyal-mail 7.0.3 all Zentyal - Mail
ii zentyal-mailfilter 7.0.0 all Zentyal - Mail Filter
ii zentyal-network 7.0.0 all Zentyal - Network Configuration
pi zentyal-ntp 7.0.0 all Zentyal - NTP Service
ii zentyal-openvpn 7.0.0 all Zentyal - VPN
ii zentyal-radius 7.0.0 all Zentyal - RADIUS
ii zentyal-samba 7.0.3 all Zentyal - Domain Controller and File Sharing
ii zentyal-software 7.0.0 all Zentyal - Software Management
ii zentyal-sogo 7.0.1 all Zentyal - Web Mail
rc zentyal-squid 7.0.2 all Zentyal - HTTP Proxy
ii zentyal-virt 7.0.1 all Zentyal - Virtualization Manager
root@srv01:~# dpkg -l | egrep -v "^ii"
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Architektur Beschreibung
+++-=====================================-=====================================-============-===============================================================================
rc systemd-timesyncd 245.4-4ubuntu3.2 amd64 minimalistic service to synchronize local time with NTP servers
rc zentyal-jabber 7.0.0 all Zentyal - Jabber
pi zentyal-ntp 7.0.0 all Zentyal - NTP Service
rc zentyal-squid 7.0.2 all Zentyal - HTTP Proxy
Not so bad , and the web management CAN be found with http://srv01:8443 , BUT the user management is gone :
"Element not found
we're sorry
The request contains a reference to a element which doest not exists
If you typed the page address manually, please check it
Maybe the element was removed and the page address is not longer valid
It can be also a parameters cache error, in this case you can navigate again to the page using the left menu
If you need more help, you may want visit Zentyal homepage for documentation and mailing lists"
So yes its quite fucked up, still. :-(
root@srv01:~# dpkg -l | egrep "zen(buntu|tyal)-"
ii zenbuntu-core 7.0.1ubuntu1 all Zentyal Environment for Ubuntu Server
ii zenbuntu-desktop 7.0.1ubuntu1 all Zentyal Desktop Environment for Ubuntu Server
ii zentyal-antivirus 7.0.3 all Zentyal - Antivirus
ii zentyal-ca 7.0.1 all Zentyal - Certification Authority
ii zentyal-core 7.0.6 all Zentyal - Core
ii zentyal-dhcp 7.0.2 all Zentyal - DHCP Server
ii zentyal-dns 7.0.2 all Zentyal - DNS Server
ii zentyal-firewall 7.0.0 all Zentyal - Firewall
ii zentyal-ftp 7.0.0 all Zentyal - FTP
ii zentyal-groupware 7.0.0ubuntu1 all Zentyal - Mail and Groupware
ii zentyal-ips 7.0.1 all Zentyal - Intrusion Prevention System
rc zentyal-jabber 7.0.0 all Zentyal - Jabber
ii zentyal-mail 7.0.3 all Zentyal - Mail
ii zentyal-mailfilter 7.0.0 all Zentyal - Mail Filter
ii zentyal-network 7.0.0 all Zentyal - Network Configuration
pi zentyal-ntp 7.0.0 all Zentyal - NTP Service
ii zentyal-openvpn 7.0.0 all Zentyal - VPN
ii zentyal-radius 7.0.0 all Zentyal - RADIUS
ii zentyal-samba 7.0.3 all Zentyal - Domain Controller and File Sharing
ii zentyal-software 7.0.0 all Zentyal - Software Management
ii zentyal-sogo 7.0.1 all Zentyal - Web Mail
rc zentyal-squid 7.0.2 all Zentyal - HTTP Proxy
ii zentyal-virt 7.0.1 all Zentyal - Virtualization Manager
root@srv01:~# dpkg -l | egrep -v "^ii"
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Architektur Beschreibung
+++-=====================================-=====================================-============-===============================================================================
rc systemd-timesyncd 245.4-4ubuntu3.2 amd64 minimalistic service to synchronize local time with NTP servers
rc zentyal-jabber 7.0.0 all Zentyal - Jabber
pi zentyal-ntp 7.0.0 all Zentyal - NTP Service
rc zentyal-squid 7.0.2 all Zentyal - HTTP Proxy
Not so bad , and the web management CAN be found with http://srv01:8443 , BUT the user management is gone :
"Element not found
we're sorry
The request contains a reference to a element which doest not exists
If you typed the page address manually, please check it
Maybe the element was removed and the page address is not longer valid
It can be also a parameters cache error, in this case you can navigate again to the page using the left menu
If you need more help, you may want visit Zentyal homepage for documentation and mailing lists"
So yes its quite fucked up, still. :-(
19
Installation and Upgrades / Re: please kindly help me I made a super big mistake trying to deinstall apparmor
« on: August 16, 2023, 08:53:43 pm »
In /usr/share/perl5/EBox/NTP.pm I changed out line 122 so it looks like this :
sub initialSetup
{
my ($self, $version) = @_;
# Create default rules and services and add default servers
# only if installing the first time
unless ($version) {
my $servers = $self->model('Servers');
for my $i (0..2) {
# $servers->add(server => "$i.pool.ntp.org");
}
So the "add server..." is commented out, but this is ugly and I know it.
However it allowed me to proceed after the "NTP" problem.
sub initialSetup
{
my ($self, $version) = @_;
# Create default rules and services and add default servers
# only if installing the first time
unless ($version) {
my $servers = $self->model('Servers');
for my $i (0..2) {
# $servers->add(server => "$i.pool.ntp.org");
}
So the "add server..." is commented out, but this is ugly and I know it.
However it allowed me to proceed after the "NTP" problem.
20
Installation and Upgrades / Re: please kindly help me I made a super big mistake trying to deinstall apparmor
« on: August 16, 2023, 08:11:08 pm »
Oh well, NTP seems to be very crucial, so I wanted to install it first, but I always get
log/zentyal/zentyal.log
135:2023/08/15 23:24:03 DEBUG> DataTable.pm:3229 EBox::Model::DataTable::_checkFieldIsUnique - Server 0.pool.ntp.org already exists. at Server 0.pool.ntp.org already exists. at /usr/share/perl5/EBox/Model/DataTable.pm line 3229
140:EBox::Model::DataTable::AUTOLOAD('EBox::NTP::Model::Servers=HASH(0x55782f8c6ad0)', 'server', '0.pool.ntp.org') called at /usr/share/perl5/EBox/NTP.pm line 122
155:2023/08/16 13:26:00 DEBUG> DataTable.pm:3229 EBox::Model::DataTable::_chec kFieldIsUnique - Server 0.pool.ntp.org already exists. at Server 0.pool.ntp.org already exists. at /usr/share/perl5/EBox/Model/DataTable.pm line 3229
160:EBox::Model::DataTable::AUTOLOAD('EBox::NTP::Model::Servers=HASH(0x560c625d6640)', 'server', '0.pool.ntp.org') called at /usr/share/perl5/EBox/NTP.pm line 122
No idea how to get past this one, and it seems to be crucial, it really needs NTP....
log/zentyal/zentyal.log
135:2023/08/15 23:24:03 DEBUG> DataTable.pm:3229 EBox::Model::DataTable::_checkFieldIsUnique - Server 0.pool.ntp.org already exists. at Server 0.pool.ntp.org already exists. at /usr/share/perl5/EBox/Model/DataTable.pm line 3229
140:EBox::Model::DataTable::AUTOLOAD('EBox::NTP::Model::Servers=HASH(0x55782f8c6ad0)', 'server', '0.pool.ntp.org') called at /usr/share/perl5/EBox/NTP.pm line 122
155:2023/08/16 13:26:00 DEBUG> DataTable.pm:3229 EBox::Model::DataTable::_chec kFieldIsUnique - Server 0.pool.ntp.org already exists. at Server 0.pool.ntp.org already exists. at /usr/share/perl5/EBox/Model/DataTable.pm line 3229
160:EBox::Model::DataTable::AUTOLOAD('EBox::NTP::Model::Servers=HASH(0x560c625d6640)', 'server', '0.pool.ntp.org') called at /usr/share/perl5/EBox/NTP.pm line 122
No idea how to get past this one, and it seems to be crucial, it really needs NTP....
21
Installation and Upgrades / Re: please kindly help me I made a super big mistake trying to deinstall apparmor
« on: August 16, 2023, 01:55:32 pm »
Also noteworthy:
root@srv01:/usr/share/zentyal-mail# ./fetchmail-update
Can't call method "isEnabled" on an undefined value at ./fetchmail-update line 16.
root@srv01:/usr/share/zentyal-mail# ./fetchmail-update
Can't call method "isEnabled" on an undefined value at ./fetchmail-update line 16.
22
Installation and Upgrades / Re: please kindly help me I made a super big mistake trying to deinstall apparmor
« on: August 16, 2023, 01:17:54 pm »
I think I need double quotes to run your commands:
/var/log/syslog:
As usual, any help is greatly appreciated..........................
Quote
root@srv01:/home/ad# dpkg -l | egrep "zen(buntu|tyal)-"
root@srv01:/home/ad# dpkg -l | egrep "zen(buntu|tyal)-"
ii zenbuntu-core 7.0.1ubuntu1 all Zentyal Environment for Ubuntu Server
ii zenbuntu-desktop 7.0.1ubuntu1 all Zentyal Desktop Environment for Ubuntu Server
iU zentyal-all 7.0.0ubuntu1 all Zentyal - All Modules
ii zentyal-antivirus 7.0.3 all Zentyal - Antivirus
ii zentyal-ca 7.0.1 all Zentyal - Certification Authority
ii zentyal-core 7.0.6 all Zentyal - Core
iF zentyal-dhcp 7.0.2 all Zentyal - DHCP Server
ii zentyal-dns 7.0.2 all Zentyal - DNS Server
ii zentyal-firewall 7.0.0 all Zentyal - Firewall
ii zentyal-ftp 7.0.0 all Zentyal - FTP
iU zentyal-groupware 7.0.0ubuntu1 all Zentyal - Mail and Groupware
ii zentyal-ips 7.0.1 all Zentyal - Intrusion Prevention System
iU zentyal-jabber 7.0.0 all Zentyal - Jabber
iU zentyal-mail 7.0.3 all Zentyal - Mail
iU zentyal-mailfilter 7.0.0 all Zentyal - Mail Filter
ii zentyal-network 7.0.0 all Zentyal - Network Configuration
iF zentyal-ntp 7.0.0 all Zentyal - NTP Service
ii zentyal-openvpn 7.0.0 all Zentyal - VPN
iU zentyal-radius 7.0.0 all Zentyal - RADIUS
iU zentyal-samba 7.0.3 all Zentyal - Domain Controller and File Sharing
ii zentyal-software 7.0.0 all Zentyal - Software Management
iU zentyal-sogo 7.0.1 all Zentyal - Web Mail
iF zentyal-squid 7.0.2 all Zentyal - HTTP Proxy
ii zentyal-virt 7.0.1 all Zentyal - Virtualization Manager
Quote
root@srv01:~# dpkg -l | egrep -v "^ii"
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Architektur Beschreibung
+++-=====================================-=====================================-============-===============================================================================
rc systemd-timesyncd 245.4-4ubuntu3.2 amd64 minimalistic service to synchronize local time with NTP servers
iU zentyal-all 7.0.0ubuntu1 all Zentyal - All Modules
iF zentyal-dhcp 7.0.2 all Zentyal - DHCP Server
iU zentyal-groupware 7.0.0ubuntu1 all Zentyal - Mail and Groupware
iU zentyal-jabber 7.0.0 all Zentyal - Jabber
iU zentyal-mail 7.0.3 all Zentyal - Mail
iU zentyal-mailfilter 7.0.0 all Zentyal - Mail Filter
iF zentyal-ntp 7.0.0 all Zentyal - NTP Service
iU zentyal-radius 7.0.0 all Zentyal - RADIUS
iU zentyal-samba 7.0.3 all Zentyal - Domain Controller and File Sharing
iU zentyal-sogo 7.0.1 all Zentyal - Web Mail
iF zentyal-squid 7.0.2 all Zentyal - HTTP Proxy
Quote
/var/log/zentyal/zentyal.log:
2023/08/15 23:23:47 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2023/08/15 23:23:47 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: firewall
2023/08/15 23:23:47 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: ips
2023/08/15 23:23:47 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: ips
2023/08/15 23:23:51 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2023/08/15 23:23:51 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: firewall
2023/08/15 23:23:51 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2023/08/15 23:23:51 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: dhcp
2023/08/15 23:23:52 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: dhcp
2023/08/15 23:24:01 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2023/08/15 23:24:01 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: antivirus
2023/08/15 23:24:01 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: antivirus
2023/08/15 23:24:03 DEBUG> DataTable.pm:3229 EBox::Model::DataTable::_checkFieldIsUnique - Server 0.pool.ntp.org already exists. at Server 0.pool.ntp.org a
lready exists. at /usr/share/perl5/EBox/Model/DataTable.pm line 3229
EBox::Model::DataTable::_checkFieldIsUnique('EBox::NTP::Model::Servers=HASH(0x55782f8c6ad0)', 'EBox::Types::Host=HASH(0x55782fc0c1d0)') called at /usr/shar
e/perl5/EBox/Model/DataTable.pm line 762
eval {...} at /usr/share/perl5/EBox/Model/DataTable.pm line 747
EBox::Model::DataTable::addTypedRow('EBox::NTP::Model::Servers=HASH(0x55782f8c6ad0)', 'HASH(0x55782fc0c110)') called at /usr/share/perl5/EBox/Model/DataTab
le.pm line 3605
EBox::Model::DataTable::_autoloadAdd('EBox::NTP::Model::Servers=HASH(0x55782f8c6ad0)', 'add', 'ARRAY(0x55782fb27820)') called at /usr/share/perl5/EBox/Mode
l/DataTable.pm line 2466
EBox::Model::DataTable::AUTOLOAD('EBox::NTP::Model::Servers=HASH(0x55782f8c6ad0)', 'server', '0.pool.ntp.org') called at /usr/share/perl5/EBox/NTP.pm line
122
EBox::NTP::initialSetup('EBox::NTP=HASH(0x55782f842cf8)', undef) called at /usr/share/zentyal/initial-setup line 51
2023/08/15 23:25:09 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: ca
2023/08/15 23:25:10 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: network
2023/08/15 23:25:10 INFO> Base.pm:256 EBox::Module::Base::saveConfig - Saving config for module: openvpn
2023/08/15 23:25:11 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: openvpn
2023/08/15 23:25:13 DEBUG> AccessRules.pm:207 EBox::Squid::Model::AccessRules::validateTypedRow - The time period of the rule (All time) overlaps with the
time period of (All time) other rule for the same any at The time period of the rule (All time) overlaps with the time period of (All time) other rule for
the same any at /usr/share/perl5/EBox/Squid/Model/AccessRules.pm line 207
EBox::Squid::Model::AccessRules::validateTypedRow('EBox::Squid::Model::AccessRules=HASH(0x563c0b39ca00)', 'add', 'HASH(0x563c0c568248)', 'HASH(0x563c0c5682
48)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 768
eval {...} at /usr/share/perl5/EBox/Model/DataTable.pm line 747
EBox::Model::DataTable::addTypedRow('EBox::Squid::Model::AccessRules=HASH(0x563c0b39ca00)', 'HASH(0x563c0c568248)') called at /usr/share/perl5/EBox/Model/D
ataTable.pm line 3605
EBox::Model::DataTable::_autoloadAdd('EBox::Squid::Model::AccessRules=HASH(0x563c0b39ca00)', 'add', 'ARRAY(0x563c0aaf7d98)') called at /usr/share/perl5/EBo
x/Model/DataTable.pm line 2466
EBox::Model::DataTable::AUTOLOAD('EBox::Squid::Model::AccessRules=HASH(0x563c0b39ca00)', 'source', 'HASH(0x563c0b341208)', 'policy', 'HASH(0x563c0b39cb68)'
) called at /usr/share/perl5/EBox/Squid.pm line 123
EBox::Squid::initialSetup('EBox::Squid=HASH(0x563c0a79c508)', undef) called at /usr/share/zentyal/initial-setup line 51
2023/08/15 23:25:18 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: webadmin
2023/08/15 23:25:21 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: logs
/var/log/syslog:
Quote
Aug 16 13:14:00 srv01 postfix/pipe[1112574]: CAC56CA02F3: to=<office@mycompany.lan>, relay=dovecot, delay=427, delays=427/0.04/0/0.02, dsn=4.3.0, status=de
ferred (temporary failure. Command output: lda(office@mycompany.lan): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
Aug 16 13:14:00 srv01 dovecot: lda(sa@mycompany.lan)<1112641><>: Error: auth-master: userdb lookup(sa@mycompany.lan): connect(/var/run/dovecot/auth-master)
failed: Permission denied (euid=131(ebox) egid=145(ebox) missing +r perm: /var/run/dovecot/auth-master, dir owned by 0:0 mode=0755)
Aug 16 13:14:00 srv01 dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Aug 16 13:14:00 srv01 postfix/pipe[1112628]: CBC91CA0283: to=<sa@mycompany.lan>, relay=dovecot, delay=12909, delays=12909/0.03/0/0.02, dsn=4.3.0, status=de
ferred (temporary failure. Command output: lda(sa@mycompany.lan): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
Aug 16 13:14:00 srv01 dovecot: lda(cz@mycompany.lan)<1112654><>: Error: auth-master: userdb lookup(cz@mycompany.lan): connect(/var/run/dovecot/auth-master)
failed: Permission denied (euid=131(ebox) egid=145(ebox) missing +r perm: /var/run/dovecot/auth-master, dir owned by 0:0 mode=0755)
Aug 16 13:14:00 srv01 dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Aug 16 13:14:00 srv01 dovecot: lda(kp@mycompany.lan)<1112655><>: Error: auth-master: userdb lookup(kp@mycompany.lan): connect(/var/run/dovecot/auth-master)
failed: Permission denied (euid=131(ebox) egid=145(ebox) missing +r perm: /var/run/dovecot/auth-master, dir owned by 0:0 mode=0755)
Aug 16 13:14:00 srv01 dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Aug 16 13:14:00 srv01 dovecot: lda(office@mycompany.lan)<1112652><>: Error: auth-master: userdb lookup(office@mycompany.lan): connect(/var/run/dovecot/auth
-master) failed: Permission denied (euid=131(ebox) egid=145(ebox) missing +r perm: /var/run/dovecot/auth-master, dir owned by 0:0 mode=0755)
Aug 16 13:14:00 srv01 dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Aug 16 13:14:00 srv01 postfix/pipe[1112639]: B43F7CA0252: to=<cz@mycompany.lan>, relay=dovecot, delay=38339, delays=38339/0.04/0/0.02, dsn=4.3.0, status=de
ferred (temporary failure. Command output: lda(cz@mycompany.lan): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
Aug 16 13:14:00 srv01 postfix/pipe[1112591]: B41C0CA025C: to=<kp@mycompany.lan>, relay=dovecot, delay=38332, delays=38332/0.03/0/0.02, dsn=4.3.0, status=de
ferred (temporary failure. Command output: lda(kp@mycompany.lan): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
Aug 16 13:14:00 srv01 dovecot: lda(ap@mycompany.lan)<1112659><>: Error: auth-master: userdb lookup(ap@mycompany.lan): connect(/var/run/dovecot/auth-master)
failed: Permission denied (euid=131(ebox) egid=145(ebox) missing +r perm: /var/run/dovecot/auth-master, dir owned by 0:0 mode=0755)
Aug 16 13:14:00 srv01 dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Aug 16 13:14:00 srv01 postfix/pipe[1112542]: 796ACCA02F0: to=<office@mycompany.lan>, relay=dovecot, delay=1107, delays=1107/0.04/0/0.03, dsn=4.3.0, status=
deferred (temporary failure. Command output: lda(office@mycompany.lan): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
Aug 16 13:14:00 srv01 dovecot: lda(bg@mycompany.lan)<1112663><>: Error: auth-master: userdb lookup(bg@mycompany.lan): connect(/var/run/dovecot/auth-master)
failed: Permission denied (euid=131(ebox) egid=145(ebox) missing +r perm: /var/run/dovecot/auth-master, dir owned by 0:0 mode=0755)
Aug 16 13:14:00 srv01 dovecot: lda: Fatal: Internal error occurred. Refer to server log for more information.
Aug 16 13:14:00 srv01 postfix/pipe[1112607]: BD68CCA02D7: to=<ap@mycompany.lan>, relay=dovecot, delay=2252, delays=2252/0.03/0/0.02, dsn=4.3.0, status=defe
rred (temporary failure. Command output: lda(ap@mycompany.lan): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
As usual, any help is greatly appreciated..........................

23
Installation and Upgrades / Re: please kindly help me I made a super big mistake trying to deinstall apparmor
« on: August 16, 2023, 10:12:08 am »
Addition: Surprisingly, the Zentyal server runs well enough for Users to log in and access the samba shares. A miracle!
Also, mail seems to somewhat "work" - not tested , to what degree of "work" exactly...
But what does not work is the web interface at https://zentyalserver:8443 - it indefinitely says "waiting for Zentyal to get ready" , which never happens.
As I said before, any good clues are welcome of just what to do to get the system in a stable and working state again.
Edit: Addendum: I am also getting an error every 10 minutes as e-mail to root:
Subject: Cron <root@srv01> [ -x /usr/share/zentyal-mail/fetchmail-update ]
&& /usr/share/zentyal-mail/fetchmail-update
Can't call method "isEnabled" on an undefined value at
/usr/share/zentyal-mail/fetchmail-update line 16.
I also don't know how to fix this.
Also, mail seems to somewhat "work" - not tested , to what degree of "work" exactly...
But what does not work is the web interface at https://zentyalserver:8443 - it indefinitely says "waiting for Zentyal to get ready" , which never happens.
As I said before, any good clues are welcome of just what to do to get the system in a stable and working state again.
Edit: Addendum: I am also getting an error every 10 minutes as e-mail to root:
Subject: Cron <root@srv01> [ -x /usr/share/zentyal-mail/fetchmail-update ]
&& /usr/share/zentyal-mail/fetchmail-update
Can't call method "isEnabled" on an undefined value at
/usr/share/zentyal-mail/fetchmail-update line 16.
I also don't know how to fix this.
24
Installation and Upgrades / please kindly help me I made a super big mistake trying to deinstall apparmor
« on: August 15, 2023, 11:40:22 pm »
I am so sorry....
I made a big mistake! !!!
I wanted to get rid of the "apparmor" error messages in the messages / dmesg log.
So I googled and I thought it was safe to remove apparmor. No, it wasn't !
What I did was :
sudo systemctl stop apparmor
sudo systemctl disable apparmor
sudo apt remove --assume-yes --purge apparmor
Now the system told me it would remove all zentyal* components too! HOLY SHIT NOOOOOOOOO!
I pressed control-c to break the deinstallation process very hard, but I doubt that really helped.
In a desperate attempt to fix my mistake, I did:
sudo apt install zentyal*
But I ran into some errors:
* Restarting Zentyal module: openvpn [ OK ]
zentyal-squid (7.0.2) wird eingerichtet ...
The time period of the rule (All time) overlaps with the time period of (All time) other rule for the same anydpkg: Fehler beim Bearbeiten des Paketes zentyal-squid (--configure):
»installiertes zentyal-squid-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 25 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-samba:
zentyal-samba hängt ab von zentyal-ntp; aber:
Paket zentyal-ntp ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-samba (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-jabber:
zentyal-jabber hängt ab von zentyal-samba; aber:
Paket zentyal-samba ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-jabber (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-radius:
zentyal-radius hängt ab von zentyal-samba; aber:
Paket zentyal-samba ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-radius (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-mail:
zentyal-mail hängt ab von zentyal-samba; aber:
Paket zentyal-samba ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-mail (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-mailfilter:
zentyal-mailfilter hängt ab von zentyal-mail; aber:
Paket zentyal-mail ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-mailfilter (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-sogo:
zentyal-sogo hängt ab von zentyal-mail; aber:
Paket zentyal-mail ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-sogo (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-groupware:
zentyal-groupware hängt ab von zentyal-mail; aber:
Paket zentyal-mail ist noch nicht konfiguriert.
zentyal-groupware hängt ab von zentyal-sogo; aber:
Paket zentyal-sogo ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-groupware (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für systemd (245.4-4ubuntu3.11) werden verarbeitet ...
Trigger für man-db (2.9.1-1) werden verarbeitet ...
Trigger für zentyal-core (7.0.6) werden verarbeitet ...
* Restarting Zentyal module: webadmin [ OK ]
* Restarting Zentyal module: logs [ OK ]
Trigger für libc-bin (2.31-0ubuntu9.2) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
zentyal-dhcp
zentyal-ntp
zentyal-all
zentyal-squid
zentyal-samba
zentyal-jabber
zentyal-radius
zentyal-mail
zentyal-mailfilter
zentyal-sogo
zentyal-groupware
E: Sub-process /usr/bin/dpkg returned an error code (1)
How do I fix my Zentyal installation now ?
SORRY!!!! Please, any help is greatly appreciated. I suppose I am sitting on a more-than-half-broken Zentyal installation now.....
I made a big mistake! !!!
I wanted to get rid of the "apparmor" error messages in the messages / dmesg log.
So I googled and I thought it was safe to remove apparmor. No, it wasn't !
What I did was :
sudo systemctl stop apparmor
sudo systemctl disable apparmor
sudo apt remove --assume-yes --purge apparmor
Now the system told me it would remove all zentyal* components too! HOLY SHIT NOOOOOOOOO!
I pressed control-c to break the deinstallation process very hard, but I doubt that really helped.
In a desperate attempt to fix my mistake, I did:
sudo apt install zentyal*
But I ran into some errors:
* Restarting Zentyal module: openvpn [ OK ]
zentyal-squid (7.0.2) wird eingerichtet ...
The time period of the rule (All time) overlaps with the time period of (All time) other rule for the same anydpkg: Fehler beim Bearbeiten des Paketes zentyal-squid (--configure):
»installiertes zentyal-squid-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 25 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-samba:
zentyal-samba hängt ab von zentyal-ntp; aber:
Paket zentyal-ntp ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-samba (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-jabber:
zentyal-jabber hängt ab von zentyal-samba; aber:
Paket zentyal-samba ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-jabber (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-radius:
zentyal-radius hängt ab von zentyal-samba; aber:
Paket zentyal-samba ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-radius (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-mail:
zentyal-mail hängt ab von zentyal-samba; aber:
Paket zentyal-samba ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-mail (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-mailfilter:
zentyal-mailfilter hängt ab von zentyal-mail; aber:
Paket zentyal-mail ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-mailfilter (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-sogo:
zentyal-sogo hängt ab von zentyal-mail; aber:
Paket zentyal-mail ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-sogo (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von zentyal-groupware:
zentyal-groupware hängt ab von zentyal-mail; aber:
Paket zentyal-mail ist noch nicht konfiguriert.
zentyal-groupware hängt ab von zentyal-sogo; aber:
Paket zentyal-sogo ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten des Paketes zentyal-groupware (--configure):
Abhängigkeitsprobleme - verbleibt unkonfiguriert
Trigger für systemd (245.4-4ubuntu3.11) werden verarbeitet ...
Trigger für man-db (2.9.1-1) werden verarbeitet ...
Trigger für zentyal-core (7.0.6) werden verarbeitet ...
* Restarting Zentyal module: webadmin [ OK ]
* Restarting Zentyal module: logs [ OK ]
Trigger für libc-bin (2.31-0ubuntu9.2) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
zentyal-dhcp
zentyal-ntp
zentyal-all
zentyal-squid
zentyal-samba
zentyal-jabber
zentyal-radius
zentyal-mail
zentyal-mailfilter
zentyal-sogo
zentyal-groupware
E: Sub-process /usr/bin/dpkg returned an error code (1)
How do I fix my Zentyal installation now ?
SORRY!!!! Please, any help is greatly appreciated. I suppose I am sitting on a more-than-half-broken Zentyal installation now.....
25
Directory and Authentication / Re: one domain wide GPO to prevent thunderbird updates for all users
« on: January 29, 2022, 08:57:06 pm »
Hi,
If one of you guys have created that policy with the RSAT tools, do they produce a file and if so, can you share that file?
And tell me how to tell Zentyal to use this ? I am using the free community edition....
If one of you guys have created that policy with the RSAT tools, do they produce a file and if so, can you share that file?
And tell me how to tell Zentyal to use this ? I am using the free community edition....
26
Directory and Authentication / one domain wide GPO to prevent thunderbird updates for all users
« on: January 14, 2022, 10:03:50 am »
Hello,
I want to add one domain-wide GPO rule on a Zentyal7 samba/AD server to prevent any updates for Thunderbird on all local Windows clients, since the update usually breaks a lot of perfectly working stuff.
What is the easiest way, preferably from the command line in Linux, to do this ?
Currently, I only know that the following registry value is doing this, but for each client only, not domain-wide :
... and I don't want to run to each client computer and add this registry value by hand, when some domain-wide rule could do it.
I want to add one domain-wide GPO rule on a Zentyal7 samba/AD server to prevent any updates for Thunderbird on all local Windows clients, since the update usually breaks a lot of perfectly working stuff.
What is the easiest way, preferably from the command line in Linux, to do this ?
Currently, I only know that the following registry value is doing this, but for each client only, not domain-wide :
Code: [Select]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Thunderbird]
"DisableAppUpdate"=dword:00000001
... and I don't want to run to each client computer and add this registry value by hand, when some domain-wide rule could do it.
27
Directory and Authentication / Zentyal 7: Domain users always lose their "Desktop" etc. data; temp profile
« on: September 01, 2021, 02:52:18 pm »
Hello,
I recently installed Zentyal 7 on a local server.
I have the following problem : Domain users can log in on a Windows-Client (usually, Win7 or Win10 Pro), but whatever they create in their profile is never properly saved. For example, one user can create a tiny folder on his desktop, but when he logs out and logs in again, the created folder simply vanishes. Sometimes, users are always logged in with a temporary profile and thus also lose everything they do on their profile, like, for example, Thunderbird settings, stuff on the Desktop, etc.etc.
In one case, a Windows user logs in into the domain, but is automatically immidately logged off again. This even happens to him if the whole Windows-10-pro-client is freshly installed , so it cannot be because of some old registry settings, .bak registry settings, etc. etc.
Do you have any kind advice of how to deal with this and how to fix these bugs?
I recently installed Zentyal 7 on a local server.
I have the following problem : Domain users can log in on a Windows-Client (usually, Win7 or Win10 Pro), but whatever they create in their profile is never properly saved. For example, one user can create a tiny folder on his desktop, but when he logs out and logs in again, the created folder simply vanishes. Sometimes, users are always logged in with a temporary profile and thus also lose everything they do on their profile, like, for example, Thunderbird settings, stuff on the Desktop, etc.etc.
In one case, a Windows user logs in into the domain, but is automatically immidately logged off again. This even happens to him if the whole Windows-10-pro-client is freshly installed , so it cannot be because of some old registry settings, .bak registry settings, etc. etc.
Do you have any kind advice of how to deal with this and how to fix these bugs?
28
Email and Groupware / Re: Zentyal 6.1 fetchmail didn't retrieve messages from mail hosting provider
« on: February 18, 2020, 04:06:50 pm »
Same problem here.
29
Directory and Authentication / Re: Users with UID 1*** no longer visible in Zentyal 6.1
« on: February 18, 2020, 04:04:33 pm »
I have the same question but I don't have installed "wbinfo" in old Zentyal 4.1
"apt-cache search wbinfo" does not find anything.
Where to find wbinfo, now ?
"apt-cache search wbinfo" does not find anything.
Where to find wbinfo, now ?
30
Directory and Authentication / only SOME users should SSH to the Zentyal server
« on: February 18, 2020, 03:56:13 pm »
Hello,
In Zentyal I have an option to give ALL samba users the option to SSH to the server and get a shell login.
But I don't want to give all users this option, but only some users, and restrict other users.
How do I do this ?
In Zentyal I have an option to give ALL samba users the option to SSH to the server and get a shell login.
But I don't want to give all users this option, but only some users, and restrict other users.
How do I do this ?