HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   ISPConfig3 latest from SVN not reading my raid info correctly (http://www.howtoforge.com/forums/showthread.php?t=32559)

binaryrogue 18th March 2009 09:19

ISPConfig3 latest from SVN not reading my raid info correctly
 
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?

till 18th March 2009 10:14

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

binaryrogue 18th March 2009 19:41

found an extra equal sign in line 613.
Code:

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

if($retval == 0){
and now it works.


All times are GMT +2. The time now is 06:27.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.