Hi guys INTRO I need a mailing list and naturally looked at mailman as it was installed along the stretch perfect server with IPSC I'm using. After some hasle, I managed to have it up an running (see here for a mini tutorial). Lately I looked at sympa, as I understood it is more advanced for multi domain. I thus folowed the instalation procedure here, but without success yet, althought I could see on the forum at leat someone manage to set it up along ISPC. THE ISSSUE Sympa has a WebUI I'm suposed to acces using mydomain.net/wws however I have a sort of text page with 24 000 lines displayed instead. you'll find the first few lines below : Code: #!/usr/bin/perl # -*- indent-tabs-mode: nil; -*- # vim:ft=perl:et:sw=4 # $Id: wwsympa.fcgi.in 12833 2016-06-08 08:30:27Z sikeda $ # Sympa - SYsteme de Multi-Postage Automatique # # Copyright (c) 1997, 1998, 1999 Institut Pasteur & Christophe Wolfhugel # Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Comite Reseau des Universites # Copyright (c) 2011, 2012, 2013, 2014, 2015, 2016 GIP RENATER # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. ## Copyright 1999 Comité Réseaux des Universités ## web interface to Sympa mailing lists manager ## Sympa: http://www.sympa.org/ ## Authors : ## Serge Aumont <sa AT cru.fr> ## Olivier Salaün <os AT cru.fr> use strict; ##use warnings; use lib split(/:/, $ENV{SYMPALIB} || ''), '/usr/share/sympa/lib'; use Archive::Zip qw(); use DateTime; use DateTime::Format::Mail; use Digest::MD5; use Encode qw(); use English qw(-no_match_vars); use MIME::EncWords; use MIME::Lite::HTML; use POSIX qw(); use Time::Local qw(); use URI; use Data::Dumper; # tentative BEGIN { eval 'use Crypt::OpenSSL::X509'; } use Sympa; use Sympa::Admin; use Sympa::Alarm; use Sympa::Archive; use Sympa::Auth; use Sympa::Bulk; use Conf; use Sympa::ConfDef; use Sympa::Constants; use Sympa::Crash Hook => \&_crash_handler; # Show traceback. use Sympa::Database; use Sympa::DatabaseManager; use Sympa::Family; use Sympa::HTMLSanitizer; use Sympa::Language; use Sympa::List; use Sympa::ListOpt; use Sympa::Log; use Sympa::Marc::Search; use Sympa::Message; use Sympa::Regexps; use Sympa::Report; use Sympa::Request; use Sympa::Robot; use Sympa::Scenario; use Sympa::Session; use Sympa::SharedDocument; use Sympa::Spindle::ResendArchive; use Sympa::Spool::Archive; use Sympa::Spool::Auth; use Sympa::Spool::Held; use Sympa::Spool::Incoming; use Sympa::Spool::Moderation; use Sympa::Template; use Sympa::Ticket; use Sympa::Tools::Data; use Sympa::Tools::File; use Sympa::Tools::Password; use Sympa::Tools::Text; use Sympa::Tools::WWW; use Sympa::Topic; use Sympa::Tracking; use Sympa::User; ## WWSympa librairies my %options; my $sympa_conf_file = Sympa::Constants::CONFIG; # Used via the Sympa::Plugin interface our $list; our $param = {}; our $robot_id; our $session; our $plugins; my $loop = 0; my ($robot, $robot_object); my $pinfo; my $ip; my $rss; my $ajax; my $allow_absolute_path; #FIXME: to be removed in the future. my @other_include_path; #FIXME: ditto. ## Load sympa config unless (Conf::load()) { printf STDERR "Unable to load sympa configuration, file %s or one of the vhost robot.conf files contain errors. Exiting.\n", Conf::get_sympa_conf(); exit 1; } # Open log my $log = Sympa::Log->instance; $log->{level} = $Conf::Conf{'log_level'}; $log->openlog($Conf::Conf{'log_facility'} || $Conf::Conf{'syslog'}, $Conf::Conf{'log_socket_type'}); ## Start plugins if (eval "require Sympa::Plugin::Manager") { $plugins = Sympa::Plugin::Manager->new(application => 'website'); } Sympa::Alarm->instance->{use_bulk} = 1; if ($Conf::Conf{'use_fast_cgi'}) { require CGI::Fast; } else { require CGI; } SOME BACKGROUND INFO I create a vhost list.mydomain.net in ISPC, with its SSL certificates and my dns for A and MX point toward my server At firstI had to try many apache config to get rid of the error 500 ; these are some of the guidance I used here, here, or here and end up with that, with the possible variants by changing the comented lines to their siblings Code: <IfModule mod_fcgid.c> Alias /static-sympa /var/lib/sympa/static_content <Directory /var/lib/sympa/static_content> Require all granted </Directory> # ScriptAlias /sympasoap /usr/lib/cgi-bin/sympa/sympa_soap_server-wrapper.fcgi ScriptAlias /wws /usr/lib/cgi-bin/sympa/wwsympa-wrapper.fcgi # ScriptAlias /wws /usr/lib/cgi-bin/sympa/wwsympa.fcgi <Location /wws> SetHandler fcgid-script Options ExecCGI </Location> <Directory /usr/lib/cgi-bin/sympa> Require all granted </Directory> # RewriteEngine On # RewriteRule ^/$ /wws/lists [R=301,L] I do belive sympa is running Code: root@vpsXXXXXX:/etc/sympa# systemctl status sympa ● sympa.service - SYMPA mailing list manager Loaded: loaded (/lib/systemd/system/sympa.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2019-06-25 13:25:20 CEST; 26min ago Docs: man:sympa_msg(8) Process: 17609 ExecStart=/usr/lib/sympa/bin/sympa_msg.pl (code=exited, status=0/SUCCESS) Process: 17606 ExecStartPre=/bin/chown -R sympa:sympa /run/sympa (code=exited, status=0/SUCCESS) Process: 17605 ExecStartPre=/bin/mkdir -p /run/sympa (code=exited, status=0/SUCCESS) Main PID: 17623 (sympa_msg.pl) Tasks: 1 (limit: 4915) CGroup: /system.slice/sympa.service └─17623 /usr/bin/perl /usr/lib/sympa/bin/sympa_msg.pl Jun 25 13:25:16 vpsXXXXXX systemd[1]: Starting SYMPA mailing list manager... Jun 25 13:25:20 XXXXXX sympa_msg.pl[17609]: Use of uninitialized value $host in hash element at /usr/share/sympa/lib/Conf.pm line 2392. Jun 25 13:25:20 vpsXXXXXX sympa_msg.pl[17609]: Use of uninitialized value $host in hash element at /usr/share/sympa/lib/Conf.pm line 2404. Jun 25 13:25:20 vpsXXXXXX sympa_msg[17609]: info main::_load() Configuration file read, default log level 0 Jun 25 13:25:20 vpsXXXXXX sympa_msg.pl[17609]: Use of uninitialized value $host in hash element at /usr/share/sympa/lib/Conf.pm line 2392. Jun 25 13:25:20 vpsXXXXXX sympa_msg.pl[17609]: Use of uninitialized value $host in hash element at /usr/share/sympa/lib/Conf.pm line 2404. Jun 25 13:25:20 vpsXXXXXX sympa_msg[17609]: notice Sympa::Process::daemonize() Starting sympa/msg daemon, PID 17623 Jun 25 13:25:20 vpsXXXXXX sympa_msg[17623]: notice main:: Sympa/msg 6.2.16 Started Jun 25 13:25:20 vpsXXXXXX systemd[1]: Started SYMPA mailing list manager. root@vpsXXXXXX:/etc/sympa# I did some more research and it apears that I did not had a wwsympa.conf file by default. I thus created it with this content Code: ## Is fast_cgi module for Apache (or Roxen) installed (0 | 1) ## This module provide much faster web interface use_fast_cgi 1 I'm starting to run out of ressource here, may tutorials suggest ot edit postfix config and such, but i don't think it is related to my actual issue, so before going further I belive you may help me to reach the WebUI of sympa? That wuld actually be sympa
That shoud fix the perl code showing instead of being executed. Try to clear browser cache, or try another browser that did not access that host while perl was off.