Results 1 to 2 of 2

Thread: need to cancel startup bash script

  1. #1
    Join Date
    Oct 2007
    Beans
    411

    need to cancel startup bash script

    Hi,
    I made a mistake on my home server. I installed the eXist xml db, and wrote a bash script so that it would start up when the machine boots up.

    But now, the server just hangs before the system asks for a user logon, so I can't ssh into the machine, and when I have the monitor and keyboard hooked up to it, it's not letting me logon or cancel the script.

    Anyway to kill the current running process and get to the logon, so I can delete that bash script?

    thanks,
    bp

  2. #2
    Join Date
    Jul 2006
    Location
    London, UK
    Beans
    818
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: need to cancel startup bash script

    I am surprised that one broken script causes your boot process to fail, to the extent that even sshd is not being started. Anyway...

    At the grub menu choose Recovery
    Then choose "Root shell"
    Remove or disable the offending script.
    type reboot

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •