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.


Topics - mscfw

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

2
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

3
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

Pages: [1]