From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robert Bannocks APL UNIX System Manager Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: System halts in single usermode Date: Mon, 29 Jul 2002 19:21:24 +0100 (BST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200207291821.g6TILOF12290@mercury.apl.ucl.ac.uk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1027967112 542 127.0.0.1 (29 Jul 2002 18:25:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2002 18:25:12 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17ZFCg-00008c-00 for ; Mon, 29 Jul 2002 20:25:11 +0200 Original-Received: (qmail 19473 invoked by uid 5); 29 Jul 2002 18:25:31 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 19465 invoked from network); 29 Jul 2002 18:25:31 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 29 Jul 2002 18:25:31 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H0000GURWIIK1@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 29 Jul 2002 14:25:31 -0400 (EDT) Original-Received: from mercury.apl.ucl.ac.uk (mercury.apl.ucl.ac.uk [128.40.84.53]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H000016KWIB5E@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 29 Jul 2002 14:25:25 -0400 (EDT) Original-Received: (from robert@localhost) by mercury.apl.ucl.ac.uk (8.11.6/8.11.6) id g6TILOF12290 for tru64-unix-managers@ornl.gov; Mon, 29 Jul 2002 19:21:24 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: ELM [version 2.5 PL5] Xref: main.gmane.org gmane.os.tru64.managers:1146 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1146 Thanks go to "A. Mahendra Rajah" Stan Horwitz "Lavelle, Bryan" "Brown, Tony" Peyton Bland Oisin McGuinness From: "Dr Thomas.Blinn@HP.com" From: mcaplin@miami.edu for replying. mcaplin@miami.edu, "Dr Thomas.Blinn@HP.com" , Oisin McGuinness and "A. Mahendra Rajah" found the answer. some how the boot_osflags had got reset. Their answers are given below. > I have a problem with a just installed Tur64 system (Tru64 v5.1). I have > done something to this machine that causes it to halt in single user > mode when ever it boots. This is particularly unfortunate as it > gives the user a root shell. I have to hit CTRL-D to continue the boot. > The initdefault in /etc/inittab is 3. This appeared > to happen after it did an aborted kernel rebuld. I have searched the archives > but can find nothing relevant. Look at your SRM environment. Check the boot flags, to boot into multiusers mode, set to "-A", to boot single user (as a default), leave is empty. _______________________________________________________________________________ From: "O'Brien, Pat" srm variable "boot_osfalgs =0 or s" or boot -fl or -flag =0 or s will do the same > Rob Check your "boot_osflags" console variable. If it's not set or is set to "s", you'll see what you're seeing. Setting it to "a" usually gets the system to come all the way up to multi user mode. Depending on the system model, you may be able to set the flag with the "consvar" root command (see the reference page). However, on some system models (my AlphaPC 164/LX is one), you can't use that command to set variables. In that case, next time you have halted the system, use the console's commands to set the variable to "a", then do an "init" and reboot. Tom Dr. Thomas P. Blinn + Tru64 UNIX Software + Hewlett-Packard Company Internet: tpb@zk3.dec.com, thomas.blinn@compaq.com, thomas.blinn@hp.com 110 Spit Brook Road, MS ZKO3-2/W17 Nashua, New Hampshire 03062-2698 Technology Partnership Engineering Phone: (603) 884-0646 ACM Member: tpblinn@acm.org PC@Home: tom@felines.mv.net From: "Dr Thomas.Blinn@HP.com" X-Mts: smtp Status: O From: Oisin McGuinness The console variable boot_os_flags is probably empty; set it to "A". >>> set boot_os_flags A Check to see that boot_osflags is set to A or a at the console level. From: "A. Mahendra Rajah" "it to halt in single user mode when ever it boots." Can you type show boot_osflags at the >>> prompt? Does it say S (single user) or A (multi-user)? If it is S, please change it