Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-31-2013, 04:27 AM   #1
LQ Newbie
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
postgresql service start error

Originally Posted by Anisha Kaul View Post
Execute the following commands in a sequential order and post their outputs:

initdb --pgdata=/var/lib/pgsql/data

I have this:
PHP Code:
root@364446 [~]#  initdb --pgdata=/var/lib/pgsql/data
The program "postgres" was found by "/usr/bin/initdb"
but was not the same version as initdb.
Check your installation.
root@364446 [~]
How I can repair ?

Old 05-31-2013, 04:41 AM   #2
LQ Newbie
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
ah!, I am in centOs 6.4
Old 06-02-2013, 08:56 AM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The two programs are of different version. How have you installed postgres? Does it come from your distribution's packages?
Old 06-02-2013, 09:32 AM   #4
LQ Newbie
Registered: May 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled

I install from cPanel ( by default 8.4 )
After install RPM of 9.2 and when I try initdb --pgdata=/var/lib/pgsql/data show this error.

The correct is the line initdb --pgdata=/var/lib/pgsql/data run withot error?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cannot Start Postgresql Service in RHEL 6 griffey Red Hat 2 05-18-2012 07:38 AM
[SOLVED] Postgresql service does not start when boot thach.trung.ngoc Slackware 2 03-26-2012 07:00 AM
postgresql service failed to start or stop purohit.mayur Linux - Newbie 5 01-07-2010 04:36 AM
boot up error on /var/log/messages [server.ERROR] cannot start systen DBus service junust Linux - General 0 08-04-2009 05:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration