Show Posts

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.


Messages - mscfw

Pages: [1]
1
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

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:

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
Hi,
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 foundbut 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
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".
  • 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
After fixing the grub and repro issues I reran the upgrade script, but I did not check if all modules are triggers. The zentyal update log is "clean". I missed saving the log after the first run, sorry.
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
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:
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.listchange from
Code: [Select]
deb http://packages.zentyal.org/zentyal . main extrato
Code: [Select]
deb http://packages.zentyal.org/zentyal 7.0 main extraand then
Code: [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
Quick Update:
  • 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
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
Hi ,
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.confThe 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
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

11
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:

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';with
Code: [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
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

13
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

14
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

Pages: [1]