Great Circle Associates Majordomo-Users
(June 2001)
 

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

Subject: Re: Install problem with majordomo.aliases
From: Adelaide Yip <adelaide . yip @ compeng . net>
Organization: Computer Engineering Inc
Date: Wed, 27 Jun 2001 11:39:54 -0600
To: majordomo-users @ greatcircle . com
Reply-to: adelaide . yip @ compeng . net

Hi,

I got the same error as you, and I'm interested in how you went about in fixing
the problem.

This is what i get:

[root@brubeck /etc]# newaliases
hash map "Alias2": unsafe map file /usr/lib/majordomo/majordomo.aliases.db: Permission denied
WARNING: cannot open alias database /usr/lib/majordomo/majordomo.aliases
Cannot create database for alias file /usr/lib/majordomo/majordomo.aliases
/etc/aliases: 25 aliases, longest 150 bytes, 734 bytes total
hash map "Alias1": unsafe map file /usr/lib/majordomo/majordomo.aliases.db: Permission denied
WARNING: cannot open alias database /usr/lib/majordomo/majordomo.aliases
Cannot create database for alias file /usr/lib/majordomo/majordomo.aliases   

I am using Majordomo 1.94.5 on Redhat Linux 6.2, using sendmail 8.9.3-20 and
Perl 5.003.

TIA,
Adelaide



On Wed, 27 Jun 2001, you wrote:
> Sorry, I sent the last message too soon. I forgot to tell you something -
> I made some changes and the response I get now when I enter newaliases is:
> 
> [root@sesgweb mail]# newaliases
> WARNING: Group writable directory /home/mcuadm
> WARNING: Group writable directory /home/mcuadm/src
> newaliases: cannot open /home/mcuadm/src/majordom/majordomo.aliases: Group
> writable file
> /etc/aliases: 15 aliases, longest 49 bytes, 226 bytes total
> newaliases: cannot open /etc/mail/majordomo.aliases: Group writable file
> 
> I don't get the "hash map "Alias2": unsafe map file..." error anymore.
> Thanks for your help,
> Diana
> 
> Daniel Liston wrote:
> 
> > What are the ownership and permissions on the link you created?
> > Are you running on a hosted service?  Have you tried the RPM install?
> > You could save yourself lots of these problems by using the RPM if
> > you own the machine you are installed on.
> >
> > Dan Liston
> >
> > Diana Mateja wrote:
> > >
> > > I am having a problem installing majordomo.  Here is my system info:
> > > Majordomo Version: 1.94.5
> > > Perl version 5.00503
> > > OS: Linux2.2.18
> > > Mailer: Sendmail8.8.7
> > >
> > > I made it to the last step where I issued the 'lists' command -
> > > 10. Test the configuration again by creating an empty file 'test' in
> > > $listdir, and issue a 'lists' command to Majordomo:
> > >    % touch /path/to/majordomo/lists/test
> > >    % echo 'lists' | mail majordomo
> > >
> > > I get the following error -
> > > [root@sesgweb lists]# hash map "Alias1": unsafe map file
> > > /home/mcuadm/src/majordom/majordomo.aliases.db: Group writable directory
> > >
> > > So I looked through the archives and found that many have problems at
> > > this step and I found one that was similar to mine but the response for
> > > that one did not work for me.
> > >
> > > Someone else reported the error -
> > > Issuing an echo lists | mail majordomo on my fBSD 3.3 system
> > > with sendmail returns this error:
> > >
> > > % Cannot open hash database /opt/majordomo.aliases.db:
> > > Inappropriate file type or format
> > > --------------------
> > > The response he got was -
> > >
> > > Most likely, your separate aliases file for majordomo is
> > > not located in a sendmail safe directory or owned by root.
> > > Try creating a link from /opt/majordomo.aliases to /etc/mail
> > > and in your sendmail.cf use that link as an additional
> > > aliases file.
> > >
> > > As root do;
> > > `ln -s /opt/majordomo.aliases /etc/mail`   (I used my own pathname.)
> > > In sendmail.cf
> > > # location of alias file
> > > O AliasFile=/etc/aliases, /etc/mail/majordomo.aliases
> > >
> > > Restart sendmail
> > > Maybe `newaliases` or `sendmail -bi`
> > > ---------------
> > > This worked for him but when I restart sendmail.  This is what I get:
> > > [root@sesgweb mail]# newaliases
> > > WARNING: Group writable directory /home/mcuadm
> > > WARNING: Group writable directory /home/mcuadm/src
> > > hash map "Alias2": unsafe map file
> > > /home/mcuadm/src/majordom/majordomo.aliases.db: Group writable directory
> > >
> > > WARNING: cannot open alias database
> > > /home/mcuadm/src/majordom/majordomo.aliases
> > > Cannot create database for alias file
> > > /home/mcuadm/src/majordom/majordomo.aliases
> > > /etc/aliases: 15 aliases, longest 49 bytes, 226 bytes total
> > > /etc/mail/majordomo.aliases: 19 aliases, longest 121 bytes, 1131 bytes
> > > total
> > >
> > > I am not a sys admin so I don't understand these errors.
> > > Can someone help?
> > > Diana
-------------------------------------------------------



Follow-Ups:
Indexed By Date Previous: Re: Install problem with majordomo.aliases
From: Adelaide Yip <adelaide.yip@compeng.net>
Next: majordomo confirmation of new subscriptions
From: Michael Clark <mclark@cdtmail.org>
Indexed By Thread Previous: Re: Install problem with majordomo.aliases
From: Adelaide Yip <adelaide.yip@compeng.net>
Next: Newbie prob: majordomo.aliases/ sendmail??
From: Adelaide Yip <adelaide.yip@compeng.net>

Google
 
Search Internet Search www.greatcircle.com