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

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

Then restart your computer.