DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Starting and stopping the system

Cannot exec /bin/login: No such file or directory

If the system boots correctly but hangs at the login prompt after you enter multiuser mode, try other multiscreens or serial terminals. If you cannot get a response from any tty, the /bin/login file may be missing. The /bin/login file is the login(M) program. This command is run at the beginning of each terminal session to allow users access to the system. To restore /bin/login:

  1. Power-cycle the machine and press <Enter> at the Boot: prompt.

  2. When prompted, enter the root password to go into single-user mode.

  3. Use the Backup Manager as described in ``Restoring files from a scheduled filesystem backup'' to restore the /bin/login file from your root filesystem backup. You can also restore the file from the command line by inserting the first volume of your last full backup of the root filesystem into the tape drive and entering:

    cd /
    cpio -idv -I /dev/rct0 bin/login

    The default tape device is linked to /dev/rct0. If you are using a different device (such as /dev/rctmini), substitute it for /dev/rct0.


Next topic: Cannot open /etc/inittab
Previous topic: Cannot load floating point emulator

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003