Skip to content

Upstream Packaging: /bin/bash: initdb: command not found #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
noelmcloughlin opened this issue Sep 14, 2017 · 3 comments
Closed

Upstream Packaging: /bin/bash: initdb: command not found #160

noelmcloughlin opened this issue Sep 14, 2017 · 3 comments

Comments

@noelmcloughlin
Copy link
Contributor

noelmcloughlin commented Sep 14, 2017

Deploy of postfix 9.6 on Ubuntu fails.

Replication

Output:


      ID: postgresql-client-libs
Function: pkg.installed
  Result: True
 Comment: 2 targeted packages were installed/updated.
 Started: 22:29:56.822971
Duration: 14458.556 ms
 Changes:   
          ----------
          libpq-dev:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          libpq5:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          postgresql-client:
              ----------
              new:
                  1
              old:
          postgresql-client-9.6:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          postgresql-client-common:
              ----------
              new:
                  179
              old:

      ID: postgresql-server
Function: pkg.installed
  Result: True
 Comment: 3 targeted packages were installed/updated.
 Started: 22:30:11.289041
Duration: 31987.267 ms
 Changes:   
          ----------
          postgresql-9.6:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          postgresql-common:
              ----------
              new:
                  179
              old:
          postgresql-contrib:
              ----------
              new:
                  9.6+179
              old:
          postgresql-contrib-9.6:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          postgresql-plpython:
              ----------
              new:
                  1
              old:
          postgresql-plpython-9.6:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          sysstat:
              ----------
              new:
                  11.4.3-1
              old:

      ID: postgresql-cluster-prepared
Function: cmd.run
    Name: initdb --pgdata=/var/lib/pgsql/data
  Result: False
 Comment: Command "initdb --pgdata=/var/lib/pgsql/data" run
 Started: 22:30:43.280835
Duration: 289.877 ms
 Changes:   
          ----------
          pid:
              13734
          retcode:
              127
          stderr:
              /bin/bash: initdb: command not found
          stdout:
@noelmcloughlin
Copy link
Contributor Author

Ubuntu path is /usr/lib/postgresql/9.6/bin/initdb

@noelmcloughlin
Copy link
Contributor Author

See #161

@noelmcloughlin noelmcloughlin changed the title Ubuntu: /bin/bash: initdb: command not found Upstream Packaging: /bin/bash: initdb: command not found Jan 28, 2018
@noelmcloughlin
Copy link
Contributor Author

Handling in saltstack/salt#46615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant