LoginSignup
0
0

More than 5 years have passed since last update.

Fedora 19 で PostgreSQL サーバ起動しようとしたらコケた

Posted at
sudo yum install postgresql-server

した後に PostgreSQL サーバを起動しようと

sudo systemctl start postgresql.service

と実行するも

Job for postgresql.service failed. See 'systemctl status postgresql.service' and 'journalctl -xn' f
or details.

とエラーが出て困った.エラーメッセージの指示通り journalctl -xn で詳細を見ると,

sudo postgresql-setup initdb

しろとある.こんなこと今までやる必要あったっけ…?Ubuntu Server ではこんなことやった記憶が無い…

まぁいいやととりあえずやってみたら初期化出来たらしく,エラーが出ること無く無事 PostgreSQL サーバ起動成功.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0