error opening hast databse

error opening hast databse

Post by Carsten Webe » Sat, 08 Sep 2001 22:05:45



Hallo!

I just installed majordomo and am having some problems with sendmail.

I added an alias file for majordomo to sendmail.cf:

        OA/usr/local/majordomo-1.94.5/majordomo.aliases
        Tmajordomo (<-- since alias file has majordomo right)

I also created a database
/usr/local/majordomo-1.94.5/majordomo.aliases.db for sendmail with chmod
644.

When I send an email from user to user, it works but I get the following
notice:

        Cannot open hash database                                      
/usr/local/majordomo-1.94.5/majordomo.aliases.db: Invalid argument

What could be the problem?

Thanks for your help.
Carsten

 
 
 

error opening hast databse

Post by Michael Heimin » Sun, 09 Sep 2001 05:15:07


Carsten Weber wrote at Friday 07 September 2001 15:05 like only he
can:

Quote:> Hallo!

> I just installed majordomo and am having some problems with
> sendmail.

> I added an alias file for majordomo to sendmail.cf:

> OA/usr/local/majordomo-1.94.5/majordomo.aliases
> Tmajordomo (<-- since alias file has majordomo right)

> I also created a database
> /usr/local/majordomo-1.94.5/majordomo.aliases.db for sendmail with
> chmod 644.

> When I send an email from user to user, it works but I get the
> following notice:

> Cannot open hash database
> /usr/local/majordomo-1.94.5/majordomo.aliases.db: Invalid argument

> What could be the problem?

Numerous are possible, first you should only edit (hack) sendmail.cf
if you're really sure, you know what you're doing. Using m4 is the
preferred way to create sendmail.cf.

Checking the docs on sendmail.org and using the
Majordomo-MajorCool-HOWTO would be another idea.

However, how did you create the majordomo.aliases.db?
(using makemap?)

Michael Heiming

 
 
 

error opening hast databse

Post by Bodo Egger » Sun, 09 Sep 2001 06:21:16



> Cannot open hash database
> /usr/local/majordomo-1.94.5/majordomo.aliases.db: Invalid argument

Type sendmail -bi to rebuild the database.

HTH
--
I know what I'm doing... can you please teach me?

 
 
 

error opening hast databse

Post by Carsten Webe » Mon, 10 Sep 2001 06:42:45


Hi!


> > Cannot open hash database
> > /usr/local/majordomo-1.94.5/majordomo.aliases.db: Invalid argument

> > What could be the problem?

> However, how did you create the majordomo.aliases.db?
> (using makemap?)

I just created the file with touch.

However, now it is working. I read some docs and found that the database
had the wrong rights (needs 644). I rebuilt the database with sendmail
-bi and now it works.

Thanks.

 
 
 

1. Ytree Error opening terminal: xterm.Error opening terminal: xterm.

I installed ytree and got this error message:
Error opening terminal: xterm. Any idea's? The default installation is
linux, with nurses dependency (which I have). I modified the ytree.conf,
then copied it to both /root & /home directories. It failed to run in both
X and shell envirnments, with the same error message. I tried several
global TERM=bla...bla.. with no help.

I still use Xtree under dos and having ytree working would be a great
tool for my limited CLI skills.

TIA..

--
-------------------------------------------------------------------------------
ezrsch                                    __  __     ____  ___       ___ ____

                                        /   / \  / / / / /__ /  \/ /___  /
-------------------------------------------------------------------------------

2. Where is gethostname?

3. Redhat 5.1 Install error: Fatal error opening RPM database

4. Using Iptables to take a packet from one physical Inteface to another

5. cannot open /: I/O error (error on a file)

6. vi breaking up lines on display

7. Error - Error Text: Too many open files

8. Sound card - Turtle Beach Montego

9. ncurses 1.9.9g error msg: "error opening terminal: console"

10. Cygwin error: init_cygheap::etc_changed: Can't open /etc for checking, Win32 error 1

11. Apache 1.2.3: fopen: Error 0: could not open error log file

12. Xpmac on PB G3 complains about rgb databse?!

13. <<Looking for ODBC compliant databse for linux>>