Server 10.5.8 hangs at login - SQLlite error
We have a 10.5.8 server that is running AFP and SMB shares. Recently it has started disallowing AFP connections about once a week or two.
Today it did it again and I rebooted the server. Now when I try to login to the server itself as the local admin, it hangs at login. (I'm connecting remotely via ARD) I've tried rebooting it 5 times via LOM and it hangs at login every time. It is however successfully serving its AFP/SMB shares.
Using Server Admin to connect remotely works and I see this in the server's system log:
Jun 15 08:27:04 fileserver /usr/sbin/UserEventAgent[8796]: ACRR: Failed to save usage store to /Users/adminacct/Library/Application Support/CrashReporter/Intervals_00A63256-82B9-5C83-9F47-93A9667BE0D5.plist
Jun 15 13:32:55 fileserver Dock[249]: SQLite failure in directoryCreated for <ECDirectory: 0x22d0c0> {path=/Users/adminacct/Downloads/} lineNum=1459 err=1 (unable to open database file)
Jun 15 13:37:33 fileserver Dock[221]: SQLite failure in directoryCreated for <ECDirectory: 0x22fa00> {path=/Users/adminacct/Downloads/} lineNum=1459 err=1 (unable to open database file)
Jun 15 13:40:25 fileserver sudo[234]: adminacct : TTY=ttys000 ; PWD=/Users/adminacct ; USER=root ; COMMAND=/usr/sbin/diskutil repairPermissions /
Jun 15 13:40:38 fileserver sudo[257]: adminacct : TTY=ttys000 ; PWD=/Users/adminacct ; USER=root ; COMMAND=/usr/sbin/diskutil repairPermissions /
Jun 15 13:41:20 fileserver sudo[269]: adminacct : TTY=ttys000 ; PWD=/Users/adminacct ; USER=root ; COMMAND=/bin/bash
Jun 15 13:44:07 fileserver Dock[315]: SQLite failure in directoryCreated for <ECDirectory: 0x22fcc0> {path=/Users/adminacct/Downloads/} lineNum=1459 err=1 (unable to open database file)
Jun 15 13:50:17 fileserver Dock[219]: SQLite failure in directoryCreated for <ECDirectory: 0x230570> {path=/Users/adminacct/Downloads/} lineNum=1459 err=1 (unable to open database file)
Jun 15 13:51:13 fileserver sudo[296]: adminacct : TTY=ttys000 ; PWD=/Volumes/Data ; USER=root ; COMMAND=/bin/bash
Jun 15 13:56:09 fileserver Dock[268]: SQLite failure in directoryCreated for <ECDirectory: 0x230990> {path=/Users/adminacct/Downloads/} lineNum=1459 err=1 (unable to open database file)
Trying to connect with Workgroup Manager fails with this error, and Workgroup Manager then crashes:
Error of type eMemoryAllocError (-14901) on line 401 of /SourceCache/WorkgroupManager/WorkgroupManager-319.2.2/DirNodeRefController.m
Error of type eMemoryAllocError (-14901) on line 4690 of /SourceCache/WorkgroupManager/WorkgroupManager-319.2.2/PMMUGSearchController.mm
Any idea what's causing it to not successfully login a local admin?
What are the SQLite errors and why is the path pointing to the local admin user Download folder?
I can connect remotely with SSH. If I run "diskutil repairPermissions /" it works but finishes in about 1 or 2 seconds, which is unusual.
Thanks!