Great Circle Associates Majordomo-Users
(February 1995)
 

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

Subject: Problems installing on AIX
From: davidg @ netcom . com (David Guntner)
Date: Sun, 5 Feb 1995 21:56:57 -0600 (CST)
To: majordomo-users @ greatcircle . com

-----BEGIN PGP SIGNED MESSAGE-----

Ok, here's the setup:  RS6000 running the latest version of AIX.  I've
installed Majordomo, and have setup the /etc/aliases entry for it.  First
problem is that the C compiler doesn't like wrapper unless I comment out
the line in the following section of it:

#if defined(SETGROUP)
/* renounce any previous group memberships if we are running as root */
    if (geteuid() == 0) { /* Should I exit if this test fails? */
/*    char setgroups_used = "setgroups_was_included"; /* give strings a hint */
    int groups[] =  { POSIX_GID, 0 };
    
    if (setgroups(1, groups) != 0) {
	extern int errno;

	fprintf(stderr, "%s: error setgroups failed errno %d", argv[0],
		errno);
	}
}
#endif

As you can see, I had to comment out the "char setgroups" line.  The C
compiler will complain about "Operation between types array and char is
not allowed," pointing to that line.  Is there another way around this? 
Also, should the W_UID and W_GID entries in the Makefile be set to
something other than the supplied "54"?  When I do a ps after sending
mail to majordomo, I see a couple of processes running, which are
literally running under the user id of "54".

On to the next thing.  When I send mail to majordomo asking for help (as
a test), I get the following message sent to me after a quite noticable
delay:

>From davidg Sun Feb  5 16:13:17 1995
Received: by stallion.jsums.edu (AIX 3.2/UCB 5.64/4.03)
          id AA20290; Sun, 5 Feb 1995 16:10:57 GMT
Date: Sun, 5 Feb 1995 16:10:57 GMT
Message-Id: <9502051610.AA20290@stallion.jsums.edu>
To: davidg
>From: Majordomo
Subject: Majordomo results
Reply-To: Majordomo
Status: O

- --

>>>> help
This is Brent Chapman's "Majordomo" mailing list manager, version 1.93. 

[help text deleted]

I can't help but notice that the first "From" line is not
"majordomo-owner", like with other servers I've used, but is instead
listed as being me.  There's also no "Sender:" line.  But I also get this
along with it:


>From MAILER-DAEMON Sun Feb  5 10:13:18 1995
Received: by stallion.jsums.edu (AIX 3.2/UCB 5.64/4.03)
          id AA12605; Sun, 5 Feb 1995 10:10:56 -0600
Date: Sun, 5 Feb 1995 10:13:18 -0600
>From: MAILER-DAEMON (Mail Delivery Subsystem)
Subject: Returned mail: unknown mailer error 1
Message-Id: <9502051610.AA12605@stallion.jsums.edu>
To: owner-majordomo
Status: O

   ----- Transcript of session follows -----
Out of memory!
554 "|/usr/local/majordomo/wrapper majordomo"... unknown mailer error 1

   ----- Unsent message follows -----
Received: by stallion.jsums.edu (AIX 3.2/UCB 5.64/4.03)
          id AA12860; Sun, 5 Feb 1995 10:10:56 -0600
>From: davidg (David Guntner)
Message-Id: <9502051610.AA12860@stallion.jsums.edu>
Subject: 
To: majordomo
Date: Sun, 5 Feb 1995 10:10:56 -0600 (CST)
X-Mailer: ELM [version 2.4 PL24]
Content-Type: text
Content-Length: 5         

help


Amazing that it's an "unsent message," even though it did get sent. :-)
In case someone needs to see this, here's the /etc/aliases entry for
majordomo:

# Mailing list software aliases
majordomo: "|/usr/local/majordomo/wrapper majordomo"

# Who is responsible for maintaining it at this site?
owner-majordomo: davidg
majordomo-owner: davidg


This is how it's supposed to be setup, right?

