These files may affect this:
config.lua
data/creaturescripts/scripts/die.lua
data/creaturescripts/scripts/login.lua
data/XML/vocations.xml
data/globalevents/scripts/...
Or database is read only.
Recommend to open all your script with notepad++, then click ctrl + F and use option "search in all opened files" for: death, dea, los, loss, lose etc.