Re: could not rename temporary statistics file "/run/shm/pgstat.tmp" to "/run/shm/pgstat.stat": No such file or directory

From: basti <mailinglist(at)unix-solution(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: could not rename temporary statistics file "/run/shm/pgstat.tmp" to "/run/shm/pgstat.stat": No such file or directory
Date: 2014-04-22 11:23:43
Message-ID: 5356513F.1070502@unix-solution.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

/run/shm and /var/run/shm would be the same. On my system I found no
symlink to each other but there is the same content.

Basti

On 22.04.2014 12:02, Tomáš Vondra wrote:
> Seems you're using /run/shm and /var/run/shm by mistake.
>
> Tomas
>
> basti <mailinglist(at)unix-solution(dot)de>napsal/a:
>
>> Hello,
>>
>> since I have enabled "stats_temp_directory = '/run/shm'" in
>> /etc/postgresql/9.1/main/postgresql.conf I get the following error:
>>
>> 2014-04-21 02:37:29 CEST LOG: could not rename temporary statistics
>> file "/run/shm/pgstat.tmp" to "/run/shm/pgstat.stat": No such file or
>> directory
>>
>> /var/run/shm# ls -rtl
>> -rw------- 1 postgres postgres 312211 Apr 22 11:31 pgstat.stat
>>
>> There is no "/run/shm/pgstat.tmp" file but if I create it and change the
>> owner to postgres the file will be removed few minutes later.
>>
>> How can explain and how can I solve this "error"?
>>
>> Regards,
>> Basti
>>
>>
>>
>>
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nicklas Avén 2014-04-22 11:45:51 How to ignore blank lines with file_fdw
Previous Message basti 2014-04-22 10:26:25 Re: could not rename temporary statistics file "/run/shm/pgstat.tmp" to "/run/shm/pgstat.stat": No such file or directory