Running a weblogic server in the background on Linux

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

user_projects/domains/my_domain/bin/startWebLogic.sh 

I found the command below to start the server in the background:

 nohup startWebLogic.sh & 

But when I use this command, I get 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 exit this and go to a new line. Now my requirement is that when I run the command, then the server should start, and I have to exit this on a new line, for example:

 -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 with this. I am using a bash shell.

+4
source share
2 answers
 nohup startWebLogic.sh < /dev/null &> /dev/null & 

Try not to leave attached file descriptors. Thus, / dev / null would be nice to apply too.

+6
source

This answer is just to add other answers.

This message is not an error. Just a new line in the terminal is incorrectly configured, you can continue working without making a second "enter".

0
source

Source: https://habr.com/ru/post/1481333/


All Articles