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.

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:
    16
    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.
     
    #1 bmcclure, Apr 16, 2008
    Last edited: Apr 16, 2008
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    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
    
     
Loading...

Share This Page