Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[7.400] Log Partition Status shows incorrect size

Hi,
the Log Partition Status Page shows incorrect size after changing the partition structure manually (separate Disk for /var/log), here is a picture:


This thread was automatically locked due to age.
  • Now I wonder how you did change the partition structure, did you maybe run a stray chown on the partition contents? Can you check the permissions on the /var/log/reporting/pgsql/ directory and subdirectories? We are using a separate 'postgres' user and 'postgres' group to run the database, if the files are owned by root instead this would cause errors like the one you got. 
    Cheers,
     andreas
  • Ok, it looks like there was the problem, i've copied the content without the permission or ownership information. i made a chown -R postgres : postgres to the directory /var/log/reporting/pgsql and now it works fine. I hope this was the only chown that the system needs. [8-)]
  • Just one minor suggestion for the next time: try 'tar cvpzf backup.tgz /var/log/' and  'tar xvpfz backup.tgz -C /var/log/', since this will preserve permissions. Thanks for trying this out, now we know that the calculations are safe against counter-wraps [:)]