gpt4 book ai didi

postgresql - Postgres 9.1 日志在 Ubuntu 中默认位于何处

转载 作者:行者123 更新时间:2023-11-29 11:35:33 24 4
gpt4 key购买 nike

在哪里可以找到我的 postgres 9.1 服务器的启动日志。我正在使用 Ubuntu。postgres restart 失败。find/-name pg_log 一无所获/etc/postgres/main/9.1/ 的标准日志清晰

最佳答案

在类似 RedHat 的发行版中,它位于 /var/lib/pgsql/pgstartup.log 中,或者在 /的初始化脚本中查找变量 PGLOG etc/init.d/postgresql

关于postgresql - Postgres 9.1 日志在 Ubuntu 中默认位于何处,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11137393/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com