The problem is that your ROOT partition (containing /var) is in read-only mode, so no scandisk, no fsck will help (you can't unmount the / partition, ergo you can't fsck it).
Just to be sure, type "mount" on the command line and post here the EXACT results. This way we can confirm if the / partition is in read-only mode or not.
If it is, you could try rebooting (first turn off, then turn on, to avoid other problems) and see if the partition is correctly mounted.
If not, your only possibility would be to boot from another operating system on the sd card (or a system on your internal memory but using a RAM rootfs) so that you can fix the Maemo root partition, but I assume you don't happen to have any of that, which means that you will have to reflash.
Just to be sure, type "mount" on the command line and post here the EXACT results. This way we can confirm if the / partition is in read-only mode or not.
If it is, you could try rebooting (first turn off, then turn on, to avoid other problems) and see if the partition is correctly mounted.
If not, your only possibility would be to boot from another operating system on the sd card (or a system on your internal memory but using a RAM rootfs) so that you can fix the Maemo root partition, but I assume you don't happen to have any of that, which means that you will have to reflash.