From owner-freebsd-questions@FreeBSD.ORG Thu Apr 1 05:43:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC6A416A4CE for ; Thu, 1 Apr 2004 05:43:54 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7289043D2D for ; Thu, 1 Apr 2004 05:43:53 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i31Dhk6k086346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Apr 2004 14:43:46 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i31Dhk77086345; Thu, 1 Apr 2004 14:43:46 +0100 (BST) (envelope-from matthew) Date: Thu, 1 Apr 2004 14:43:46 +0100 From: Matthew Seaman To: =?iso-8859-1?Q?=DClk=FC?= SAYILAN Message-ID: <20040401134346.GA86095@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , =?iso-8859-1?Q?=DClk=FC?= SAYILAN , freebsd-questions@freebsd.org References: <13123035304.20040401154555@kssgm.gov.tr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <13123035304.20040401154555@kssgm.gov.tr> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040323, clamav-milter version 0.70a cc: freebsd-questions@freebsd.org Subject: Re: cant exec getty(urgent) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2004 13:43:55 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 01, 2004 at 03:45:55PM +0300, =DClk=FC SAYILAN wrote: > I have a big problem, FreeBSD+samba running on HP LH4 server being f= ile server. > Last night, renaming some file and in some command > line I push "pause/Break" than such kind of error line came, The 'pause' key will temporarily suspend input to the tty, until you press it again, when everything you typed in the meantime will suddenly be sent to the system. It has no special powers to make your system shutdown, or anything. =20 =20 > "init: can't exec getty `/usr/libexec/getty` for port /dev/ttyv1:No > souch file or directory" >=20 > then a little bit freezing time I push again any key than it reboot > at last server never boot in below messages that freezing.. >=20 > What Can I do? Your /usr partition hasn't mounted properly. You should still be able to boot into single user mode on the console. Watch the system as it boots from power-on. When you get to the 10-second countdown hit the space bar to interrupt the usual boot process, then type: > boot -s The system will go through the early stages of booting and then stop, prompting you to type in the name of a shell or hit return. You should hit return. Now you've got the system into single user mode, and can investigate what went wrong. Probably the first thing to do is to fsck(8) and mount your disk drives, and turn on swapping: # fsck -p # swapon -a=20 # mount -a If any of those commands generates error messages you don't understand, ask again here. Now you should be able to poke around in /usr and see if there's any obvious problems. If it's just the getty executable that's missing, you should be able to copy one from a similar machine, or out of /usr/obj if you previously did a buildworld on that machine. =20 > I suppuse some file system deleted :( >=20 > Maybe boot from CD and installtion procees I must choose > "configure do post install configuration of freebsd" > Can I rescue file system? or lost of all my data/server? >=20 > or boot floopy can be functional? No -- see if you can get into single user mode first, before thinking about re-installing. You should be able to get at least some of the system back. Once you're done with single user mode, type: # reboot and the system should come back into normal multiuser mode so long as you've fixed what was causing the problem. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAbBySdtESqEQa7a0RAiFlAJ9RBzjPNbC5NGHPmQqhte2de9FshgCeLU/V vlVaNlnD4x8GVRFV4prXg3o= =Yl5D -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE--