SITEID could be != 1 in older installations.
(http://moodle.org/bugs/bug.php?op=show&bugid=2580)
Admin can put a site on hold during an upgrade or theme changing etc Controlled by a file in dataroot, so it can also be controlled via command line: touch moodledata/1/maintenance.html rm moodledata/1/maintenance.html