Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 11 of 14 FirstFirst ... 9 10 11 12 13 ... LastLast
Results 151 to 165 of 205
  1. #151
    Member
    Join Date
    Apr 2006
    Posts
    7

    Default

    Installed postgresql works fine but i canot find the option to delete the database..

  2. #152
    Member vqubbes's Avatar
    Join Date
    May 2006
    Posts
    5

    Default

    Hai.. yes i got it

  3. #153
    Member
    Join Date
    Jul 2004
    Posts
    95

    Default

    Should I first compile apache with Postgresql and after /scripts/installpostgres? or first /scripts/installpostgres ? or there are no order necessary ?

    thanks

  4. #154
    Registered User
    Join Date
    Jul 2006
    Posts
    4

    Default Uninstall postgres

    I,ve been following the instruction for install postgres. Can u help my how-to uninstall it? I use WHM on FREE-BSD based.
    Thanks.


    Quote Originally Posted by cpanelnick
    cPanel requires Postgresql 7.3.x or later. 7.2.x will not work.

    ===========================================
    Step 1
    ===========================================
    Upgrade to cPanel 7.4.0 build 45 or later
    ===========================================

    ===========================================
    Step 1a (If you do not have 7.2.x or earlier installed skip this step)
    ===========================================
    Login to a root shell via ssh or the console.

    If you have Postgres 7.2.x installed, backup your databases using pg_dumpall or some other method.

    Move the postgres data directory somewhere else. ie

    mv /var/lib/pgsql /var/lib/pgsql.old
    ===========================================


    ===========================================
    Step 2
    ===========================================
    Login to a root shell via ssh or the console and run

    /scripts/installpostgres
    ===========================================

    ===========================================
    Step 2a (skip this step if you are not upgrading from postgres 7.2 or earlier
    ===========================================
    Restore your sql dump created with pg_dumpall or by some other method using psql or some other method
    ===========================================


    ===========================================
    Step 3
    ===========================================
    Login to Web Host Manager and choose "Postgres Config" under Server Setup.

    Set a postgres password to anything of your choosing. You should avoid using any non-alpha numeric charaters as these cause problems.
    ===========================================


    ===========================================
    Step 4
    ===========================================
    Use the "Postgres Config" option in WHM to install a postgres pg_hba.conf file. You can skip this step if you would like to setup your pg_hba.conf file manually. cPanel should work fine with md5 passwords or plaintext passwords
    ===========================================


    ===========================================
    Step 5
    ===========================================
    Login to cPanel and click on Postgres .. Enjoy!
    ===========================================

    cPanel.net Support Ticket Number:

  5. #155
    Member
    Join Date
    Oct 2006
    Posts
    14

    Default

    thank you SO much for this guide!

    Eskild Schroll-Fleischer

  6. #156
    Member
    Join Date
    Sep 2004
    Location
    Brisbane, Australia
    Posts
    25

    Default

    i get this in my cpbackup

    Grabbing PostgreSQL databases............
    psql: FATAL: Password authentication failed for user "postgres"
    psql: FATAL: Password authentication failed for user "postgres"
    Done
    Grabbing PostgreSQL privileges...psql: FATAL: Password authentication failed for user "postgres"
    psql: FATAL: Password authentication failed for user "postgres"
    Done

    can someone help me?

  7. #157
    Member albatroz's Avatar
    Join Date
    Mar 2003
    Location
    Virtual Orbis / Peru
    Posts
    108

    Exclamation

    I got Postgresql installed and also run the Config part at WHM.
    However I don´t see Postgresql options at Cpanel, only MySQL.
    Anyway Cpanel reports an installed Postgresql version in the
    info box.
    Virtual Orbis Hosting / / Linux Hosting and more ...
    http://www.virtualorbis.com / /

  8. #158
    Member
    Join Date
    Nov 2005
    Posts
    102

    Default

    Quote Originally Posted by dreamwiz View Post
    Just installed through WHM, but cant add databases or users through Cpanel. Just says database added, no user found... and still, no database is added. Runnin latest current.
    Hi,
    so anyone fix this problem?

  9. #159
    Member
    Join Date
    Nov 2005
    Posts
    102

    Default

    problem fixed

  10. #160
    Registered User
    Join Date
    Jul 2007
    Posts
    3

    Exclamation Build Postgresql whit apache in whm

    Hi

    i have serius problem whit postgresql, when i create a datebase(postgresql) in cpanel dont show any datebase, or i try add user for adduser to any datebase in prosgresql again dont show any,

    In WHM when i make a posgresql config say this message

    Install Postgres Config
    Setting up Postgres Config...You are running an old unsupported postgresql version.
    cPanel only supports postgres 7.3.x or better.

    but in th pass dot show this message,

    # psql --version
    psql: symbol lookup error: psql: undefined symbol: get_progname

    I need erase any version of posgresql and clean any installation and then reinstall posgresql whit build apache in whm,

    I try this in WHM Build APACHE

    -----------------
    This script will install Postgres 7.3.x or later
    If you have an older version installed you wil need to
    Dump your databases to a file and then restore them
    after the install as 7.3.x is not backwards compatible.
    If you do not have any databases, you can just run:
    mv /var/lib/pgsql /var/lib/pgsql.old
    /sbin/service postgresql stop
    /sbin/service postgresql start
    to force creating a 7.3.x style setup. Do not do this if
    you have databases that you wish to keep!

    Are you sure you wish to proceed?
    Fetching Obsoletes list for channel: rhel-i386-es-4...

    Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

    Fetching rpm headers...

    Name Version Rel
    ----------------------------------------------------------


    The following packages you requested were not found:
    rh-postgresql
    rh-postgresql-devel
    rh-postgresql-libs
    rh-postgresql-server

    The following packages you requested are already updated:
    postgresql
    postgresql-devel
    postgresql-libs
    postgresql-server
    Stopping postgresql service: [ OK ]
    Starting postgresql service: [ OK ]
    You should now configure postgresql from WHM!
    You should now configure postgresql from WHM!
    You should now configure postgresql from WHM!
    You should now configure postgresql from WHM!

    ----- But dont work -----

    and i try this option in shell

    # /scripts/installpostgres
    This script will install Postgres 7.3.x or later
    If you have an older version installed you wil need to
    Dump your databases to a file and then restore them
    after the install as 7.3.x is not backwards compatible.
    If you do not have any databases, you can just run:
    mv /var/lib/pgsql /var/lib/pgsql.old
    /sbin/service postgresql stop
    /sbin/service postgresql start
    to force creating a 7.3.x style setup. Do not do this if
    you have databases that you wish to keep!

    Are you sure you wish to proceed? y

    Fetching Obsoletes list for channel: rhel-i386-es-4...

    Fetching Obsoletes list for channel: rhel-i386-es-4-extras...

    Fetching rpm headers...

    Name Version Rel
    ----------------------------------------------------------


    The following packages you requested were not found:
    rh-postgresql
    rh-postgresql-devel
    rh-postgresql-libs
    rh-postgresql-server

    The following packages you requested are already updated:
    postgresql
    postgresql-devel
    postgresql-libs
    postgresql-server
    Stopping postgresql service: [ OK ]
    postmaster: no process killed
    psql --version
    postmaster: no process killed
    Starting postgresql service: [ OK ]
    You should now configure postgresql from WHM!
    You should now configure postgresql from WHM!
    You should now configure postgresql from WHM!
    You should now configure postgresql from WHM!
    # psql --version
    psql: symbol lookup error: psql: undefined symbol: get_progname

    -------------

    and i try this

    ]# rpm -Uhv postgresql*.rpm
    warning: postgresql-8.2.4-1PGDG.i686.rpm: V3 DSA signature: NOKEY, key ID 20579f11
    error: Failed dependencies:
    libpq.so.3 is needed by (installed) postgresql-python-7.4.17-1.RHEL4.1.i386
    libpq.so.3 is needed by (installed) libdbi-dbd-pgsql-0.6.5-10.RHEL4.1.i386

  11. #161
    Registered User
    Join Date
    Jun 2008
    Location
    Cianjur
    Posts
    3

    Default

    its working .. thanks a lot ..

  12. #162
    Member
    Join Date
    Apr 2005
    Posts
    246

    Default

    Quote Originally Posted by xerophyte View Post
    I have tested on few server with cpanel and PostgreSQL 8.1.0, seem to work fine, Made draft howto how to do it,if i am missing something please feel free to add comments to the article

    you can find the article at

    http://kb.linuxnetworkcare.com/node/21

    hope that helps someone
    This article is okay for people who are installing postgresql for the first time. But it's a stupid idea for people who want to *upgrade* to 8.3.3 at the time of this writing. It advocates uninstalling postgresql entirely and then entirely installing it again. All settings and shortcuts you may have will be gone -- as we know Pg is a bit difficult with md5 authentication and such in the hba.conf file. There HAS to be an easier way to upgrade? Anyone has managed an upgrade simply and successfully?

  13. #163
    Member Rooter's Avatar
    Join Date
    Apr 2003
    Location
    Houston, Texas, U.S.A.
    Posts
    146
    cPanel/Enkompass Access Level

    Root Administrator

    Thumbs down Reviving the past... ;)

    Quote Originally Posted by galuh82 View Post
    its working .. thanks a lot ..
    Quote Originally Posted by erick_paper View Post
    This article is okay for people who are installing postgresql for the first time. But it's a stupid idea for people who want to *upgrade* to 8.3.3 at the time of this writing. It advocates uninstalling postgresql entirely and then entirely installing it again. All settings and shortcuts you may have will be gone -- as we know Pg is a bit difficult with md5 authentication and such in the hba.conf file. There HAS to be an easier way to upgrade? Anyone has managed an upgrade simply and successfully?
    In any case, way to revive a year-old thread!
    The Root Underground | [TRU] - Houston, Texas, U.S.A.
    TRU Networks Hosting Services www.trunetworks.com
    TRU Domains Registrar Services www.trudomains.com (Reseller/Bulk discounts available.)
    Fried nublets for breakfast, yum... [TRU] Clan Gaming Guild www.truclan.org

  14. #164
    Member
    Join Date
    Apr 2005
    Posts
    246

    Default

    Galuh82's stuff may be working because he installed a fresh copy. Or it may be working because he has simple settings.

    Some of us have full blown DB functionality such as functions, rules, triggers. It's a huge pain to backup and reinstall from scratch, especially with the opaque Cpanel things going on in the middle between Apache and PG. On that instruction page, read the comments.

    Anyway, do you suggest I start a new thread? Would that help? Thanks for taking the time to help.

  15. #165
    Member
    Join Date
    Aug 2006
    Posts
    6

    Default Problem with phpPgAdmin

    I have cpanel 11 .23.2

    installed posgresql with : /scripts/installpostgres

    after , recompiled apache con /scripts/easyapache (with support for pgsql )

    So far, everything is fine

    Commando : psql --version
    Show version : psql (PostgreSQL) 8.1.11

    in WHM , options "SQL Services" , show this opcion "Postgres Config" , show 2 options :
    - "Postgres Config Install"
    - "Postgres Password"

    So far, everything is fine

    in Cpanel, to create a hosting account, and then go to create database for postgree This usually creates (with user y pass)

    So far, everything is fine

    when trying to use "phpPgAdmin" I have problems here, show this error :

    "Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option."

    How can I fix this?

    Thank for you help


+ Reply to Thread
Page 11 of 14 FirstFirst ... 9 10 11 12 13 ... LastLast
Similar Threads & Tags
Similar threads

  1. Installing Postgresql - HOWTO
    By cpanelnick in forum cPanel and WHM Discussions
    Replies: 197
    Last Post: 07-19-2010, 02:03 PM
  2. HELP: Howto Upgrade to PostgreSQL 7.4.1/7.4.3 on RHEL
    By Rackster in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-05-2004, 11:23 PM
  3. HOWTO: Disable PostGreSQL Link
    By dgbaker in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-10-2004, 05:29 PM
  4. HOWTO: Install phpPgAdmin to support Postgresql db's using C
    By ozzi4648 in forum cPanel and WHM Discussions
    Replies: 42
    Last Post: 04-09-2003, 07:21 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube