Skip to Content.
Sympa Menu

en - Re: [sympa-users] archive not accesible

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: Re: [sympa-users] archive not accesible
  • Date: Mon, 1 Jun 2020 20:38:02 +0000

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 




Archive powered by MHonArc 2.6.19+.

Top of Page