Skip to content
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

Getting error on startup #4

Open
saokar opened this issue Sep 8, 2013 · 5 comments
Open

Getting error on startup #4

saokar opened this issue Sep 8, 2013 · 5 comments

Comments

@saokar
Copy link

saokar commented Sep 8, 2013

I am getting the following error when running "foreman start".
Any ideas why? I followed the instructions in https://github.com/startup-class/bitstarter-leaderboard for setup.

[ubuntu@ip-10-161-97-136:~/bitstarter-leaderboard]$foreman start
15:37:12 web.1 | started with pid 2977
15:37:13 web.1 | /home/ubuntu/bitstarter-leaderboard/web.js:94
15:37:13 web.1 | throw err;
15:37:13 web.1 | ^
15:37:13 web.1 | error: password authentication failed for user "ubuntu"
15:37:13 web.1 | exited with code 8
15:37:13 system | sending SIGTERM to all processes
SIGTERM received

@balajis
Copy link
Contributor

balajis commented Sep 8, 2013

Did you run setup-ssjs.sh and are you running on an Ubuntu 12.04 EC2 instance? You might not have set up the bitdb properly.

@balajis
Copy link
Contributor

balajis commented Sep 8, 2013

Try logging into an EC2 instance as per the notes and running setup-ssjs.sh. I'd need to modify the code to make it work on an arbitrary OS.

@saokar
Copy link
Author

saokar commented Sep 8, 2013

Yes, I am using Ubuntu 12.04 instance. Followed these instructions,

curl https://raw.github.com/startup-class/setup/master/setup.sh | bash
exit # and then log in again
git clone https://github.com/startup-class/bitstarter-leaderboard.git
cd bitstarter-leaderboard
./setup-ssjs.sh

Is the error relating to postgres password authentication?

@ghost
Copy link

ghost commented Sep 8, 2013

Try out this:

sudo su postgres -c psql
alter user ubuntu with password 'bitpass0';

You should see ALTER ROLE after this, and try to run foreman again.

@saokar
Copy link
Author

saokar commented Sep 8, 2013

Thanks netlovers. Running the alter sql fixed the problem.

Thanks everybody for helping fix this issue.

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

2 participants