A "sudo /etc/init.d/postgresql-8.3 restart" sais

 * Restarting PostgreSQL 8.3 database server
* Error: Invalid data directory

and "pg_lsclusters" sais

Version Cluster   Port Status Owner    Data directory                     Log 
file
Error: Invalid data directory

Then I check /etc/postgresql/8.3/main/postgresql.conf
and foun that debconf do not configure this file because it only contains
---begin of /etc/postgresql/8.3/main/postgresql.conf 
------------------------------------
port = 5432
log_line_prefix = '%t '
ssl = true
external_pid_file = '/var/run/postgresql/8.3-main.pid'
---end of /etc/postgresql/8.3/main/postgresql.conf 
------------------------------------

Then I add to the  /etc/postgresql/8.3/main/postgresql.conf

data_directory = '/var/lib/postgresql/8.3/main'

and after "sudo /etc/init.d/postgresql-8.3 start" my postgre started
without any errors

-- 
package postgresql-8.3 8.3.3-0ubuntu0.8.04 failed to install/upgrade: 
underproces post-installation script returned 1
https://bugs.launchpad.net/bugs/241553
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to