Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Error trying to install postgresql-server

Discussion in 'General Discussion' started by bmcclure, Apr 16, 2008.

  1. bmcclure

    bmcclure Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    196
    Likes Received:
    0
    Trophy Points:
    241
    Location:
    Racine, WI
    I am trying to use postgresql on my server, since sqlite databases don't seem to work at all and I want to get Trac running.

    I'm on a Virtuozzo VPS with CentOS 5 (fully up to date).

    So anyway, I am getting a scriptlet error when trying to install postgresql-server-1.1.11 with yum. Here are the full results:
    Code:
    =============================================================================
     Package                 Arch       Version          Repository        Size
    =============================================================================
    Installing:
     postgresql-server       i386       8.1.11-1.el5_1.1  updates           3.9 M
    
    Transaction Summary
    =============================================================================
    Install      1 Package(s)
    Update       0 Package(s)
    Remove       0 Package(s)
    
    Total download size: 3.9 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    error:   install: %pre scriptlet failed (2), skipping postgresql-server-8.1.11-1.el5_1.1
    
    Installed: postgresql-server.i386 0:8.1.11-1.el5_1.1
    Complete!
    UPDATE: By the way, same result with /scripts/installpostgres... The script for some reason thinks it was successful but it skips with the same error.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 bmcclure, Apr 16, 2008
    Last edited: Apr 16, 2008
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    That suggests a problem with the mounting of /tmp

    Try doing this:

    Code:
    umount -l /tmp
    umount -l /tmp
    
    Once /tmp is truly unmounted, try doing the install again.

    After install complets, remount tmp:

    Code:
    /scripts/securetmp --auto
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice