My WebLogic 10.3 does not start
I was coming back from a pretty good weekend doing renovation when I am called as one of the application resting on a WebLogic Server (WLS) was inaccessible to users.
A quick round up at the WLS console showed that one of the server doesn't want to start nor restart.
Having a look at the logs for that specific server - you know under logs directory of that server - showed that amount other errors caused by this there was a problem with the diagnostic file.
.../domain/servers/WebLogicAdmin (or managed server)/data/store/default/XXXXX.dat (WLS_DIAGNOSTICS000000.DAT).
the diagnostic file? I never remembered setting any diag mode up and apparently the diag option is off. Anyhow quickly reading of the OTN, some people mentioned deleting the file as it could be corrupted.
That trick never worked for my case. I indeed deleted the WLS_DIAG*.WLS and any .lok under ../Oracle/Middleware/user_projects/domains/canp8/servers files around but nothing.
I eventually had to delete the following directories under each server for which that error occurred. I stopped WLS and for each server I deleted the /data, /tmp and /logs. then starting WLS, it seemed to like not finding them and created a new clean structure. However that was not the end of the troubleshooting as it would complain about the port for one of the server to be already taken by something else.
Indeed, the port seems to be taken by some WLS ghost process of the same name with a different UID. I did not want to look further and decided to shutdown the whole WLS box clean and restart it.
It did the trick for me... perhaps it will do it for you. I still wonder what those files are for and why they would get corrupted and prevent a server from starting up.
KitKatNeko