either the disk is full or where the access.log is , it is not having sufficient privileges to write on access.log
Or
something is messy in squid config file where it describes about access.log location. Please verify its location and also make sure whatever location is, should be writable by squid.