Warning: Problem running post-install step. Installation may not complete
:275: The following error occurred while executing this line:
:158: Java returned: 255
At least in our installation the problem was that the "myservername.localdomain" wasn't included in the file /etc/hosts.
It should look like this:
127.0.0.1 localhost myservername.localdomain
I hope this can help someone.