PostgreSQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesPostgreSQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 27th, 2013, 07:16 PM
llanitedave llanitedave is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Location: rural Nevada
Posts: 6 llanitedave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 15 sec
Reputation Power: 0
Why do I have postgres-xc?

I'm just taking the plunge into Postgresql. I'm using Kubuntu, and after reading the documentation as carefully as I could, I used the Muon Package Manager to download Postgresql 9.1.8

When I attempted to use initdb for the first time, the error message I got was:
initdb: Postgres-XC node name is mandatory

This was nowhere in the site documentation, so I figured there must be some Ubuntu quirk at work. I uninstalled everything, including the postgresql and postgres-xc folders that I found in /usr/...

Then I got the 9.2.3 source code and installed using ./configure --with-python --enable debug. I built it with make world

Once again, I use initdb for the first time, and I get the same message.

I've got nothing against postgres-xc. I'm sure it's a wonderful tool, but from the limited reading I've done so far it seems to be for very large high-performance installations. I'm just a newbie trying to learn the basics, and I want to be able to use the standard documentation without some advanced add-on with its own idiosyncracies.

Is there some way I can get rid of postgres-xc and leave myself with a more standard installation?

Reply With Quote
  #2  
Old February 28th, 2013, 09:47 PM
llanitedave llanitedave is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Location: rural Nevada
Posts: 6 llanitedave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 15 sec
Reputation Power: 0
Just to provide more detail:

I attempted to remove postgres-xc by invoking

$ sudo apt-get remove postgres-xc

That started fine, but then failed with the following message:

Removing postgres-xc ...
* Stopping Postgres-XC datanodes
invoke-rc.d: initscript postgres-xc, action "stop" failed.
dpkg: error processing postgres-xc (--remove):
subprocess installed pre-removal script returned error exit status 1


I also tried using

$ sudo dpkg --purge postgres-xc


No better luck there. My error message reads

* Stopping Postgres-XC datanodes
invoke-rc.d: initscript postgres-xc, action "stop" failed.
dpkg: error processing postgres-xc (--purge):
subprocess installed pre-removal script returned error exit status 1


So the OS was unable to stop the process prior to removal.

I'm at my half-wit's end at the moment, but I'm going to keep fiddling with it.

Reply With Quote
  #3  
Old March 3rd, 2013, 10:31 PM
llanitedave llanitedave is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Location: rural Nevada
Posts: 6 llanitedave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 15 sec
Reputation Power: 0
Apparently this is already reported as a bug on Ubuntu's bug reporting system. I've added my experience.

It would still be nice to find a workaround. Postgresql remains unusable for me.

Reply With Quote
  #4  
Old March 3rd, 2013, 10:44 PM
llanitedave llanitedave is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2013
Location: rural Nevada
Posts: 6 llanitedave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 15 sec
Reputation Power: 0
Quick update -- I can actually use it on my own local home account. I can't create a data folder that can be shared between accounts.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesPostgreSQL Help > Why do I have postgres-xc?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap