Subject: The mailing list for listmasters using Sympa
List archive
- From: samer khalil <address@concealed>
- To: Steve Shipway <address@concealed>
- Cc: "address@concealed" <address@concealed>
- Subject: Re: [sympa-users] archive not accesible
- Date: Tue, 2 Jun 2020 09:34:10 +0300
thank you steve for the hint,
I traced the error through the command line and had to alter between /usr/local/share/perl/5.24.1/mhamain.pl
and /usr/share/mhonarc/mhamain.pl in /usr/bin/mhonarc
and in /usr/share/mhonarc/mhamain.pl use mhopt.pl from /usr/share/mhonarc/ rather than the one from perl.
I'm not sure how it will affect future upgrades but it's working now..
thank you,
Sam
On Mon, Jun 1, 2020 at 11:38 PM Steve Shipway <address@concealed> wrote:
On Mon, 2020-06-01 at 15:36 +0300, samer khalil wrote:I changed the permissions under/ var/lib/sympa/arc to 775 and I'm still getting this error. It looks like a permission issue but how to fix it?www-data is in sympa group and vis-versa
Jun 1 14:37:18 SYMPA archived[17516]: err main::#162 > Sympa::Spindle::spin#83 > Sympa::Spindle::ProcessArchive::_twist#116 > Sympa::Spindle::ProcessArchive::_mail2arc#361 > Sympa::Archive::html_store#542 Command /usr/bin/mhonarc -add -addressmodifycode 1 -rcfile /usr/share/sympa/default/mhonarc-ressources.tt2 -outdir /var/lib/sympa/arc/address@concealed/2020-06 -definevars listname='sk-test2' hostname=aub.edu.lb yyyy=2020 mois=06 yyyymm=2020-06 wdir=/var/lib/sympa/arc base=https://sympa.aub.edu.lb/sympa/arc tag=861a73d091 with_tslice=1 with_powered_by=1 -umask 027 failed with exit code 255
The error log indicates that the problem is when trying to call the mhonarc tool. Possibly this is not installed correctly or a dependency is missing?
You could try running this command from the commandline (as the sympa user) as it is the one returning the 255 error code
/usr/bin/mhonarc -add -addressmodifycode 1 -rcfile /usr/share/sympa/default/mhonarc-ressources.tt2 -outdir /var/lib/sympa/arc/address@concealed/2020-06 -definevars listname='sk-test2' hostname=aub.edu.lb yyyy=2020 mois=06 yyyymm=2020-06 wdir=/var/lib/sympa/arc base=https://sympa.aub.edu.lb/sympa/arctag=861a73d091 with_tslice=1 with_powered_by=1 -umask 027
... and see if you are given a clearer error message indicating the root cause. Check for messages about missing libraries etc.Check to make sure that mhonarc is installed into /usr/bin - maybe you installed into /usr/local/bin or somewhere else; if so, create a softlink from /usr/bin/mhonarc
Steve
--Steve Shipway | Senior Email Systems Administrator
Phone: +64 9 302 0515 Fax: +64 9 302 0518
Freephone: 0800 SMX SMX (769 769)
SMX Limited: Level 10, 19 Victoria Street West, Auckland, New Zealand
Web: http://smxemail.com
-
Re: [sympa-users] archive not accesible,
samer khalil, 06/01/2020
-
Re: [sympa-users] archive not accesible,
Steve Shipway, 06/01/2020
-
Re: [sympa-users] archive not accesible,
samer khalil, 06/02/2020
- Re: [sympa-users] archive not accesible, Stefan Hornburg (Racke), 06/02/2020
-
Re: [sympa-users] archive not accesible,
samer khalil, 06/02/2020
-
Re: [sympa-users] archive not accesible,
Steve Shipway, 06/01/2020
Archive powered by MHonArc 2.6.19+.