Hello,

I am a new user to Django and have trouble executing the "python
manage.py syncdb" command.  I am using a server/client configuration,
where the database is setting on a different Linux (CentOS) server
than the web server (each one is being hosted in VMWare VM).  The
"python manage.py syncdb" command used to work for me, but since I
moved the VMs to a different host machine (after which I updated the
ip addresses in my settings.py) it would not work.  I get the
following error message:

r...@presentation> python manage.py syncdb
Installing Custom SQL for datamgr: datamgr/sql/custom/
revisions.postgresql.sql
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

I tried to run the psql application from the command line and it works
just fine (I am able to connect to the DB server and run queries).

I would appreciate any help that you can provide.

Thanks,
Nehad

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to