RE: E450 - hangs when booting without keyboard and monitor

From: Torrance, Derek (Derek.Torrance_at_gha.org.uk)
Date: 09/02/04

  • Next message: randy calma repasa: "allowing ordinary users to open privileged ports"
    Date: Thu, 2 Sep 2004 10:01:18 +0100
    To: <focus-sun@securityfocus.com>
    
    

    I think it hangs because it's trying to write to the console and can't. So, you need to make some tweaks to stop it trying to write to the console. I recently had to do much the same thing on a really old SparcServer 1000 and this worked for me.
    You want to make changes to the /etc/inittab and /etc/syslog.conf files so make copies of the current versions first. Then, edit syslog.conf and comment out any lines that refer to /dev/console e.g.:

    # *.err;kern.notice;auth.notice /dev/console

    Next open inittab and edit this line

    co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T sun -d /dev/console -l console -m ldterm,ttcompat

    replace the '234' with a '1' like this:

    co:1:respawn:/usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " -T sun -d /dev/console -l console -m ldterm,ttcompat

    And that should be about it. When you reboot it should no longer try to communicate with the console. If you want the changes to take effect without rebooting just do a 'kill -HUP' on the init and syslogd processes.

    Best of luck,
    Derek Torrance

    --------------------------------------------------------
    Disclaimer:
    This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended addressee, or the person responsible for delivering it to them, you may not copy, forward, disclose, rely on or otherwise use it or any part of it in any way. To do so may be unlawful. Any representations, contractual or otherwise, views or opinions presented are solely those of the author and do not necessarily represent those of Glasgow Housing Association Ltd. If you receive this e-mail by mistake, please advise the sender immediately by phoning 0141 274 6200 and delete this e-mail. As part of our electronic communication policy Glasgow Housing Association Ltd. monitors e-mail content. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.
    Glasgow Housing Association Ltd. is a registered Scottish charity, number SCO 34054
    --------------------------------------------------------


  • Next message: randy calma repasa: "allowing ordinary users to open privileged ports"

    Relevant Pages

    • Re: Linux Console Hangs
      ... > - every login hangs the session the same way as on the console. ... > login on Webmin as root without problems. ... > with simple reboot but since the third or forth reboot it doesn't ...
      (comp.os.linux.networking)
    • Re: CHKDSK errors
      ... They do ask for a reboot to run the test. ... These sometimes fix errors but ... to install the command console, ... from the files located on your disk: ...
      (microsoft.public.windowsxp.general)
    • Re: Debian GNU/Linux Lenny server automatically reboot
      ... I notice that that it did reboot sometimes automatically. ... attach a serial console, configure your kernel to send console messages to it - somewhat of a pain, but when the kernel panics, some things ONLY go to the console -- there's a serial console howto on tldp.org that's a good start -- note that you'll need a console that saves stuff (e.g., a PC running a terminal program) -- for my servers, I purchased a rather nice box from Lantronix that turns a serial port into something you can ssh into via the net ... install a kernel that supports crash dumps and a crash dump utility - note that this is a bit of a pain in Linux, less so in BSD and Solaris based systems - with this approach you can set your machine to save a crash dump, then reboot - you can analyze the dump at your leisure -- sort of important if people depend on your server being up ...
      (Debian-User)
    • Re: RedHat security
      ... > Nearly every time I set up a RedHat distribution ... If someone is physically at the console, ... any user can reboot the system. ... password on the BIOS, and a password for the boot loader to reduce this ease ...
      (comp.os.linux.security)
    • Re: RedHat security
      ... > Nearly every time I set up a RedHat distribution ... If someone is physically at the console, ... any user can reboot the system. ... password on the BIOS, and a password for the boot loader to reduce this ease ...
      (comp.os.linux.security)