小编jgr*_*tty的帖子

Postgresql 无法识别,即使它已安装

Postgresql 8.4 似乎安装正确,根据这个:

sudo yum install postgresql 
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager 
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register. 
This system is receiving updates from RHN Classic or RHN Satellite. 
Setting up Install Process 
Package postgresql-8.4.13-1.el6_3.x86_64 already installed and latest version
Nothing to do
Run Code Online (Sandbox Code Playgroud)

但是,当我尝试运行它时,它无法识别:

$ sudo /sbin/service postgresql initdb
postgresql: unrecognized service
Run Code Online (Sandbox Code Playgroud)

这是 RHEL 6.3

postgresql linux redhat yum

4
推荐指数
1
解决办法
1万
查看次数

标签 统计

linux ×1

postgresql ×1

redhat ×1

yum ×1