Report this

What is the reason for this report?

Anyone has any experience with Python and Postgres, specifically Reddit Code?

Posted on June 29, 2013

Hello,

I’m trying to install Reddit Code (https://github.com/reddit/reddit) on Ubuntu 12.04.

I already installed it locally on my laptop and it worked, the process was smooth.

But now that I’m trying it on a live node, I keep getting errors regarding Cassandra. It says that Cassandra cannot connect to localhost port 9160. I didn’t have that problem when I worked with locally.

Reddit Code requires a list of dependencies for it to work: https://github.com/reddit/reddit/wiki/Dependencies They even have an automated installation script for Ubuntu 12.04: https://github.com/reddit/reddit/wiki/reddit-install-script-for-Ubuntu

But I guess you need to install the dependencies manually first before you run that script.

Thank you for your time.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Yes, it seems that it’s working. <br>Thank you.

Sorry the domain was set to a different IP address, I fixed it and now I’m getting this error. <br> <br>AllServersUnavailable: An attempt was made to connect to each of the servers twice, but none of the attempts succeeded. The last failure was TTransportException: Could not connect to 127.0.0.1:9160 <br> <br>http://37.139.5.27/

I seem to be getting the same exact issues on http://192.241.239.6/ <br> <br>Same exact error, same exact netstat output. I’m also already on the 1 gig plan. Any ideas?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.