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.
Pages: [1]
1
German / Re: DHCP, DNS und SAMBA funktionieren nicht nach nächtlichem Upgrade von Samba
« on: March 09, 2023, 06:07:03 pm »
Super, danke Dir, hat mir den Abend gerettet!
Möchtest Du Deine Lösung auch im eng. Teil posten, da würden sich sicher einige Leute sehr freuen.
Servus
Markus
Möchtest Du Deine Lösung auch im eng. Teil posten, da würden sich sicher einige Leute sehr freuen.
Servus
Markus
2
Email and Groupware / Re: archivemail in Zentyal 7 / Ubuntu 20
« on: April 09, 2021, 01:39:26 pm »
@caguiar: Unfortunately not yet ...
3
Email and Groupware / archivemail in Zentyal 7 / Ubuntu 20
« on: March 23, 2021, 10:47:02 am »
Hi all,
upgraded my server a few days ago. I noticed the daily mail clean up job is generating an error:
First I though this is linked to xargs, but I was wrong - archivemail is the name of the cron job and the name of an program to clean up the mail directories.
Searching a bit it looks like archivemail was avaliable up to Ubuntu 18, in Ubuntu 20 it tagged as "Deleted". => https://launchpad.net/ubuntu/focal/amd64/archivemail/0.9.0-1.1
How do you deal with this? Are there alternatives?
Thanks for any input,
bye
Markus
upgraded my server a few days ago. I noticed the daily mail clean up job is generating an error:
Code: [Select]
xargs: archivemail: No such file or directory
xargs: archivemail: No such file or directory
run-parts: /etc/cron.daily/archivemail exited with return code 127
First I though this is linked to xargs, but I was wrong - archivemail is the name of the cron job and the name of an program to clean up the mail directories.
Searching a bit it looks like archivemail was avaliable up to Ubuntu 18, in Ubuntu 20 it tagged as "Deleted". => https://launchpad.net/ubuntu/focal/amd64/archivemail/0.9.0-1.1
How do you deal with this? Are there alternatives?
Thanks for any input,
bye
Markus
4
Installation and Upgrades / Re: zentyal-firewall 7.0.0 tries to call /sbin/iptables
« on: March 17, 2021, 01:24:30 pm »
Hi,
I can also see a log message in the zentyal.log file telling me
bye
Markus
I can also see a log message in the zentyal.log file telling me
Code: [Select]
Error output: /var/lib/zentyal/tmp/AL0F9rpy_r.cmd: 13: /sbin/iptables: not found
but my internal and external filter settings seemed to be there and working - at least mail and www hosting is working for what I can see.bye
Markus
5
Installation and Upgrades / Re: Zentyal 7: Invalid value for Default login shell: /usr/bin/bash ...
« on: March 17, 2021, 01:20:17 pm »
Hi Daniel,
I missed the additional lines - this is not 100% my world to be honest - but I'm always open to learn ;-).
To your questions:
the upgrade failed on both my systems with more or less similar "symtoms".
I had no broken packages after the script finished, but I could see the corresponding message during the run (verbose mode)
System (1) has antivirus, audit, dns, firewall, ips, logs, mail, mailfilter, network, ntp, samba, sogo, webadmin installed, but audit and ips are actually not configured.
System (2) is a kind of BDC with only antivirus, audit, dns, firewall, logs, network, ntp, samba, webadmin installed, audit is also not active.
Does this help, or is information missing?
Thanks for your support,
bye
Markus
I missed the additional lines - this is not 100% my world to be honest - but I'm always open to learn ;-).
To your questions:
the upgrade failed on both my systems with more or less similar "symtoms".
- suricata repro has missing key
- grub failed to probe devices (usual software raid-1 problem, easy to fix if do NOT reboot before running grub-install with working parameters!)
- Zentyal repro without version
I had no broken packages after the script finished, but I could see the corresponding message during the run (verbose mode)
System (1) has antivirus, audit, dns, firewall, ips, logs, mail, mailfilter, network, ntp, samba, sogo, webadmin installed, but audit and ips are actually not configured.
System (2) is a kind of BDC with only antivirus, audit, dns, firewall, logs, network, ntp, samba, webadmin installed, audit is also not active.
Does this help, or is information missing?
Thanks for your support,
bye
Markus
6
Installation and Upgrades / fixing repositorities after/during upgrade (Ubuntu 18 -> 20; Zentyal 6.2 -> 7.0)
« on: March 17, 2021, 01:00:49 pm »
Hi all,
here just a quick fix in case you ran into the same issues like me:
During the combined upgrage from Ubuntu 18 to 20 and Zentyal 6.2 to 7.0 I noticed that "apt ..." was generating multiple errors, and at the end of the day blocking the update script.
Issue 1 - ppa:oisf/suricata-stable => missing key
Quick fix:
Issue 2 - Zentyal repro is missing version information
Quick fix:
I don't know the source for this, nor did I try to investigate the background, I just needed a quick fix, so please feel free to add comments or better solution if you also see messages/error like these.
bye
Markus
here just a quick fix in case you ran into the same issues like me:
During the combined upgrage from Ubuntu 18 to 20 and Zentyal 6.2 to 7.0 I noticed that "apt ..." was generating multiple errors, and at the end of the day blocking the update script.
Issue 1 - ppa:oisf/suricata-stable => missing key
Quick fix:
Code: [Select]
sudo add-apt-repository ppa:oisf/suricata-stable
sudo apt-get update
Issue 2 - Zentyal repro is missing version information
Quick fix:
Code: [Select]
sudo nano /etc/apt/sources.list.d/zentyal-packages.list
change fromCode: [Select]
deb http://packages.zentyal.org/zentyal . main extra
toCode: [Select]
deb http://packages.zentyal.org/zentyal 7.0 main extra
and thenCode: [Select]
sudo apt-get update
I don't know the source for this, nor did I try to investigate the background, I just needed a quick fix, so please feel free to add comments or better solution if you also see messages/error like these.
bye
Markus
7
Installation and Upgrades / Re: Zentyal 7: Invalid value for Default login shell: /usr/bin/bash ...
« on: March 17, 2021, 12:08:36 pm »
Quick Update:
Update to 7.0.3 also did not change anything.
- The link does not solve the problem in my installation
- Updating a second system ended in the same situation
Update to 7.0.3 also did not change anything.
8
Installation and Upgrades / Re: Zentyal 7: Invalid value for Default login shell: /usr/bin/bash ...
« on: March 17, 2021, 10:12:30 am »
Thanks a lot, makes live easier. I'm not sure if I should do a fresh reinstall at the end of the day, a bit scared about moving the mailboxes and all the small extra settings collected over the last few years ...
9
Installation and Upgrades / Re: Issues since upgrading to 7.0 March 12, 2021
« on: March 16, 2021, 01:57:00 pm »
Hi ,
for a quick & dirty fix of your DNS problem - just to get some updates - you could try to edit resolv.conf
Change "nameserver 127.0.0.1" to something like "nameserver 8.8.8.8" or "nameserver 1.1.1.1" - whom ever you trust more ;-)
You should now be able to run apt update / apt upgrade and so on. After the next reboot your resov.conf is / should be overwritten.
This helped me during the upgrade process. DNS was fixed after Ubuntu and Zentyal were back on a more or less stable version / config. Some additional issues left, but AD and Mail/WebMail are fine.
bye
Markus
for a quick & dirty fix of your DNS problem - just to get some updates - you could try to edit resolv.conf
Code: [Select]
sudo nano /etc/resolv.conf
The original one should look like this:Code: [Select]
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# and managed by Zentyal.
#
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
#
nameserver 127.0.0.1
search [i]YOUR.DOMAIN[/i]
Change "nameserver 127.0.0.1" to something like "nameserver 8.8.8.8" or "nameserver 1.1.1.1" - whom ever you trust more ;-)
You should now be able to run apt update / apt upgrade and so on. After the next reboot your resov.conf is / should be overwritten.
This helped me during the upgrade process. DNS was fixed after Ubuntu and Zentyal were back on a more or less stable version / config. Some additional issues left, but AD and Mail/WebMail are fine.
bye
Markus
10
News and Announcements / Re: Upgrade from Zentyal 6.2 to 7.0 is now available
« on: March 16, 2021, 12:56:40 pm »
Hi Daniel,
I plan to start the upgrade on my second system soon. Manual update (by script) would be fine, just wondering if I missed this information, but should we/I upgrade ubuntu first and then Zentyal, or better the other way round?
My first Zentyal system fail with the upgrade, suricata repro key missing, then grub boot load "gone", ... took quite a while to fix it, but ok so far.
There was no responce on the "/usr/share/perl5/EBox/Samba/Model/PAM.pm" issue in https://forum.zentyal.org/index.php/topic,35173.0.html, perhaps also only a local problem.
Thanks for your support!
bye
Markus
I plan to start the upgrade on my second system soon. Manual update (by script) would be fine, just wondering if I missed this information, but should we/I upgrade ubuntu first and then Zentyal, or better the other way round?
My first Zentyal system fail with the upgrade, suricata repro key missing, then grub boot load "gone", ... took quite a while to fix it, but ok so far.
There was no responce on the "/usr/share/perl5/EBox/Samba/Model/PAM.pm" issue in https://forum.zentyal.org/index.php/topic,35173.0.html, perhaps also only a local problem.
Thanks for your support!
bye
Markus
11
Installation and Upgrades / Zentyal 7: Invalid value for Default login shell: /usr/bin/bash ...
« on: March 15, 2021, 09:31:22 am »
Hi everyone,
since the update from 6.2.7 to 7 (7.0.1) I'm facing some issues. The easy one is "Webadm" and "Samba" modules are no longer starting, this happend as a part of the major upgrade, but is repeated with the last minor updates too.
The error message looks like the following:
Quickfix:
replace
Did a check on 6.2.7 / 6.2.8, the line here shows '/bin/bash', so I asume a minor issue with 7.
I have no Github account, why ever it is not working, so if anyone is facing the same error, perhaps a ticket could help solving it permanently.
bye
Markus
since the update from 6.2.7 to 7 (7.0.1) I'm facing some issues. The easy one is "Webadm" and "Samba" modules are no longer starting, this happend as a part of the major upgrade, but is repeated with the last minor updates too.
The error message looks like the following:
Code: [Select]
...
Unpacking zentyal-samba (7.0.1) over (7.0.0) ...
Setting up zentyal-samba (7.0.1) ...
* Restarting Zentyal module: samba [fail]
Invalid value for Default login shell: /usr/bin/bash.
Choose a value within the value set: /bin/sh, /bin/rbash, /bin/dash, /bin/bash, /usr/bin/screen
Processing triggers for zentyal-core (7.0.0) ...
* Restarting Zentyal module: webadmin [fail]
Invalid value for Default login shell: /usr/bin/bash.
Choose a value within the value set: /bin/dash, /bin/bash, /bin/sh, /bin/rbash, /usr/bin/screen
...
Quickfix:
Code: [Select]
sudo nano /usr/share/perl5/EBox/Samba/Model/PAM.pm
replace
Code: [Select]
use constant DEFAULT_SHELL => '/usr/bin/bash';
withCode: [Select]
use constant DEFAULT_SHELL => '/bin/bash';
Did a check on 6.2.7 / 6.2.8, the line here shows '/bin/bash', so I asume a minor issue with 7.
I have no Github account, why ever it is not working, so if anyone is facing the same error, perhaps a ticket could help solving it permanently.
bye
Markus
12
Installation and Upgrades / Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« on: May 28, 2020, 11:38:46 am »
Hi Johan,
had the same requirement, did work for me, Mail Filter is up and running.
Did you try an extra "sudo dpkg --configure -a"?
bye
Markus
had the same requirement, did work for me, Mail Filter is up and running.
Did you try an extra "sudo dpkg --configure -a"?
bye
Markus
13
Installation and Upgrades / Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« on: May 28, 2020, 11:36:34 am »
Hi goldp,
you are right, if an installation is "pending" with an error, you have to fix it using "sudo dpkg --configure -a". Adding additional modules later should work without this step. Sorry, my fault.
bye
Markus
you are right, if an installation is "pending" with an error, you have to fix it using "sudo dpkg --configure -a". Adding additional modules later should work without this step. Sorry, my fault.
bye
Markus
14
Installation and Upgrades / Re: unmet dependencies after Zentyal 6.2 installation (zentyal-antivirus)
« on: May 26, 2020, 12:13:08 pm »
Quick & Dirty solution for me:
may not be required, but ...
backup of /var/lib/apt/lists/packages.zentyal.org_zentyal_dists_6.2_main_binary-amd64_Packages
backup of /var/lib/apt/lists/packages.zentyal.org_zentyal_dists_6.2_main_binary-i386_Packages
Update in both files the section "Package: zentyal-antivirus" by replacing all "(= 0.102.2+dfsg-0ubuntu0.18.04.1)" with "(>= 0.102.2+dfsg-0ubuntu0.18.04.1)"
backup of /var/lib/dpkg/status
Update also the section "Package: zentyal-antivirus" by replacing all "(= 0.102.2+dfsg-0ubuntu0.18.04.1)" with "(>= 0.102.2+dfsg-0ubuntu0.18.04.1)"
Do not run an apt-get clean/autoclean or whatever here.
After a reboot I could install AV and Mail Filter without any issues.
bye
Markus
may not be required, but ...
backup of /var/lib/apt/lists/packages.zentyal.org_zentyal_dists_6.2_main_binary-amd64_Packages
backup of /var/lib/apt/lists/packages.zentyal.org_zentyal_dists_6.2_main_binary-i386_Packages
Update in both files the section "Package: zentyal-antivirus" by replacing all "(= 0.102.2+dfsg-0ubuntu0.18.04.1)" with "(>= 0.102.2+dfsg-0ubuntu0.18.04.1)"
backup of /var/lib/dpkg/status
Update also the section "Package: zentyal-antivirus" by replacing all "(= 0.102.2+dfsg-0ubuntu0.18.04.1)" with "(>= 0.102.2+dfsg-0ubuntu0.18.04.1)"
Do not run an apt-get clean/autoclean or whatever here.
After a reboot I could install AV and Mail Filter without any issues.
bye
Markus
Pages: [1]