Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 日志:无法打开临时文件目录“base”/_Macos_Postgresql - Fatal编程技术网

Macos 日志:无法打开临时文件目录“base”/

Macos 日志:无法打开临时文件目录“base”/,macos,postgresql,Macos,Postgresql,当我尝试启动postgresql时,出现了以下错误:我将数据库从磁带备份还原到XSAN中的一个共享中。帮助!任何人 192:Database postgres$ sudo -u postgres /opt/local/lib/postgresql82/bin/pg_ctl restart -m immediate -D /Volumes/Database pg_ctl: PID file "/Volumes/Database/postmaster.pid" does not exist Is s

当我尝试启动postgresql时,出现了以下错误:我将数据库从磁带备份还原到XSAN中的一个共享中。帮助!任何人

192:Database postgres$ sudo -u postgres /opt/local/lib/postgresql82/bin/pg_ctl restart -m immediate -D /Volumes/Database
pg_ctl: PID file "/Volumes/Database/postmaster.pid" does not exist
Is server running?
starting server anyway
server starting
192:Database postgres$ LOG:  could not open temporary-files directory "base/._1/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._320517/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._16385/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._10818/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._10819/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._1987165/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._2530683/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._2506219/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._1603212/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._1603283/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._1603172/pgsql_tmp": Not a directory
LOG:  could not open temporary-files directory "base/._1201502/pgsql_tmp": Not a directory
LOG:  logger shutting down

FIY这是堆栈溢出的主题,请考虑删除问题并在DBA.STACKExchange .COM或ServFrutt.com中发布。在猜测中,您试图在类似AFP或CIF的网络文件系统上运行PostgreSQL。这将不起作用。在Mac OS X上使用本地HFS+卷。如果苹果的NFS实现正确和Y,NFS也可以工作。你在同步模式下使用它,并启用了锁定守护进程,但我还没有用Apple的东西测试它。