Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting weblogic server in background in Linux

I have installed Weblogic Server 10.3.6, and I use the below script to start my server:

user_projects/domains/my_domain/bin/startWebLogic.sh

I found below command to start the server in background:

nohup startWebLogic.sh &

But when I use this command I am getting this output:

-bash-3.2$ nohup ./startWebLogic.sh &
[2] 25379
-bash-3.2$ nohup: appending output to `nohup.out'

So here I have to press Enter to come out of this and go to new line. Now my requirement is that when I run the command then the server should start and I have to come out of this to a new line, like:

-bash-3.2$ nohup ./startWebLogic.sh &
[2] 25379
-bash-3.2$ nohup: appending output to `nohup.out'
-bash-3.2$

Can someone please help me in this. I am using bash shell.

like image 278
chaitanya Avatar asked May 17 '13 08:05

chaitanya


People also ask

How do I start WebLogic 12c in Linux?

Start WebLogic Administration Console If WebLogic Admin Server is not already running, from a command prompt, go to the [appserver root]\user_projects\domains\[domainname] directory, and enter the following command: (Windows) startWebLogic. cmd. (Linux, UNIX) ./ startWebLogic.sh.


1 Answers

nohup startWebLogic.sh < /dev/null &> /dev/null &

Try to avoid leaving file descriptors attached. So < /dev/null would be good to apply too.

like image 182
agathodaimon Avatar answered Sep 30 '22 13:09

agathodaimon