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.

timeout alarm?

Discussion in 'General Discussion' started by Secret Agent, May 10, 2005.

  1. Secret Agent

    Secret Agent Guest

    Tried to copy / transfer one account from one server to another

    In the process I got the error below

    Timeout: Alarm at bin/postgresadmin.pl line 42

    Any idea the cause of this?
     
  2. Devil Inside

    Devil Inside Well-Known Member

    Joined:
    Apr 4, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    I'm getting this too!

    I've got about 20 accounts to move and can't...

    I'll probably open a ticket tomorrow if no reply is given here. Let me know if you already have please :) and if you have a solution or something.

    Thanks!
     
  3. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    1) Do you get the list of accounts to choose from after entering the server info?

    2) Do you have to specify a special port besides 22 on the initial server info form?

    3) Is the error *always* "Timeout: Alarm at bin/postgresadmin.pl line 42"?
    a) is postrges running on either server?

    4) What kind of server are you transfering from?

    5) What does
    /usr/local/cpanel/cpanel -V
    output as root via SSH

    Thanks :)
     
    #3 cPDan, May 13, 2005
    Last edited: May 13, 2005
  4. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    If both answers are "yes", then see:

    http://bugzilla.cpanel.net/show_bug.cgi?id=2180
     
  5. Devil Inside

    Devil Inside Well-Known Member

    Joined:
    Apr 4, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    Hey Dan,

    I emailed back regarding this error. The port 22 thing is really old news in my book - been that way for some time now.

    But when on port 22 with both machines - the timeout is being received. This was not a problem until the Stable release last week.
     
  6. Devil Inside

    Devil Inside Well-Known Member

    Joined:
    Apr 4, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    16
    The fix!

    Looks like it may be a bug in the postgres installation.

    Here's the fix:

    as root run
    mv -f /var/lib/pgsql /var/lib/pgsql.old

    then run
    yes | /scripts/installpostgres

    You can then copy accounts as postgres will be installed and operating correctly.

    Found this fix here by accident as a client noticed pgsql databases weren't showing up in his account when he tried to create them.

    http://forums.cpanel.net/showthread.php?t=27416&highlight=pgsql
     
  7. cPDan

    cPDan cPanel Staff
    Staff Member

    Joined:
    Mar 9, 2004
    Messages:
    711
    Likes Received:
    3
    Trophy Points:
    18
    Don't forget to do:

    WHM->Service Configuration->Postgres Config->Postgres Config Install

    and then

    WHM->Service Configuration->Postgres Config->Postgres Password

    after that also :)
     
Loading...

Share This Page