Hi Martin -- in this case, I was installing some packages along with postgresql which had this Java dependency, so ignore those -- the reason the output looks like it is connected to postgresql is that it happened to print out as postgres was starting. I do think it was the same bug, as it (similarly), was looking for the configuration in a different place than it lived. I never had the undefined/invalid locale problem the other poster had, however.
Unfortunately (but fortunately for me), I no longer have the problem, as I followed the advice one of the commenters in the bug suggested to purge again, install postgresql-8.1, and the upgrade. That worked for me, and now my postgresql-8.2 instance starts and runs fine (the steps referenced were here: ). One observation, however, is that when you get into this situation, "/etc/init.d/postgresql-8.2 start" silently fails -- there is no postgres process running afterwards, presumably because it could find no cluster to start? It seems like that would be a bug worth fixing, to at least tell the user that no instance could be started if people get into this situation. Regards, Mark Martin Pitt wrote: > Hi Mark, > > Mark Towfiq [2008-02-15 2:41 -0000]: > >> 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. >> > > This looks weird. What does the java stuff have to do here? Anyway, > this seems to be a completely different bug. Can you please open a new > one against postgresql-common and give me the output of > > pg_lsclusters > sudo sh -ex /var/lib/dpkg/info/postgresql-8.2.postinst configure > > Thank you! > > -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
