From owner-freebsd-questions Sat Apr 1 9:16:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from weeble.dyndns.org (ubppp233-22.dialin.buffalo.edu [128.205.233.22]) by hub.freebsd.org (Postfix) with ESMTP id 9821A37B98C for ; Sat, 1 Apr 2000 09:16:26 -0800 (PST) (envelope-from cjm2@earthling.net) Received: from shithead (shithead.weeble.dyndns.org [10.0.0.2]) by weeble.dyndns.org (8.9.3/8.9.3) with SMTP id MAA77776; Sat, 1 Apr 2000 12:16:26 -0500 (EST) (envelope-from cjm2@earthling.net) Message-ID: <002501bf9bfe$035d2e20$0200000a@weeble.dyndns.org> From: "C J Michaels" To: , "Arcady Genkin" References: <871z4psr26.fsf@tea.thpoon.com> Subject: Re: A message from init Date: Sat, 1 Apr 2000 12:16:25 -0500 Organization: WCC MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'll try and field this question. init needs to exec getty for each consol virtual terminal. The default would be to have 8 of those. The spurious init processes are a side effect of init trying to exec getty, it needs to fork itself 1st before it can exec getty. Since it can't exec getty you are seeing the fork'd instance on init just before it dies with the error below. At which point init forks itself again and tried to exec getty again, ad infintium. All you should need to do is edit /etc/ttys and correct the entries that are pointing to the wrong getty. The correct entries should be pointing to "/usr/libexec/getty". And example of the relevant lines in /etc/ttys would look something like this: # Virtual terminals ttyv1 "/usr/libexec/getty Pc" cons25 on secure [...] ttyv7 "/usr/libexec/getty Pc" cons25 on secure hope this helps -- Chris ----- Original Message ----- From: "Arcady Genkin" To: Sent: Saturday, April 01, 2000 11:51 AM Subject: A message from init > I have this message going on over and over again in /var/log/messages. > ,---- > | Apr 1 11:32:50 soup init: can't exec getty '/usr/local/sbin/mgetty' \ > | for port /dev/cuaa2: No such file or directory > `---- > The problem is that I first installed, and then uninstalled > mgetty+sendfax port. So, for sure I don't have an mgetty binary where > init is looking for it. > > The question is: Why is init looking for it, and how do I remedy the > problem? > > p.s. Is it normal to have two `init' processes (appearing in `top')? > One is with PID 1, as expected ;^), and the other one has a larger > PID, which changes once every few seconds. > > Thanks! > -- > Arcady Genkin http://www.thpoon.com > Nostalgia isn't what it used to be. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message