-   Linux - Newbie (
-   -   HELP ME! URGENT - Entered "exit" before previous command had completed run (

dajobi 03-18-2012 07:33 PM

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.

frankbell 03-18-2012 07:52 PM

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.

AnanthaP 03-18-2012 07:53 PM

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.


dajobi 03-18-2012 08:12 PM

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.

All times are GMT -5. The time now is 06:48 AM.