Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 12:16:25 -0500
From:      "C J Michaels" <cjm2@earthling.net>
To:        <freebsd-questions@FreeBSD.ORG>, "Arcady Genkin" <a.genkin@utoronto.ca>
Subject:   Re: A message from init
Message-ID:  <002501bf9bfe$035d2e20$0200000a@weeble.dyndns.org>
References:  <871z4psr26.fsf@tea.thpoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <a.genkin@utoronto.ca>
To: <freebsd-questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002501bf9bfe$035d2e20$0200000a>