• Apple's http://support.apple.com/kb/HT2090
• If that does not fix, use your Mac's Disk Utility to repair permissions.
Then download and apply the latest Combo Update. For 10.5.x, the current Combo is at http://support.apple.com/kb/DL866
Repair permissions again immediately following the system restart that completes the Combo update.