[Kde-pim] Akonadi postgresql backend not working

GEO 1g2e3o4 at gmail.com
Thu May 1 20:28:26 BST 2014


On Thursday 01 May 2014 19:21:45 I wrote:
> On Tuesday 22 April 2014 14:50:02 Daniel Vrátil wrote:
> > I have attached a patch for DbConfigPostgresql that does so, if you can
> > test it, please do.
> 
> Hi,
> 
> Sorry it took so long, I have been busy.
> I have recompiled Akonadi with your patch, so in the following we talk about
> the patched version.
> 
> Remember when we had a conversation on IRC, regarding the TCP issues, when
> already one instance of postgres was running?
> Because those issues complement it each other disjunctly:
> 
> Suppose all akonadi/kmail settings are purged: (cd && find | grep akonadi |
> xargs rm -rf  && find | grep mail | xargs rm -rf) and postgres is not
> running (sudo killall -9 postgres), because on Ubuntu postgres if installed
> autostarts automatically on boot.
> 
> Then we set the postgres internal backend for akonadi and run "akonadictl
> start". We will get the output as attached in 1.txt.
> 
> Now akonadi is not running, but postgres is running!
> If we run akonadictl start now, we will get the issue we discussed in IRC,
> output attached as 2.txt.
> 
> Setting listen_addresses = ''  in
> .local/share/akonadi/db_data/postgresql.conf, removing everything apart the
> [%General] section in .config/akonadi/akonadiserverrc and starting akonadi
> again works, output attached as 3.txt.
> 
> To conclude a normal user will never get the postgres backend working on
> Ubuntu 14.04, because if no postgres is running, postgres refuses connection
> and if postgres is running you will get the TCP conflict.
> Remember we are talking here about stock 14.04 without any strange
> modifications to either Akonadi or Postgres.
> 
> I know you offered me a patch once to fix the TCP conflict, but if I
> remember correctly it did not work, but please link it again, as I have
> lost it :-(.
> 
> Anway the patch you provided in the last mail should be merged!
> 
> I hope you can help me sort this issue out!
> I am willing to recompile and test stuff as well as providing configuration
> stuff you need.
> 
> Thanks

It seems 2.txt was captured when the autostarted postgres was running, sorry 
for the confusion. 

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list