AmazonLinuxにpostgreSQLをインストール
EC2上のAmazonLinuxにpostgreSQLをインストールしようとしていますがうまくいきません
yum install -y postgresql95 postgresql95-server postgresql95-libs postgresql95-contrib
~~以上のコマンドを用いてインストールは行ったのですがPostgreSQLのデータベースクラスタの作成がうまくいきません
~~
/usr/pgsql-9.5/bin/postgresql95-setup initdb
発生している問題・エラーメッセージ
調べても上記のコマンドで成功しているので八方塞がりの状態です。
インストールが不足しているものなどがあるのでしょうか
追記
データベースクラスタは初期化できましたが、サービスの起動が成功しません。
Job for postgresql-9.5.service failed because the control process exited with error code. See "systemctl status postgresql-9.5.service" and "journalctl -xe" for details.
- systemctl status postgresql-9.5.service
以下のように表示されます。
postgresql-9.5[3588]: Starting postgresql-9.5 service: [FAILED] internal systemd[1]: postgresql-9.5.service: control process exited, code=exited status=1
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。