*LONG E-MAIL OF ERRORS*

I finally got off my rear and tried the new Sympa package, but alas, I've
run into some problems.

Okay, I installed sympa-2.7.3-1mdk:

# rpm -ivh sympa-2.7.3-1mdk*rpm

No problem.

Read the docs to see how to get WWSympa running.  Seems easy enough, Apache
just needs a ScriptAlias.

# echo "ScriptAlias /wws /home/sympa/bin/wwsympa.fcgi" >>
/etc/httpd/conf/httpd.conf

Why couldn't the RPM install script do something like this?  Even if it left
it disabled (commented out) by default, it would make it a little easier.

Restarted Apache:

# /etc/rc.d/init.d/httpd stop
# /etc/rc.d/init.d/httpd start

Loaded up Netscape..

##
Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may have
caused the error.

More information about this error may be available in the server error log.
##

So, I checked the error_log:

##
Can't locate DB_File.pm in @INC (@INC contains:
/home/snailtalk/tmp/sympa-2.7.3/
home/sympa/bin /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/per
l5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site
_perl .) at List.pm line 413.     
##

Okay, I'm guessing /home/snailtalk/tmp/sympa-2.7.3 is something that
shouldn't be there.. isn't that Geoffrey Lee?  I'm not him. =P

Anyway, the error is simple, it's looking for DB_File.  I don't have that
installed.  Why didn't the RPM require that?

So I installed perl-DB_File.

Tried again.  Same Netscape error.  Different Apache error log error.

##
Can't locate /home/snailtalk/tmp/sympa-2.7.3/home/sympa/bin/parser.pl at
/home/sympa/bin/wwsympa.fcgi line 16.
##

Okay, once again, /home/snailtalk.  I swear, I'm not Geoffrey Lee!  Not
being the sed expert that I should be, I went in and removed all instances
of /home/snailtalk/tmp/sympa-2.7.3/ (28 of them?) by hand.  Tried once
again..

YAE (Yet Another Error), in the log file:

##
load_config: unable to open /etc/wwsympa.conf
##

Of course not, there isn't one.  =(

All is not lost of course.. what's in /home/sympa/sample?  A sample
wwsympa.conf file!

Copied it to /etc..

I peruse it, looks good, no snailtalks.  Notice one small problem though..

##
# path to the wonderfull mhonarc application. Required for html archives
# http://www.oac.uci.edu/indiv/ehood/mhonarc.html
mhonarc                 /usr/bin/mhonarc  
##

Well, I don't think there's a mhonarc anywhere on my system ("locate" didn't
show one, and a look in /usr/bin and /home/sympa/bin didn't show one..).

According to the docs, it's only needed for archives.  I guess I don't need
it *right* now.  I'll try to get around it.

No luck, different error this time.  Apparently the sympa.conf wasn't copied
either.  Also, when I removed the old sympa RPM, it didn't remove the
/etc/sympa.conf, which is what the error was about.. unrecognized options in
the /etc/sympa.conf.  I killed that, and copied the new sympa.conf from
/home/sympa/sample.

Fixed a couple instances of kenobi (MandrakeSoft machine I'm guessing..).

Let's try the URL one more time, shall we?  Nope, no worky, still a
different error.

##
Can't locate FCGI.pm in @INC (@INC
contains: /home/snailtalk/tmp/sympa-2.7.3/home/sympa/bin /home/sympa/bin
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at /usr/lib/perl5/5.6.0/CGI/Fast.pm line 22,
<CONF> line 275.
##

Well dangit, it's looking for snailtalk stuff again.  I thought I killed it
all.  It is missing though, no clue where that FCGI.pm is.  This sucks. =(

At this point, I called it an evening.  As you can see, I've already
identified quite a few problems.  Anyone feel like cleaning this up and
giving me another RPM to play with?  I'd like to get this up and running,
and I'm more than willing to help you guys make it work.  Lemme know if you
need anything. =)

Afterthought -
I'm running a lot of 7.1b3 packages.  If there's been a lot of perl changes
since then, I could easily upgrade the packages.  Same with Apache and other
things.  (That may help, in fact, I might try it tomorrow morning.  I'll let
you know if anything significant changes, otherwise, assume I'm having the
same problem.)

# rpm -qa | grep perl
perl-base-5.600-4mdk
perl-5.600-4mdk
eperl-2.2.14-3mdk
perl-DBI-1.13-2mdk
perl-Data-ShowTable-3.3-2mdk
perl-Digest-MD5-2.09-5mdk
perl-HTML-Parser-3.05-3mdk
perl-IO-stringy-1.209-1mdk
perl-MD5-1.7-10mdk
perl-MIME-Base64-2.11-4mdk
perl-MIME-tools-4.124-2mdk
perl-MailTools-1.14-1mdk
perl-Msgcat-1.03-4mdk
perl-URI-1.05-2mdk
perl-libnet-1.0703-1mdk
perl-libwww-perl-5.47-3mdk
perl-DB_File-1.73-1mdk
mod_perl-1.22-28mdk
perl-Mysql-1.22_11-2mdk

Thanks guys, you're the greatest. =)

Don Head
Linux Mentor
Wave Technologies, Inc.
[EMAIL PROTECTED]

Reply via email to