Great Circle Associates Majordomo-Users
(June 1994)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Majordomo 1.92 takes 10min to process requests.
From: "John P. Rouillard" <rouilj @ cs . umb . edu>
Date: Fri, 24 Jun 1994 21:52:43 -0400
To: Geeb <Mark . A . Gebert @ math . lsa . umich . edu>
Cc: majordomo-users @ greatcircle . com
In-reply-to: Your message of "Fri, 24 Jun 1994 10:53:20 EDT." <199406241453.AA18300@math.lsa.umich.edu>


In message <199406241453.AA18300@math.lsa.umich.edu>, Geeb writes:

>I just installed Majordomo 1.92 on my system. Everything works fine
>except for 2 things. First any requests (like who, subscribe) to
>majordomo take 10-20min to process. Here is a look at the process
>table:
> [...]
>I'm running sendmail 5.67a/IDA-1.5.
>
>Also none of the requests are being logged... I have the cf set up
>correctly.

If you look at the xf file for the stalled email message, you will see:
something like:

  shlock: open(">/usr/local/lib/majordomo/shlock.15260"): 
  Permission denied at /usr/local/lib/majordomo/shlock.pl line 131, 
  <_GEN_1> line 7.

This is answered in the FAQ reproduced below. Granted we need a better
subject line, or symptoms description to allow people to find this
tidbit of info.

=== begin blurb
  Subject: I get "Permission denied at ..." when majordomo runs
  -------------------------------------------------------------

  > > shlock: open(">/usr/local/lib/majordomo/shlock.15260"): 
  > Permission denied at /usr/local/lib/majordomo/shlock.pl line 131, 
  > <_GEN_1> line 7.

  The directory "/usr/local/lib/majordomo" needs to be writable by the
  uid/gid that the "wrapper" program run as, so that Majordomo can
  create its lock file.
 
  In general, for any file Majordomo writes, both the file _AND_ the
  directory the file is in must be writable by Majordomo, so that it can
  create lock files and new versions of the data file (Majordomo usually
  "updates" a file by creating "file.new" and then, when that has
  succeeded, deleting "file" and renaming "file.new" to "file").

  # Also, should everything
  # in my majordomo directory by owned by majordom and the group set to
  # majordom?

  Basically, yes, and it should all (including the directory itself) be
  writable by whatever uid/gid wrapper is set to run as.
=== end blurb 

				-- John
John Rouillard

Senior Systems Consultant (SERL Project) University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred)            Boston, MA, (617) 287-6480
==============================================================================
My employers don't acknowledge my existence much less my opinions.


References:
Indexed By Date Previous: Majordomo 1.92 takes 10min to process requests.
From: Geeb <Mark.A.Gebert@math.lsa.umich.edu>
Next: Re: Majordomo 1.92 takes 10min to process requests.
From: Brent Chapman <brent@mycroft.GreatCircle.COM>
Indexed By Thread Previous: Majordomo 1.92 takes 10min to process requests.
From: Geeb <Mark.A.Gebert@math.lsa.umich.edu>
Next: Re: Majordomo 1.92 takes 10min to process requests.
From: Brent Chapman <brent@mycroft.GreatCircle.COM>

Google
 
Search Internet Search www.greatcircle.com