{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/1521","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/1521/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/1521/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/1521/events","html_url":"https://github.com/Homebrew/brew/issues/1521","id":189572628,"number":1521,"title":"postgresql fails to start when attempt uses launchd via brew services","user":{"login":"rails-smith","id":10664317,"avatar_url":"https://avatars.githubusercontent.com/u/10664317?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-smith","html_url":"https://github.com/rails-smith","followers_url":"https://api.github.com/users/rails-smith/followers","following_url":"https://api.github.com/users/rails-smith/following{/other_user}","gists_url":"https://api.github.com/users/rails-smith/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-smith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-smith/subscriptions","organizations_url":"https://api.github.com/users/rails-smith/orgs","repos_url":"https://api.github.com/users/rails-smith/repos","events_url":"https://api.github.com/users/rails-smith/events{/privacy}","received_events_url":"https://api.github.com/users/rails-smith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-16T03:21:03Z","updated_at":"2016-11-16T23:11:48Z","closed_at":null,"body":"After a successful installation of postgres 9.5.4_1\r\n\r\nStarting postgres with a direct command starts the server as expected:\r\npg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start\r\n\r\nTrying to start with launchd services through the brew interface:\r\n$ brew services start postgresql\r\n==> Successfully started `postgresql` (label: homebrew.mxcl.postgresql)\r\n\r\nsystem.log:\r\n\r\nNov 15 19:14:19 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): This service is defined to be constantly running and is inherently inefficient.\r\nNov 15 19:14:19 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql[16325]): Service could not initialize: 15G1108: xpcproxy + 12684 [1462][F7717708-ACF7-307D-B04E-998DFC36598F]: 0xd\r\nNov 15 19:14:19 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.\r\n\r\nNov 15 19:14:29 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql[16357]): Service could not initialize: 15G1108: xpcproxy + 12684 [1462][F7717708-ACF7-307D-B04E-998DFC36598F]: 0xd\r\nNov 15 19:14:29 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.\r\nNov 15 19:14:39 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql[16362]): Service could not initialize: 15G1108: xpcproxy + 12684 [1462][F7717708-ACF7-307D-B04E-998DFC36598F]: 0xd\r\nNov 15 19:14:39 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.\r\nNov 15 19:14:49 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql[16364]): Service could not initialize: 15G1108: xpcproxy + 12684 [1462][F7717708-ACF7-307D-B04E-998DFC36598F]: 0xd\r\nNov 15 19:14:49 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/261103102","html_url":"https://github.com/Homebrew/brew/issues/1521#issuecomment-261103102","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/1521","id":261103102,"user":{"login":"rails-smith","id":10664317,"avatar_url":"https://avatars.githubusercontent.com/u/10664317?v=3","gravatar_id":"","url":"https://api.github.com/users/rails-smith","html_url":"https://github.com/rails-smith","followers_url":"https://api.github.com/users/rails-smith/followers","following_url":"https://api.github.com/users/rails-smith/following{/other_user}","gists_url":"https://api.github.com/users/rails-smith/gists{/gist_id}","starred_url":"https://api.github.com/users/rails-smith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails-smith/subscriptions","organizations_url":"https://api.github.com/users/rails-smith/orgs","repos_url":"https://api.github.com/users/rails-smith/repos","events_url":"https://api.github.com/users/rails-smith/events{/privacy}","received_events_url":"https://api.github.com/users/rails-smith/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T23:11:48Z","updated_at":"2016-11-16T23:11:48Z","body":"Hi Mike,\n\nThank you for your time to respond.\n\nI am unable to follow the procedure on the previous instance of the server\ninstallation, as it is now permanently removed from the file system.\n\nThe behavior was consistently the same on both macOS 10.11 and 10.12.\n(sorry for not mentioning the OS versions affected)\n\nIndeed, one of my first sentences in my report was the fact the postgresql\ndatabase runs flawlessly when started manually. Maybe you missed that. I\nused it with a a few local rails applications that are under development.\n\nthx very much!\n\n\n\n\nOn Wed, Nov 16, 2016 at 12:29 AM, Mike McQuaid <notifications@github.com>\nwrote:\n\n> Sorry but you have not followed the requested steps on the\n> Troubleshooting page\n> <https://github.com/Homebrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting>\n>\n> Please follow (all of) these steps and post the information here so we can\n> help you with your problem.\n>\n> Also, please try to run it outside of launchctl and tell me if it works.\n>\n> Thanks!\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/Homebrew/brew/issues/1521#issuecomment-260884196>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AKK5fZLHTUr65LXKDpF2EEfsdmDuEoHyks5q-r7cgaJpZM4KzTgR>\n> .\n>\n"}}
{"actor":{"display_login":"rails-smith"}}