View Full Version : ISPConfig3 latest from SVN not reading my raid info correctly

18th March 2009, 09:19
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?

18th March 2009, 10:14
You find the cod ein the file /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php

18th March 2009, 19:41
found an extra equal sign in line 613.
if($retval === 0){

changed to:
if($retval == 0){

and now it works.