加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

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

发布时间:2020-12-13 17:02:03 所属栏目:Linux 来源:网络整理
导读: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 canuse subscripti
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

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

$sudo /sbin/service postgresql initdb
postgresql: unrecognized service

这是RHEL 6.3

解决方法

您需要安装postgresql-server才能获得System V init脚本和服务器二进制文件.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读