Operating System - Tru64 Unix
1748142 Members
3606 Online
108758 Solutions
New Discussion юеВ

Re: id: cons "/usr/sbin/getty" console console vt100

 
BrianT_1
Regular Advisor

id: cons "/usr/sbin/getty" console console vt100

On aan AlphaServer running Digital Unix V4.0F, I'm seeing the following:

INIT: command is respawning too rapidly. Check for possible errors
id: cons "/usr/sbin/getty" concole console vt100

id: lat02 "/usr/sbin/getty" /dev/tty02 console vt100

id: lat03 "/usr/sbin/getty" /dev/tty03 console vt100

id: lat04 "/usr/sbin/getty" /dev/tty04 console vt100

id: lat05 "/usr/sbin/getty" /dev/tty05 console vt100

The server will not continue beyond this. This occurred after a crash that happened when I removed a huge messages file from /var/adm created by syslogd. I changed the syslog.conf file to put the that log into syslog.dated instead and tried to restart syslogd, but got the crash and this started happening. Recommendations, please.
21 REPLIES 21
Raj D.
Honored Contributor

Re: id: cons "/usr/sbin/getty" console console vt100

Brian,
Looks like you have boot in maintenance mode , Single user mode :

While the system is booting , and wait at console mode: Press Ctrl+c ,
- The go to single user mode using :
# boot -fl s

Revert back the changes, keep only syslog.conf , aso verify the /etc/inittab file .

-Reboot it back , & check.


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Martin Moore
HPE Pro

Re: id: cons "/usr/sbin/getty" console console vt100

You'd get this effect if /usr was failing to mount. Can you boot to single-user mode and run "bcheckrc" to see if /usr mounts successfully?

Martin
I work for HPE
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details

Accept or Kudo

BrianT_1
Regular Advisor

Re: id: cons "/usr/sbin/getty" console console vt100

I'll try both suggestions. Thanks.
BrianT_1
Regular Advisor

Re: id: cons "/usr/sbin/getty" console console vt100

RajD wrote:

> While the system is booting , and wait at
> console mode: Press Ctrl+c ,
> - The go to single user mode using :
> # boot -fl s
>
> Revert back the changes, keep only
> syslog.conf , aso verify the /etc/inittab
> file .

WHat do I do after I get the single user prompt? I user the boot command above, the system booted to single user mode, but I can't do anything except a cat or ls command. How do I get the file systems mounted? I can't find my documentation on how to proceed in single user mode. I can't change any files without any commands.
BrianT_1
Regular Advisor

Re: id: cons "/usr/sbin/getty" console console vt100

The errors I've posted are a result of an earlier error in the bootstrap. When mount_advfs tries to run, the following error occurs:

ADVFS: Domain usr_domain not activated - inconsistency detected
usr_domain#usr on /usr: Device does not contain a valid ADVFS file system

Since /usr doesn't mount, the /usr/sbin commands won't run and the messages I first posted occur.

I can't figure out what happened to the advfs file system. Is there a tool I can use to recover it?
Steven Schweda
Honored Contributor

Re: id: cons "/usr/sbin/getty" console console vt100

> Is there a tool I can use to recover it?

I know nothing, but I see a "Troubleshooting"
chapter in the "AdvFS Administration" manual:

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/ARH96DTE/TITLE.HTM

(There's also a chapter on "Backing Up and
Restoring Data".)

Or, you could start at:

http://h30097.www3.hp.com/docs/

and fight your way in.
BrianT_1
Regular Advisor

Re: id: cons "/usr/sbin/getty" console console vt100

Tried using advscan and that looks good. salvage says "nothing to salvage", yet mount_advfs says that the domain had a problem. Any other suggestions?
Steven Schweda
Honored Contributor

Re: id: cons "/usr/sbin/getty" console console vt100

> Any other suggestions?

Recreate the Advfs domain and restore from
backup?

If the disk gets sufficiently corrupted in
sensitive places, then the fix-it tools won't
be able to find enough info to know what to
do.

> Tried using advscan and that looks good.

Define "looks good".

> [...] salvage says "nothing to salvage"
> [...]

Is it happy because the data look good, or
because it can't find any data about which to
complain?
BrianT_1
Regular Advisor

Re: id: cons "/usr/sbin/getty" console console vt100

Do any of you know of a consultant we can hire to help with this? We're located in Michigan. I just don't know enough to proceed on my own.

Acually, it's not salvage that says "nothing to fix". Running /sbin/advfs/advscan -f says, literally, "nothing to fix".