Menu

#4182 Enable postgresql with "pgsqlsetup -i" hang on SLES11.3

2.8.5
pending
database
6
2014-09-03
2014-07-02
Jia Zhao
No

Run command "pgsqlsetup -i" to enable postgresql database hang during starting postgresql service on SLES11.3.

After some investigation, I found that we use "runcmd" to start postgresql service and it is based on PIPE(``). It will hang with Perl v5.10.0(sles11.3) while Perl v5.10.1(redhat6.5) has no problems. Running this command with "system" has no any problems.

$ret=xCAT::Utils->startservice($cmd); ------> hang at here
if ($ret != 0) {
xCAT::MsgUtils->message("E", " failed to start $cmd.");
exit(1);
}

Discussion

  • Jia Zhao

    Jia Zhao - 2014-07-02
    • summary: Enable postgresql with "pgsqlsetup -i" hang at starting service --> Enable postgresql with "pgsqlsetup -i" hang on SLES11.3
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,6 @@
     Run command "pgsqlsetup -i" to enable postgresql database hang during starting postgresql service on SLES11.3. 
    
    -After some investigation, I found that we use "runcmd" to start postgresql service and it is based on PIPE(``). It will hang with Perl v5.10.0 while redhat6.5(perl v5.10.1) has no problems. Running this command with "system" has no any problems.
    +After some investigation, I found that we use "runcmd" to start postgresql service and it is based on PIPE(``). It will hang with Perl v5.10.0(sles11.3) while Perl v5.10.1(redhat6.5) has no problems. Running this command with "system" has no any problems.
    
    
     $ret=xCAT::Utils->startservice($cmd);                 ------> hang at here
    
     
  • Lissa Valletta

    Lissa Valletta - 2014-07-07
    • assigned_to: Lissa Valletta
     
  • Lissa Valletta

    Lissa Valletta - 2014-07-07

    This affects all calls to Utils->startservice and I assume Utils->stopservice.

     
  • Lissa Valletta

    Lissa Valletta - 2014-07-07

    2.9
    commit 69017348db485c1748bbd5aa66cf249e0c69ae67
    2.8.5
    commit 87fc929900169f2ec61217456cd60a1fd52ae8e2

     
  • Lissa Valletta

    Lissa Valletta - 2014-07-07
    • status: open --> pending
     
  • Lissa Valletta

    Lissa Valletta - 2014-09-03

    Please close this defect for the release, if you have verified.

     
MongoDB Logo MongoDB