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.
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.
nohup startWebLogic.sh < /dev/null &> /dev/null &
Try to avoid leaving file descriptors attached. So < /dev/null would be good to apply too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With