Operating System - Tru64 Unix
1748209 Members
2858 Online
108759 Solutions
New Discussion юеВ

Re: btree map "Alias0": missing map file

 
SOLVED
Go to solution
Danesh Qureshi
Regular Advisor

btree map "Alias0": missing map file

On my Alpha server ES47 which is running Tru64 Unix V5.1b I updated from patch kit 5 to Patch kit 6.

I also updated the firmware to V7.3-1 before installing patch kit 6.

Since upgrading to Patch kit 6 I have noticed the following error message:-

"01-Sep-2007 07:00:01 [500] sendmail[11881]: l816016P011881: SYSERR(root):
btree map "Alias0": missing map file /var/adm/sendmail/aliases.db: No such
file or directory"

I have read through the Tru64 Unix Patch kit 6 release notes but cannot find anything relating to the above error. Can anyone help me on this error?
4 REPLIES 4
Hein van den Heuvel
Honored Contributor
Solution

Re: btree map "Alias0": missing map file


I think this has to do with 'sendmail' (8)

Maybe you started a (mail) deamon/service which did not used to run.

Check out: man makemap (8) and ndbm (3)

hth,
Hein.


Rob Leadbeater
Honored Contributor

Re: btree map "Alias0": missing map file

Maybe you need to rebuild the aliases file with newaliases

http://docs.hp.com/en/B2355-90129/newaliases.1M.html

Hope this helps,

Regards,

Rob
Danesh Qureshi
Regular Advisor

Re: btree map "Alias0": missing map file

I needed to sendmail -bi from root, it created a aliases.db file. Then when I run "sendmail -bv username" to verify a recipient there was no btree error.

I have one more issue to resolve. When I run sendmail -bp it displays the following mail jobs:-

# sendmail -bp
/var/spool/mqueue (12 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
l82902Px114663 238 Sun Sep 2 10:00 root
(btree map "Alias0": missing map file /var/adm/sendmail/alias)
oracle
l84901hN235093 238 Tue Sep 4 10:00 root
(btree map "Alias0": missing map file /var/adm/sendmail/alias)
oracle
l83901P0175591 238 Mon Sep 3 10:00 root
(btree map "Alias0": missing map file /var/adm/sendmail/alias)

How do I flush out these stuck mail jobs?


Rob Leadbeater
Honored Contributor

Re: btree map "Alias0": missing map file

Hi,

I think you can just change directory to /var/spool/mqueue and remove the files that are there.

If I remember correctly there'll be two files per mail.

Cheers,

Rob