Ok,
the write bug is fixed:
it is not enough tat the file is writable for sqlite.
Also the directory needs write rights for the user.
So I did:
chgrp kamailio /etc/kamailio
chmod 775 /etc/kamailio
So ... one step further, but not reached the target.
Bernd