Here's the top-level majordomo directory, which the log is supposed to be
getting created in.  Notice a remarkable lack of any file called Log....
I'm pretty sure that I've got the permissions setup right for this
dir....

total 424
drwxrwsr-x   8 daemon   majordom     512 Feb  4 20:03 .
drwxrwsr-x  12 bin      system       512 Feb  4 19:03 ..
drwxr-sr-x   2 davidg   majordom     512 Feb  4 19:38 Tools
drwxr-sr-x   2 davidg   majordom     512 Feb  4 19:38 bin
- -rwxr-xr-x   1 davidg   majordom    2615 Feb  4 19:38 bounce-remind
- -rw-r--r--   1 davidg   majordom   43737 Feb  4 19:38 config_parse.pl
drwxr-sr-x   2 davidg   majordom     512 Feb  4 20:03 dig
- -rwxr-xr-x   1 davidg   majordom   11320 Feb  4 19:38 digest
drwxr-sr-x   2 davidg   majordom     512 Feb  4 19:50 files
drwxr-sr-x   2 davidg   majordom     512 Feb  4 19:51 lists
- -rwxr-xr-x   1 davidg   majordom   42524 Feb  4 19:38 majordomo
- -rw-r--r--   1 davidg   majordom    3708 Feb  4 20:09 majordomo.cf
- -rw-r--r--   1 davidg   majordom   14327 Feb  4 19:38 majordomo.pl
- -rw-r--r--   1 davidg   majordom     141 Feb  4 19:38 majordomo_version.pl
drwxr-sr-x   4 davidg   majordom     512 Feb  4 19:38 man
- -rwxr-xr-x   1 davidg   majordom    2153 Feb  4 19:38 new-list
- -rwxr-xr-x   1 davidg   majordom    3024 Feb  4 19:38 request-answer
- -rwxr-xr-x   1 davidg   majordom   12872 Feb  4 19:38 resend
- -rw-r--r--   1 davidg   majordom    3742 Feb  4 19:38 resend.README
- -rw-r--r--   1 davidg   majordom    6183 Feb  4 19:38 shlock.pl
- -rwxr-xr-x   1 davidg   majordom     131 Feb  4 19:38 test
- -rwsr-xr-x   1 root     majordom    8895 Feb  4 20:45 wrapper

I'd apprecaite whatever help someone can give me with this.

                        --Dave

- -- 
        Concerned about your message security?  Read alt.security.pgp!
  //   David Guntner    Internet: davidg@netcom.com    Finger or key server
\X/    Vicksburg, MS       GEnie: Just say NO!          for PGP Public key
 GO d? H s:+ !g p0 au a w+(+++) v C++(++++) US(++) P+ L 3 E- N++(+++)@ K W---
    M-- !V po Y+ t+ 5++ !j R G? tv b+ !D B--- e/* u+ h f r-->++ !n(-) y+(*)



-----BEGIN PGP SIGNATURE-----
Version: 2.6

iQCVAgUBLzWd/w0Aj0bAuAXFAQF6nQP9E25aMauiz/thbQYNQM84GRu74le/Ykr0
+A0wkVt76UeWZpICXR5Zxji7MThiZxzR5JTLK4BLuBns12/zIahCVvtHNEhTqVyy
T7IGapu9bNAgEeY1Xsj5xXB59C32PtLMPU438sDj6hqL7dqrDooXQXr3hYHeevrx
D//pZ3iQwmk=
=zbpG
-----END PGP SIGNATURE-----

Indexed By Date Previous: Re: Help on hpux & majordomo
From: campbelr@hposl62.cup.hp.com (Bob Campbell)
Next: Re: Help on hpux & majordomo
From: Plyaskin Sergey <splyaski@cmp.com>
Indexed By Thread Previous: GMT vs local time
From: mikepb@freke.lerctr.org (Michael P. Brininstool)
Next: files auto un-linking
From: rbravo@ccc.uba.ar (Ricardo Bravo)

Google
 
Search Internet Search www.greatcircle.com