/App_MasterPages/layout.master is the one it will try to use when there is an error in your skin layout.master so you should make sure that does exist.
You can view the log at Administration > System Log or by downloading /Data/currentlog.config
newest errors are at the bottom of the log.
Hope it helps,
Joe