Is the _directory_ containing the fossil file writable? It needs to be for sqlite3 journaling to work (at least in my experience).