From owner-freebsd-questions@FreeBSD.ORG Tue Jan 7 10:27:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28DE2599 for ; Tue, 7 Jan 2014 10:27:18 +0000 (UTC) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B5D0817A0 for ; Tue, 7 Jan 2014 10:27:17 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id bz8so3924104wib.16 for ; Tue, 07 Jan 2014 02:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=7JpdVLn0wvetnjU6j6CKZt89lb8eg4RRlSFgvzwxolQ=; b=WDhFlrF/AzpQaUPJXsLma6Y4KY1vqIuHQYovdJ31cbrRfQn7DpQ2bt3tqufaWM9WH9 yS0lGSts+vZLLudSefw5Y5vPejgtb//iJmu4UXHlXnx6WjF8xpEauJkNkMzTGyLvxvw9 4gvM2CZxIkJq/O1669YAyun0eYcMmhuPiwNR+H9AvcpK4iQPCe0h08FhqaprDChc4Rg/ UkUNHd7aa766unyvxgr1CGWL4QlYIczmABiGAEhjC2pbRzsqf+bptbUjP38rOxLfBgjz p9mIYTEqKba227tLxTBaxrxV7C+bgrbxzJSz3S9qMYLJ90aY6JgStT6aE58Zml2aUk6y BsUw== MIME-Version: 1.0 X-Received: by 10.180.21.204 with SMTP id x12mr16242263wie.45.1389090436090; Tue, 07 Jan 2014 02:27:16 -0800 (PST) Sender: olivier2553@gmail.com Received: by 10.216.82.70 with HTTP; Tue, 7 Jan 2014 02:27:16 -0800 (PST) In-Reply-To: References: Date: Tue, 7 Jan 2014 17:27:16 +0700 X-Google-Sender-Auth: d_A_-yeP1YgKlK5IfjiBDArMwUc Message-ID: Subject: Re: Server hang From: Olivier Nicole To: eras mus Content-Type: text/plain; charset=ISO-8859-1 Cc: Polytropon , "freebsd-questions@freebsd.org" , =?ISO-8859-1?Q?Trond_Endrest=F8l?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2014 10:27:18 -0000 > With reference to my previous mail. > The fsck output is in http://pastebin.com/vch0DbAx . And not in the > previous link. fsck should not take hours, unless your file system is terabytes. It would be nice to know what is this inode 5823; you could try a find /usr -inum 5823 Olivier > > On Tue, Jan 7, 2014 at 3:46 PM, eras mus wrote: > >> Dear List, >> >> With your help able to fix rc.conf. Able to start in normal mode. again >> the server is hanging. No connection from LAN and also from server console >> So in single user mode ran fsck. The fsck commands runs fine util it >> comes for /usr. After giving these messsage http://pastebin.com/jujRwp6g It >> is waiting for more than a hour.No other output. Is it normal phenomena? >> Will it take more time. >> >> Please Note: As some one adviced here for memory check. Out of 4 RAMS >> tried removing RAM one by one and checked whether system is hanging. It >> still hangs . >> >> >> >> On Tue, Jan 7, 2014 at 1:25 PM, Polytropon wrote: >> >>> On Tue, 7 Jan 2014 13:05:00 +0530, eras mus wrote: >>> > Dear List, >>> > >>> > I tried editing /etc/rc.conf file in between server hanged . Now the >>> > rc.conf is incomplete. There is a line with incomplete quotes. >>> > So the machine in starting in single user mode . No editor is working . >>> > when /usr is mounter ee editor is there. But The file could not be >>> edited >>> > and saved since it is read only. >>> > >>> > How to overcome this read only mode and edit the file. >>> >>> This indicates a severe error, as you have correctly observed. >>> Step 1 is to make / writeable: >>> >>> # mount -u / >>> >>> which is a "shortcut" for >>> >>> # mount -u -o rw / >>> >>> You will also need to mount partitions like /usr to make your >>> normal editor working (for example /usr/bin/ee): >>> >>> # mount /usr >>> >>> or even >>> >>> # mount -a >>> >>> In case this step is not _possible_, you can still use an editor >>> present on / (typically /rescue/vi): >>> >>> # /rescue/vi /etc/rc.conf >>> >>> Apply the quotes as required and :wq (write file and quit the >>> editor). Then you should be able to let the system reboot normally. >>> >>> >>> -- >>> Polytropon >>> Magdeburg, Germany >>> Happy FreeBSD user since 4.0 >>> Andra moi ennepe, Mousa, ... >>> >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"