Advertisement
Kovah

Untitled

Aug 8th, 2016
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. I, [2016-08-08T20:30:41.716904 #15] INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main
  2. I, [2016-08-08T20:30:41.718112 #15] INFO -- : > sleep 5
  3. 2016-08-08 20:30:43 UTC [47-1] LOG: database system shutdown was interrupted; last known up at 2016-08-08 20:21:14 UTC
  4. I, [2016-08-08T20:30:46.719401 #15] INFO -- :
  5. I, [2016-08-08T20:30:46.719671 #15] INFO -- : > su postgres -c 'createdb discourse' || true
  6. 2016-08-08 20:30:46 UTC [51-1] postgres@postgres FATAL: the database system is starting up
  7. 2016-08-08 20:30:46 UTC [52-1] postgres@template1 FATAL: the database system is starting up
  8. createdb: could not connect to database template1: FATAL: the database system is starting up
  9. I, [2016-08-08T20:30:46.799160 #15] INFO -- :
  10. I, [2016-08-08T20:30:46.799347 #15] INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
  11. 2016-08-08 20:30:46 UTC [63-1] postgres@discourse FATAL: the database system is starting up
  12. psql: FATAL: the database system is starting up
  13. I, [2016-08-08T20:30:46.887566 #15] INFO -- :
  14. I, [2016-08-08T20:30:46.887762 #15] INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
  15. 2016-08-08 20:30:46 UTC [74-1] postgres@discourse FATAL: the database system is starting up
  16. psql: FATAL: the database system is starting up
  17. I, [2016-08-08T20:30:46.977188 #15] INFO -- :
  18. I, [2016-08-08T20:30:46.977476 #15] INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
  19. 2016-08-08 20:30:47 UTC [85-1] postgres@discourse FATAL: the database system is starting up
  20. psql: FATAL: the database system is starting up
  21. I, [2016-08-08T20:30:47.071930 #15] INFO -- :
  22. I, [2016-08-08T20:30:47.072182 #15] INFO -- : Terminating async processes
  23. I, [2016-08-08T20:30:47.072233 #15] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 44
  24. 2016-08-08 20:30:47 UTC [44-1] LOG: received fast shutdown request
  25. I, [2016-08-08T20:30:57.072966 #15] INFO -- : HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.5/bin/postmaster -D /etc/postgresql/9.5/main pid:44 did not terminate cleanly, forcing termination!
  26.  
  27.  
  28. FAILED
  29. --------------------
  30. Pups::ExecError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return #<Process::Status: pid 75 exit 2>
  31. Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
  32. exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"
  33. 74a71d2e5dbe9c26b7312d0dc7e69f523c56440c125bc60dedc7806d0f719d5a
  34. ** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement