Hope this is helpful, but I've experienced the same problem, with a brand-new install of 7.10. Postgres worked initially, and then started (silently) not starting. It looks like the same config file path issue, but not sure. I did the complete purge (log below) but the problem persists...
[EMAIL PROTECTED]:~ # apt-get remove --purge libpq5 postgresql postgresql-8.2 postgresql-client-8.2 postgresql-client-common postgresql-common postgresql-plpython-8.2 Reading package lists... Done Building dependency tree Reading state information... Done Package postgresql-plpython-8.2 is not installed, so not removed The following packages were automatically installed and are no longer required: libneon26 libapr1 libpcre3 python-cheetah ssl-cert python-pysqlite2 python-flup python-clearsilver Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: apache2* apache2-mpm-worker* apache2-utils* apache2.2-common* buildix* cruisecontrol* libapache2-mod-fastcgi* libapache2-mod-jk* libapache2-svn* libaprutil1* libpq5* libsvn1* mingle* postgresql* postgresql-8.2* postgresql-client-8.2* postgresql-client-common* postgresql-common* python-subversion* subversion* trac* 0 upgraded, 0 newly installed, 21 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 34.7MB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 39464 files and directories currently installed.) Removing buildix ... Site default installed; run /etc/init.d/apache2 reload to enable. Site buildix disabled; run /etc/init.d/apache2 reload to fully disable. * Reloading web server config apache2 17829 apache2: apr_sockaddr_info_get() failed for none apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ...done. Purging configuration files for buildix ... * Reloading web server config apache2 17829 apache2: apr_sockaddr_info_get() failed for none apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ...done. Removing apache2 ... Removing libapache2-mod-jk ... Module jk disabled; run /etc/init.d/apache2 force-reload to fully disable. Purging configuration files for libapache2-mod-jk ... Removing apache2-mpm-worker ... * Stopping web server apache2 apache2: apr_sockaddr_info_get() failed for none apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ...done. Removing libapache2-mod-fastcgi ... Module fastcgi disabled; run /etc/init.d/apache2 force-reload to fully disable. Purging configuration files for libapache2-mod-fastcgi ... dpkg - warning: while removing libapache2-mod-fastcgi, directory `/var/lib/apache2/fastcgi' not empty so not removed. dpkg - warning: while removing libapache2-mod-fastcgi, directory `/var/lib/apache2' not empty so not removed. Removing libapache2-svn ... Module dav_svn disabled; run /etc/init.d/apache2 force-reload to fully disable. Purging configuration files for libapache2-svn ... Removing apache2.2-common ... No apache MPM package installed Purging configuration files for apache2.2-common ... dpkg - warning: while removing apache2.2-common, directory `/var/log/apache2' not empty so not removed. dpkg - warning: while removing apache2.2-common, directory `/etc/apache2/sites-available' not empty so not removed. dpkg - warning: while removing apache2.2-common, directory `/etc/apache2' not empty so not removed. Removing apache2-utils ... Removing cruisecontrol ... Stopping Cruise Control (process 18069)... Purging configuration files for cruisecontrol ... dpkg - warning: while removing cruisecontrol, directory `/var/spool/cruisecontrol/logs' not empty so not removed. dpkg - warning: while removing cruisecontrol, directory `/var/spool/cruisecontrol' not empty so not removed. Removing trac ... Removing python-subversion ... Purging configuration files for python-subversion ... Removing subversion ... Purging configuration files for subversion ... Removing libsvn1 ... Purging configuration files for libsvn1 ... Removing libaprutil1 ... Purging configuration files for libaprutil1 ... Removing postgresql ... Removing mingle ... * Stopping Mingle server... ...done. Purging configuration files for mingle ... dpkg - warning: while removing mingle, directory `/usr/share/mingle/log' not empty so not removed. dpkg - warning: while removing mingle, directory `/usr/share/mingle' not empty so not removed. Removing postgresql-8.2 ... * Stopping PostgreSQL 8.2 database server ...done. Purging configuration files for postgresql-8.2 ... Removing postgresql-client-8.2 ... Removing libpq5 ... Purging configuration files for libpq5 ... Removing postgresql-common ... Purging configuration files for postgresql-common ... dpkg - warning: while removing postgresql-common, directory `/var/lib/postgresql' not empty so not removed. dpkg - warning: while removing postgresql-common, directory `/var/log/postgresql' not empty so not removed. Removing postgresql-client-common ... Purging configuration files for postgresql-client-common ... Processing triggers for libc6 ... ldconfig deferred processing now taking place [EMAIL PROTECTED]:~ # rm -rf /var/lib/postgresql/ [EMAIL PROTECTED]:~ # rm -rf /var/log/postgresql/ [EMAIL PROTECTED]:~ # rm -rf /usr/share/mingle/ [EMAIL PROTECTED]:~ # [EMAIL PROTECTED]:~ # [EMAIL PROTECTED]:~ # [EMAIL PROTECTED]:~ # apt-get install mingle buildix postgresql-8.2 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: apache2 apache2-mpm-worker apache2-utils apache2.2-common cruisecontrol libapache2-mod-fastcgi libapache2-mod-jk libapache2-svn libaprutil1 libpq5 libsvn1 postgresql-client-8.2 postgresql-client-common postgresql-common python-subversion subversion trac Suggested packages: apache2-doc tomcat4 tomcat5 tomcat5.5 libapache-mod-jk-doc db4.4-util oidentd ident-server python-subversion-dbg subversion-tools enscript python-docutils libapache2-mod-python php5-cli python-psycopg2 python-pgsql python-mysqldb Recommended packages: python-setuptools The following NEW packages will be installed: apache2 apache2-mpm-worker apache2-utils apache2.2-common buildix cruisecontrol libapache2-mod-fastcgi libapache2-mod-jk libapache2-svn libaprutil1 libpq5 libsvn1 mingle postgresql-8.2 postgresql-client-8.2 postgresql-client-common postgresql-common python-subversion subversion trac 0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/67.6MB of archives. After unpacking 34.5MB of additional disk space will be used. Do you want to continue [Y/n]? Preconfiguring packages ... Selecting previously deselected package libpq5. (Reading database ... 33556 files and directories currently installed.) Unpacking libpq5 (from .../libpq5_8.2.6-0ubuntu0.7.10.1_i386.deb) ... Selecting previously deselected package libaprutil1. Unpacking libaprutil1 (from .../libaprutil1_1.2.7+dfsg-2build1_i386.deb) ... Selecting previously deselected package apache2-utils. Unpacking apache2-utils (from .../apache2-utils_2.2.4-3ubuntu0.1_i386.deb) ... Selecting previously deselected package apache2.2-common. Unpacking apache2.2-common (from .../apache2.2-common_2.2.4-3ubuntu0.1_i386.deb) ... Selecting previously deselected package apache2-mpm-worker. Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.2.4-3ubuntu0.1_i386.deb) ... Selecting previously deselected package apache2. Unpacking apache2 (from .../apache2_2.2.4-3ubuntu0.1_all.deb) ... Selecting previously deselected package libsvn1. Unpacking libsvn1 (from .../libsvn1_1.4.4dfsg1-1ubuntu3_i386.deb) ... Selecting previously deselected package subversion. Unpacking subversion (from .../subversion_1.4.4dfsg1-1ubuntu3_i386.deb) ... Selecting previously deselected package python-subversion. Unpacking python-subversion (from .../python-subversion_1.4.4dfsg1-1ubuntu3_i386.deb) ... Selecting previously deselected package trac. Unpacking trac (from .../archives/trac_0.10.4-2_all.deb) ... Selecting previously deselected package cruisecontrol. Unpacking cruisecontrol (from .../cruisecontrol_2.7.2-5_all.deb) ... Selecting previously deselected package libapache2-mod-jk. Unpacking libapache2-mod-jk (from .../libapache2-mod-jk_1%3a1.2.23-3_i386.deb) ... Selecting previously deselected package libapache2-svn. Unpacking libapache2-svn (from .../libapache2-svn_1.4.4dfsg1-1ubuntu3_i386.deb) ... Selecting previously deselected package libapache2-mod-fastcgi. Unpacking libapache2-mod-fastcgi (from .../libapache2-mod-fastcgi_2.4.2-8build1_i386.deb) ... Selecting previously deselected package buildix. Unpacking buildix (from .../buildix_2.0-42_all.deb) ... Selecting previously deselected package postgresql-client-common. Unpacking postgresql-client-common (from .../postgresql-client-common_78_all.deb) ... Selecting previously deselected package postgresql-client-8.2. Unpacking postgresql-client-8.2 (from .../postgresql-client-8.2_8.2.6-0ubuntu0.7.10.1_i386.deb) ... Selecting previously deselected package postgresql-common. Unpacking postgresql-common (from .../postgresql-common_78_all.deb) ... Selecting previously deselected package postgresql-8.2. Unpacking postgresql-8.2 (from .../postgresql-8.2_8.2.6-0ubuntu0.7.10.1_i386.deb) ... Selecting previously deselected package mingle. Unpacking mingle (from .../mingle_1.1.5832-3_all.deb) ... Setting up libpq5 (8.2.6-0ubuntu0.7.10.1) ... Setting up libaprutil1 (1.2.7+dfsg-2build1) ... Setting up apache2-utils (2.2.4-3ubuntu0.1) ... Setting up apache2.2-common (2.2.4-3ubuntu0.1) ... Module alias installed; run /etc/init.d/apache2 force-reload to enable. Module autoindex installed; run /etc/init.d/apache2 force-reload to enable. Module dir installed; run /etc/init.d/apache2 force-reload to enable. Module env installed; run /etc/init.d/apache2 force-reload to enable. Module mime installed; run /etc/init.d/apache2 force-reload to enable. Module negotiation installed; run /etc/init.d/apache2 force-reload to enable. Module setenvif installed; run /etc/init.d/apache2 force-reload to enable. Module status installed; run /etc/init.d/apache2 force-reload to enable. Module auth_basic installed; run /etc/init.d/apache2 force-reload to enable. Module authz_default installed; run /etc/init.d/apache2 force-reload to enable. Module authz_user installed; run /etc/init.d/apache2 force-reload to enable. Module authz_groupfile installed; run /etc/init.d/apache2 force-reload to enable. Module authn_file installed; run /etc/init.d/apache2 force-reload to enable. Module authz_host installed; run /etc/init.d/apache2 force-reload to enable. Setting up apache2-mpm-worker (2.2.4-3ubuntu0.1) ... * Starting web server apache2 apache2: apr_sockaddr_info_get() failed for none apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ...done. Setting up apache2 (2.2.4-3ubuntu0.1) ... Setting up libsvn1 (1.4.4dfsg1-1ubuntu3) ... Setting up subversion (1.4.4dfsg1-1ubuntu3) ... Setting up python-subversion (1.4.4dfsg1-1ubuntu3) ... Setting up trac (0.10.4-2) ... Setting up cruisecontrol (2.7.2-5) ... CruiseControl will NOT work with gcj To switch your default JVM to Sun Starting Cruise Control...started. Setting up libapache2-mod-jk (1:1.2.23-3) ... Module jk installed; run /etc/init.d/apache2 force-reload to enable. Setting up libapache2-svn (1.4.4dfsg1-1ubuntu3) ... Enabling dav as a dependency Module dav installed; run /etc/init.d/apache2 force-reload to enable. Module dav_svn installed; run /etc/init.d/apache2 force-reload to enable. Setting up libapache2-mod-fastcgi (2.4.2-8build1) ... Module fastcgi installed; run /etc/init.d/apache2 force-reload to enable. Setting up buildix (2.0-42) ... Site buildix installed; run /etc/init.d/apache2 reload to enable. This module is already enabled! This module is already enabled! This module is already enabled! Module rewrite installed; run /etc/init.d/apache2 force-reload to enable. Site default disabled; run /etc/init.d/apache2 reload to fully disable. Stopping Cruise Control (process 19337)... Starting Cruise Control...started. * Reloading web server config apache2 19212 apache2: apr_sockaddr_info_get() failed for none apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName ...done. Setting up postgresql-client-common (78) ... Setting up postgresql-client-8.2 (8.2.6-0ubuntu0.7.10.1) ... Setting up postgresql-common (78) ... /bin/df: `/var/lib/postgresql/8.2/main': No such file or directory Setting up postgresql-8.2 (8.2.6-0ubuntu0.7.10.1) ... java.lang.NoClassDefFoundError: mx4j.log.Log4JLogger at java.lang.Class.initializeClass(libgcj.so.81) at net.sourceforge.cruisecontrol.jmx.CruiseControlControllerAgent.<init>(CruiseControlControllerAgent.java:93) at net.sourceforge.cruisecontrol.Main.startJmxAgent(Main.java:151) at net.sourceforge.cruisecontrol.Main.start(Main.java:132) at net.sourceforge.cruisecontrol.launch.Launcher.run(Launcher.java:244) at net.sourceforge.cruisecontrol.launch.Launcher.main(Launcher.java:108) Caused by: java.lang.NullPointerException at java.lang.Class.initializeClass(libgcj.so.81) ...5 more * Starting PostgreSQL 8.2 database server ...done. Setting up mingle (1.1.5832-3) ... Adding system user `mingle' (UID 104) ... Adding new group `mingle' (GID 116) ... Adding new user `mingle' (UID 104) with group `mingle' ... Creating home directory `/home/mingle' ... * Starting Mingle server... * Starting PostgreSQL 8.2 database server ...done. psql: 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"? * Creating Mingle database... ...done. testing JVM in /usr ... testing JVM in /usr/lib/jvm/java-1.5.0-sun ... Starting MingleServer ...done. nohup: appending output to `nohup.out' Processing triggers for libc6 ... ldconfig deferred processing now taking place [EMAIL PROTECTED]:~ # psql psql: 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"? [EMAIL PROTECTED]:~ # /etc/init.d/postgresql-8.2 Usage: /etc/init.d/postgresql-8.2 {start|stop|restart|reload|force-reload|status|autovac-start|autovac-stop|autovac-restart} [EMAIL PROTECTED]:~ # /etc/init.d/postgresql-8.2 start * Starting PostgreSQL 8.2 database server ...done. [EMAIL PROTECTED]:~ # -- postgresql 8.2 won't start, init.d-functions uses wrong paths https://bugs.launchpad.net/bugs/175868 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs