Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weblogic nohup problem when its rotated

Status
Not open for further replies.

baco2778

Programmer
Jul 19, 2005
1
MX
Hi All
I hope anyone can help me, i have an j2ee app under weblogic 8.1 server, i redirect the log to an external file (nohup.out), this file grows fast and i use a cron calling a script to rotate it everyday at 00:05 hrs. and the server stills running, everything is ok, but when the rotate file is calling uses the next command 'cat /dev/null > nohup.out' to resize the nohup file to 0 kbs, then when someting is write on the nohup the file grows as its first size, writting binaries to replace the info erased before, how can i rotate my nohup without that problem ocurs and without shutting down my server everyday!! Thanks!!!

Oscar Badillo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top