By mistake if you have used wrong port while configuring SLB, the oms will not come up.
./emctl secure oms -sysman_pwd xyz123 -reg_pwd abc123 -host hostname -secure_port 443 -slb_port 443 -slb_console_port 443
You will be getting below error while starting the oms.
./emctl start oms
Oracle Enterprise Manager 11g Release 1 Grid Control
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Starting WebTier…
WebTier Could Not Be Started
Error Occurred: WebTier Could Not Be Started
Please check /u01/app/oracle/Middleware/oms11g/em/EMGC_OMS2/sysman/log/emctl.log for error details
when you check the log, basically the apache will not start. You can see the error in /u01/app/oracle/Middleware/oms11g/WebTierIH1/diagnostics/logs/OHS/ohs1/ohs1.log
The error will look like
[pid: 9633918] [tid: 1] [user: oracle] [VirtualHost: main] (13)Permission denied: make_sock: could not bind to address [::]:443
[pid: 9633918] [tid: 1] [user: oracle] [VirtualHost: main] no listening sockets available, shutting down
3918] [tid: 1] [user: oracle] [VirtualHost: main] Unable to open logs
you will have to change the port back in
/u01/app/oracle/Middleware/oms11g/WebTierIH1/config/OHS/ohs1/httpd_em.conf
note there will be a backup file automatically taken whenever any change to above file. Overwrite the correct copy with incorrect one.