Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!sun!imagen!daemon From: geof@apolling (Geof Cooper) Newsgroups: comp.sys.apollo Subject: Re: newaliases -> cannot make /usr/lib/aliases.pag: Bad file number Message-ID: <3015@imagen.UUCP> Date: 9 Feb 89 21:53:06 GMT Sender: daemon@imagen.UUCP Lines: 16 In article <8902090246.AA08349@scrolls.wharton.upenn.edu> shull@SCROLLS.WHARTON.UPENN.EDU (Christopher E. Shull) writes: > >Anybody know off the top of their head how I can fix the following problem >with BSD4.2 TCP/IP 3.1 sendmail under SR9.7.1: > > # newaliases > cannot make /usr/lib/aliases.pag: Bad file number I believe that the problem is that the file is open by another node and is locked against updating. My usual approach is to delete /usr/lib/aliases.{pag,dir} and then run newaliases. The program complains that it can't open a file, but works correctly. Run it twice if the error message bothers you. I find that it is better to be CRP'd onto the node where the file is resident before running "newaliases".