The 11g install on Linux completes with EM error. The database works but EM is not insalled and you have to run emca.
I have set ORACLE_HOSTNAME and TZ variables. But still in in em log file
: No value set for ORACLE_HOSTNAME

EM comfiguration failed due to the following error:failed to unlock all em related accounts.

t oracle.sysman.assistants.util.sqlEngine.SQLEngine. executeImpl(SQLEngine.java:1467)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine. executeSql(SQLEngine.java:1708)
at oracle.sysman.emcp.EMReposConfig.grantPrivsToDbsnm p(EMReposConfig.java:503)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposCon fig.java:208)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposCon fig.java:124)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java: 142)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EM ConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfig uration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EM ConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfig Assistant.java:412)15-Sep-2008 15:07:30 oracle.sysman.emcp.EMReposConfig