腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
如果我无法连接到服务器,我的postgres *.conf文件在哪里?
postgresql
我有一个从源代码安装的PostgreSQL 11.10。当我尝试启动这个数据库实例时,它出现了致命错误。如何找到此数据库的配置文件?psql无法连接到数据库,因此,我无法运行SHOW config_file
浏览 13
提问于2021-02-03
得票数 0
回答已采纳
2
回答
在Ubuntu 12.04上安装Postgresql
apt
、
postgresql
原因如下:* Error: could not exec /usr/lib/postgresql/9.1/bin/
pg_ctl
/usr/lib/postgresql/9.1/bin/
pg_ctl
start -D /var/lib/postgresql/9.1/main -l /var/
浏览 0
提问于2013-12-17
得票数 1
回答已采纳
4
回答
启动/停止postgres数据库
pg_ctl
或的正确方法
postgresql
有两种方法 我想知道它们之间有什么不同,我应该用哪一种?他们的优点/缺点。
浏览 20
提问于2017-08-14
得票数 17
1
回答
如何使用
linux
启动postgresql数据库?
linux
、
postgresql
、
cron
su - postgrespostgresql数据库就是这样开始的。crontab -e postgresql尚未启动。
浏览 6
提问于2020-06-13
得票数 0
回答已采纳
1
回答
角色"postgres“在Windows 7上不存在
windows
、
postgresql
、
windows-7
在
pg_ctl
initdb和
pg_ctl
start命令之后运行以下命令时:role "postgres" doesn't exist 所有类似的问题都是关于
Linux
或Mac的,它们对我帮助不大,所以我不知道如何解决它。
浏览 6
提问于2019-07-15
得票数 1
1
回答
pg_ctl
:无法打开PID文件“/var/lib/postgres/data/postmaster.pid.pid”:权限被拒绝
postgresql
在Arch
Linux
上,运行initdb命令后,我得到以下消息:
pg_ctl
-D /var/lib/postgres/data -l logfile start我退出postgres用户并尝试通过上面
浏览 0
提问于2018-02-28
得票数 3
回答已采纳
1
回答
Windows中的PostgreSQL无法在后台运行服务器
windows
、
postgresql
、
pg-ctl
postgresql-10
pg_ctl
-D "\My postgres path\10\data" start
pg_ctl
: no server running. 那么,我如何像
linux
操作系统那样运行postgres呢?
浏览 2
提问于2018-05-17
得票数 1
回答已采纳
2
回答
如何取消正在运行的迁移?
ruby-on-rails
在Rails应用程序中,我运行了rails db:migrate,出于某种原因,迁移挂起了。最后,我不得不关闭运行迁移的终端选项卡。当我试图在一个新的选项卡中运行rails db:migrate时,我收到了以下错误消息:
浏览 11
提问于2017-04-23
得票数 15
回答已采纳
1
回答
Heroku/postgres错误
ruby-on-rails
、
ruby
、
git
、
postgresql
、
heroku
我正在尝试部署一个红宝石rails应用程序到Heroku,并得到和一个错误。我遵循了教程,并将postgres添加到了我的gem文件中,但是当我尝试"git push heroku master“时,我得到了以下错误:id: treebook $ git push heroku masterDelta compression using up to 4 threads.Writing objects: 100% (297/297
浏览 4
提问于2013-10-20
得票数 0
回答已采纳
2
回答
如何在容器内停止postgresql服务器?
postgresql
、
docker
、
kubernetes
问题是,我没有找到如何通过systemctl、
pg_ctl
或服务来停止正在运行的postgres进程。
pg_ctl
:$
pg_ctl
status系统: PostgreSQL 10.4 (Debian 10.4-2.pgdg90+1) on x86_64-pc-
l
浏览 4
提问于2020-11-16
得票数 2
回答已采纳
2
回答
如何标识子进程的子进程?
c++
、
python
、
postgresql
、
process
、
cross-platform
我使用子进程产生
pg_ctl
-m fast来停止服务器。作为备用方法,我检查返回代码,如果失败,则运行
pg_ctl
-m immediate。我基本上已经把Postgres方面的想法都说完了。但是我不知道如何区分由我的
pg_ctl
start进程和可能
浏览 2
提问于2011-06-30
得票数 1
回答已采纳
1
回答
如何在MacOS上没有
pg_ctl
的情况下关闭postgres9.6.11?
postgresql
、
macos
、
pg-ctl
postgrespsql (9.6.11, server 10.7) 但我无法阻止它: /Library/PostgreSQL/10 $ bin/
pg_ctl
stopIs server running在9.6版本的
pg_ctl<
浏览 25
提问于2019-04-10
得票数 0
1
回答
当服务器关闭时,如何定位Postgres数据目录?
postgresql
、
postgresql-9.6
、
mac-os-x
、
data
我能够找到"
pg_ctl
“的实例返回/usr/local/Cellar/postgresql/9.6.1/bin/
pg_ctl
/usr/local/Cellar/postgresql/9.5.0/bin/
浏览 0
提问于2020-04-08
得票数 0
回答已采纳
2
回答
Postgres无法连接到服务器
ruby-on-rails
、
ruby-on-rails-3
、
postgresql
、
rake
在相同的psql环境中,我尝试了我已经确保pg gem是随捆绑包一起安装的,我已经运行了"
pg_ctl
start",我得到了以下响应:
pg_ctl
:
浏览 6
提问于2012-09-21
得票数 1
回答已采纳
1
回答
Postgresql服务未在Kali
Linux
上启动
kali-linux
、
postgresql
我已经从windows商店安装了Kali
Linux
,并且一直试图让postgresql运行,但是它不起作用。我在谷歌上搜索过,很多人都犯了同样的错误,但没有人和我有同样的错误。config_file="/etc/postgresql/12/main/postgresql.conf“12数据库服务器: mainError: /usr/lib/ PostgreSQL /12/bin/
pg_ctl
/usr/lib/
浏览 0
提问于2020-05-13
得票数 0
1
回答
Fabric和Sudo作为另一个用户
python
、
postgresql
、
fabric
sudo("/usr/lib/postgresql/9.1/bin/
pg_ctl
-D /mnt/ebs/postgresql/data -l /mnt/ebs/logfile start", usersudo su postgres -c '/usr/lib/postgresql/9.1/bin/
pg_ctl
-D /mnt
浏览 0
提问于2012-04-14
得票数 4
回答已采纳
1
回答
在Ubuntu 20.04下运行sudo服务postgresql start时出现postgresql错误
postgresql
server * Error: /usr/lib/postgresql/12/bin/
pg_ctl
/usr/lib/postgresql/12/bin/
pg_ctl
start -D /var/lib/postgresql/12/main -l /var/
浏览 65
提问于2020-10-02
得票数 1
回答已采纳
1
回答
Repmgr :它会自动升级到新的主程序,但是其他待机停止了。
postgresql
、
clustering
、
high-availability
、
failover
、
repmgr
= "1" ] && [ ${my_node} -gt 1 ]; then repmgr -h ${PRIMARY_NAME} -d repmgr standby clone --fast-checkpoint
pg_ctl
浏览 0
提问于2020-10-05
得票数 0
1
回答
等待在makefile中执行shell命令
bash
、
shell
、
makefile
@brew install postgres @
pg_ctl
-D data start我正在安装我假设需要使用wait来推迟createuser命令,直到数据库启动,但是经过一个小时的争论,我觉得我没有正确地使用wait,比如@wait $!
浏览 3
提问于2016-03-07
得票数 1
回答已采纳
2
回答
postgresql起始数据库
postgresql
、
macports
、
osx-leopard
/
pg_ctl
start启动数据库。这是我得到的错误消息: 帮助:未指定数据库目录且环境变量PGDATA未设置。有关详细信息,请尝试"
pg_ctl
--
pg_ctl
“。
浏览 0
提问于2011-07-20
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
PostgreSQL 11.0 Beta2 安装
Linux DNS 查询剖析 Linux 中国
Manjaro Linux 22.0 发布|Linux 中国
Alpine Linux 3.18 发布|Linux 中国
Linux基础(3)linux命令3
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
云直播
活动推荐
运营活动
广告
关闭
领券