ISPConfig3 latest from SVN not reading my raid info correctly

Discussion in 'General' started by binaryrogue, Mar 18, 2009.

  1. binaryrogue

    binaryrogue Member

    I'm using Fedora and I just installed the latest ispconfig3 from svn.

    I'm seeing:
    mdadm is not installed or your Server has no supported RAID
    under Show raid state.

    I'm using mdadm with raid1 and all three partitions are in sync.

    [root@ispc1 log]# cat /proc/mdstat
    Personalities : [raid1] [raid6] [raid5] [raid4]
    md0 : active raid1 sda1[0] sdb1[1]
    200704 blocks [2/2] [UU]
    md1 : active raid1 sda2[0] sdb2[1]
    2096384 blocks [2/2] [UU]
    md2 : active raid1 sda3[0] sdb3[1]
    33262464 blocks [2/2] [UU]
    unused devices: <none>

    how is ispconfig determing if raid status is ok?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You find the cod ein the file /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php
     
  3. binaryrogue

    binaryrogue Member

    found an extra equal sign in line 613.
    Code:
     if($retval === 0){
    changed to:
    Code:
     if($retval == 0){
    and now it works.
     

Share This Page