Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-18-2012, 07:33 PM   #1
LQ Newbie
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
HELP ME! URGENT - Entered "exit" before previous command had completed run

Please help me (Newbie) urgently.

I was restarting our application via SSH and thought the command was complete when I entered "exit". This obviously was a bad thing to do and, the application didn't restart and now when I try to restart
using the SSH command line
Instead of running the restart script it instead displays...
.: 13: Can't open exit/bin/functions
Does anyone have an idea what I can do to fix it?

Thanks and appreciated in advance.
Old 03-18-2012, 07:52 PM   #2
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,463
Blog Entries: 25

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
Here's a suggestion.

Try ps -A (if you don't see the desired results as user, try it as root). If the output contains the hung process(es), try the kill command on them. Then try to restart them.

See man ps and man kill for details.
Old 03-18-2012, 07:53 PM   #3
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 893

Rep: Reputation: 208Reputation: 208Reputation: 208
Most restart scripts will attempt a clean shutdown before restarting. It looks as thats the case. (Path is not set and so cant exit).

So you will have to go into "" and manually set the path, complete the shutdown and start up.

How big is the code in Make a copy of before examining and tinkering with it as below:
mv # this retains file info like date etc.

Because you posted your thread with the subject beginning with "HELPME! URGENT", you are likely to get some comments you could have avoided.

Old 03-18-2012, 08:12 PM   #4
LQ Newbie
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the quick responses.

Not sure if this will help other newbies like me in future. But I was helped with this set of instructions from the developer. Basically he told me entering "exit" before the process was complete de-configured the path.

So in my case this is was re-configured it.

Check dir


cd ~
. ./setup
User/Instance: tasvac/production
Enter Setup Dir [exit] (d: /home/tasvac/tardis) ? /home/tasvac/tardis
Then just followed the steps entering "return" as it went.

After it completed then I was able to re-run the successfully.

All happy now.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo to solve this error "tar: Error exit delayed from previous errors" ? xombboxer Linux - Newbie 7 03-13-2012 02:26 AM
Multiple issues including: "Previous Installation hasn't been completed" sisterdelirious Linux - Software 6 09-16-2010 04:49 AM
How to exit and save (or just to exit) inside a "make config" running command? scrat75 Linux - Kernel 6 09-05-2008 04:02 PM
tar "Error exit delayed from previous errors" using "-C /" ToK Linux - Software 2 03-19-2008 06:49 AM
Red Hat 5 " tar: error exit delayed from previous errors" brettreyu Linux - Newbie 4 09-13-2007 01:42 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration