What version are you using? Is the folder that links.db in chmod to the correct numbers? The actual folder /admin/data should be chmod to 777 and I think the actual file is chmod to 644 or try 666 if that does not work.
Forgot to mention that's for links 2.0. I don't know what version you are using.
