"init: can't exec getty" errors...

"init: can't exec getty" errors...

Post by Richard L. Dys » Wed, 03 Apr 1996 04:00:00



I have a new FreeBSD v2.1R system that I have installed recently that
keeps getting this message all day long to the system logs:

init: can't exec getty 'none' for port /dev/ttyp0: No such file or directory

Does anyone understand what it is trying to tell me?  Or even better
where I should be looking for my problem(s)?

I did a pretty much default, full install of FreeBSD from FTP and
installed a bunch of the packages.  I have about 2 GB of disks on a
486DX4-120 system with 16 MB of RAM.  If any other info is needed, please
contact me via e-mail and I will try to provide it.

Thanks!
rick
--

                         o__ o__       o__  o__
                        _.>/ _>/ _    _.>/ _.>/ _
                       (_) \(_)\(_)  (_) \(_))\(_)

 
 
 

"init: can't exec getty" errors...

Post by J Wuns » Fri, 05 Apr 1996 04:00:00



Quote:> init: can't exec getty 'none' for port /dev/ttyp0: No such file or directory

> Does anyone understand what it is trying to tell me?  Or even better
> where I should be looking for my problem(s)?

You have a screwed /etc/ttys file.  You cannot run getty's on pseudo-
terminals.  The pty entries are only there to allow them being
configured as `insecure', i.e., no root logins are allowed when
logging in across the network.

--
cheers, J"org


Never trust an operating system you don't have sources for. ;-)

 
 
 

1. init: can't exec getty '/usr/libexec/getty' for port /dev/ttyv0:

In my new job, I have inherited a FreeBSD Box. To physically check out
some hardware I performed a Shutdown (can't remember the exact arguments
used now).

At restart, kernel processing appears to proceed without problems, until
the system somewhere during init, it apparently can't find getty. A
typical error report line looks like:
Jan 16 23:58:13 init: can't exec getty '/usr/libexec/getty' for port
/dev/ttyv0: No such file or directory
From this point, every 30 seconds the system constantly attempts to
execute getty.

And I can't get any response past this point. No keystrokes seem to do
anything, no tty devs of any kind seem to be in place. I can't RCMD from
another box anywhere.

I can reboot to a startup floppy (made with the boot.flp using fdimage),
but as the prblem seems to be a missing file (getty) I can;t get much
further.

I can get to the holographic tty4, but can't do much there either.

I can restart in single user mode, but that puts the system into
read-only mode and so I can't even see the /usr directory and files.

Any help appreciated......

2. needs an ipchains rule against ping flood

3. WHY 'exec "$REALFILE" ${1+"$@"}'

4. Running SPEC CINT95 for tracing

5. Apache and "exec cgi", "exec cmd".

6. NIS problems

7. "init 5" works like "init 0"

8. getrusage still not fullyimplemented?

9. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

10. "init: exec failed" error

11. can't recover "fsck" after power off without "init 0"

12. help --- can't recover "fsck" after power off without "init 0"

13. GETSERVBYNAME()????????????????????"""""""""""""