Install Errors/Unix Socket Directory
From DAViCal Wiki
The PostgreSQL default for the unix_socket_directory variable is /tmp. DAViCal expects the Debian path of /var/run/postgresql. Other distributions and bugs in Debain/Ubuntu can lead you to get the wrong path. Change the unix_socket_directory variable in /etc/postgresql/8.4/main/postgresql.conf.
The error message that would be triggered by this would look something like:
DBI connect('dbname=davical','davical_dba',...) failed: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/davical/dba/update-davical-database line 244
Can't connect to database davical at /usr/share/davical/dba/update-davical-database line 244

