Don’t know if it’s related to my upgrade from 10.10 to 10.11, but today i could not connect to oracle databases using navicat with the error “OID could not be created”.

To fix it type this in Terminal:

$ sudo scutil --set HostName my.host.name

Then also add this name to the localhost line in /etc/hosts

127.0.0.1   localhost my.host.name

Then restart your computer.