Search Postgresql Archives

Re: Postgres 9.1 issues running data directory from VMware shared folder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/26/2014 03:08 PM, Arze, Cesar wrote:
Hi,

I’ve recently encountered an issue running Postgres (both 8.4 and 9.1)
on a VMware VM running Ubuntu 10.04 LTS as the guest OS with the data
directory running out of a VMware shared folder. Previously on 8.4 this
had worked out for me but after upgrading VMware and re-building my VM
I’ve started to encounter this issue. It seems like the problem occurs
when I run initdb, I get the following error:

So what is the host OS?

Where is the shared directory located, which OS?

What file system is the directory located on?


# sudo -u postgres /usr/lib/postgresql/9.1/bin/initdb --noclean -D
/mnt/pg_data/

creating template1 database in /mnt/pg_data/base/1 ... FATAL:  could not
open file "pg_xlog/000000010000000000000001" (log file 0, segment 1): No
such file or directory

child process exited with exit code 1
initdb: data directory "/mnt/pg_data" not removed at user's request


What is in /mnt/pg_data after the error?


Thanks for any help,

Cesar






--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux