Your /var/run/utmp is screwed up. You should have
in your /etc/rc.local or /etc/rc.d/*. See, ("I Screwed Up the System and Can't Log In to Fix It.") Note that the utmp may also be found in /var/adm/ or /etc/ on some older systems.
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.