Running Unbutu 11.10.

The power was disconnected from my computer while it was running when I was still able to access localhost/admin/ in my browser prior.

I boot my computer back up and go to the directory where my site is set up and run 'python manage.py runserver' to start Django back up (assuming it also starts PostgreSQL as well). I point to http://127.0.0.1:8000/admin/ in my browser and receive the following message:

could not connect to server: Connection refused
    Is the server running locally and accepting
    connections on Unix domain socket "/home/david/webdev/Bitnami/djangostack-1.3.1-1/postgresql/.s.PGSQL.5433"?

Note: I am using port 5433 for PostgreSQL with this Bitnami installation.

Do I need to manually start Postgres? Did I forget to start the daemon? If so, how would I do that? Your help is greatly appreciated.

asked 23 Jan '12, 15:30

wuwoot's gravatar image

wuwoot
36447
accept rate: 100%


Okay, so after enough tears poring over why, I figured out what the issues was. PostgreSQL needed to be started manually. And to do this I had to use the following command:

./ctl.sh start postgresql

The ./ indicates the directory in which ctl.sh is found (~/Bitnami/djangostack-1.3.1-1/postgresql/scripts/). I hope this solves a lot of headache for other beginners.

link

answered 23 Jan '12, 23:17

wuwoot's gravatar image

wuwoot
36447
accept rate: 100%

edited 23 Jan '12, 23:19

1

You can also manage all the BitNami servers using the "manager-linux.run" graphical application or running "ctlscript.sh start".

(24 Jan '12, 10:43) Beltran Rueda ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×59
×31

Asked: 23 Jan '12, 15:30

Seen: 989 times

Last updated: 24 Jan '12, 10:43

powered by BitNami OSQA