You are not logged in.
Pages: 1
Hi, when I try to start postgresql on arch, it displays the error message:
sudo systemctl start postgresql
sudo systemctl status postgresql
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled)
Active: failed (Result: exit-code) since Wed 2013-11-13 15:05:34 EST; 9min ago
Process: 1054 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGROOT}/data (code=exited, status=1/FAILURE)
Nov 13 15:05:34 Arch-Linux-Thinkpad-T400 postgres[1054]: An old version of the database format was found.
Nov 13 15:05:34 Arch-Linux-Thinkpad-T400 systemd[1]: postgresql.service: control process exited, code=exited status=1
Nov 13 15:05:34 Arch-Linux-Thinkpad-T400 systemd[1]: Failed to start PostgreSQL database server.
Nov 13 15:05:34 Arch-Linux-Thinkpad-T400 systemd[1]: Unit postgresql.service entered failed state.
Offline
Welcome to Archlinux!
First thing to note is: always check what pacman is going to update before blindly hitting the return key. There are packages that will require post-upgrade maintenance work, and postgresql is one of them.
Nov 13 15:05:34 Arch-Linux-Thinkpad-T400 postgres[1054]: An old version of the database format was found.
Offline
Thanks for tip, teekay.
Offline
Pages: 1