The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unistall an RPM -postgresql-jdbc.i386 0:8.1.407-1jpp.4

Discussion in 'General Discussion' started by Viv, Mar 9, 2010.

  1. Viv

    Viv Registered

    Joined:
    Feb 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have installed postgresql-jdbc.i386 0:8.1.407-1jpp.4 thru the Install a RPM option. This I guess is 'JDBC4 Postgresql Driver, Version 8.4-701'
    But am getting 'Error = java.lang.ClassNotFoundException: org.postgresql.Driver'

    This I understand is due to incompatibility of the driver flavor.
    I would like to -
    1. Uninstall this driver (JDBC4 Postgresql Driver, Version 8.4-701) and
    2.Install 'JDBC3 Postgresql Driver, Version 8.4-701'

    How can I do both these thru the WHM?

    Thanks in advance!
     
  2. m4rc3

    m4rc3 Active Member

    Joined:
    Mar 26, 2010
    Messages:
    39
    Likes Received:
    2
    Trophy Points:
    8
    I'm not sure if it can be done via whm

    as root via ssh it would be something like this.

    to get the actual name of the rpm
    Code:
    rpm -qa | grep postgresql-jdbc
    once you have that you can just remove it with:
    Code:
    rpm -e <pkg_name>
     
    #2 m4rc3, Mar 26, 2010
    Last edited: Mar 26, 2010
  3. qwidjib0

    qwidjib0 Member
    PartnerNOC

    Joined:
    Aug 3, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chicago, Illinois
    Yea, don't mess with any rpm's for this, and I think you're correct to want the JDBC3 driver instead of JDBC4 provided that you're using the Tomcat 5.5 package that comes with the current EasyApache option. This method is working great for quite a lot of servers I'm administrating with Tomcat. Here's everything you should need to make PostGres work with servlets.

    EDIT: vBulletin wants to snip the WGET URL above, make sure you "quote" first if you want to use those commands, or check http://jdbc.postgresql.org/download.html
     
    #3 qwidjib0, Mar 31, 2010
    Last edited by a moderator: Apr 2, 2010
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Friendly Moderator Note

    I have edited the above post to remove the URL snipping.

    For future reference, uncheck the following (under "Additional Options," below the "Submit Reply" button) to avoid URL snipping in commands:

     
Loading...

Share This Page