English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Good morning .

I am accessing a remote server via putty and started a weblogic server by using a script and placed that job in background using the & after the script name.The
weblogic script is running now.The problem I am facing is,I want to exit out of that specific putty session.But,I still want the weblogic server which was started by that script to be still running.When I try to exit out of the session by typing,"exit",the shell reminds me saying that,I still have some jobs running.

host1: /opt/testdomain/3.0> jobs -l
[1] + 18889 Running ./startWebLogic.sh&
host1: /opt/testdomain/3.0>

Now,how do I exit the putty session and still have the weblogic server running.The last time,I exited the putty session I remember the weblogic server process dying out.I cant afford this now as this is a development box.

Please suggest.

Any help appreciated.

Thanks a lot!

2007-10-19 01:03:42 · 2 answers · asked by desertshark 1 in Computers & Internet Other - Computers

2 answers

Check for a command called nohup. Thats "no hangup". If you started it as
nohup ./startWebLogic.sh
then you could hang up without losing the job

2007-10-22 04:30:58 · answer #1 · answered by Gandalf Parker 7 · 0 0

try to make crontab for the desired job. Once you do this and then reboot the box for once .. it will pick up the service in the background. Else every time you have keep your remote login account logged in to keep the service running.

2007-10-20 09:16:59 · answer #2 · answered by tum_bin_never 4 · 0 0

fedest.com, questions and answers