Skip to content

Instantly share code, notes, and snippets.

@apa512
Created February 20, 2016 17:19
Show Gist options
  • Save apa512/f01285fc9aab7a3bc22c to your computer and use it in GitHub Desktop.
Save apa512/f01285fc9aab7a3bc22c to your computer and use it in GitHub Desktop.
building Nix...
building the system configuration...
activating the configuration...
setting up /etc...
warning: the following units failed: postgresql.service
● postgresql.service - PostgreSQL Server
Loaded: loaded (/nix/store/9lgk586wbq0rfhd58815ifv1k4gqr6a9-unit-postgresql.service/postgresql.service)
Active: failed (Result: exit-code) since Sat 2016-02-20 18:17:57 CET; 41ms ago
Process: 7882 ExecStartPre=/nix/store/55v9f3v522jbh7njzinnraphgsnd36hq-unit-script/bin/postgresql-pre-start (code=exited, status=127)
Feb 20 18:17:57 nixos su[7889]: Successful su for postgres by root
Feb 20 18:17:57 nixos su[7889]: pam_unix(su:session): session opened for user postgres by (uid=0)
Feb 20 18:17:57 nixos postgresql-pre-start[7882]: bash: initdb: command not found
Feb 20 18:17:57 nixos su[7889]: pam_unix(su:session): session closed for user postgres
Feb 20 18:17:57 nixos systemd[1]: postgresql.service: control process exited, code=exited status=127
Feb 20 18:17:57 nixos systemd[1]: Failed to start PostgreSQL Server.
Feb 20 18:17:57 nixos systemd[1]: Unit postgresql.service entered failed state.
Feb 20 18:17:57 nixos systemd[1]: postgresql.service failed.
warning: error(s) occured while switching to the new configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment