Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th August 2012, 17:48
rdan rdan is offline
Junior Member
 
Join Date: Jul 2007
Posts: 28
Thanks: 3
Thanked 1 Time in 1 Post
Default PhP warning after upgrading to 3.0.4.6

Several days ago I upgraded from (I think) version 3.0.2 to 3.0.4.6. The upgrade went all right, but I have 100 identical warnings in the cron log:

PHP Warning: Invalid argument supplied for foreach() in /usr/local/ispconfig/server/lib/classes/monitor_tools.inc.php on line 1072

Is this something which should be fixed and if so, do you have suggestions as to how? Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 13th August 2012, 18:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,951
Thanks: 825
Thanked 5,362 Times in 4,209 Posts
Default

Seems as if you have 3ware raid controller software installed but no 3 ware raid controller card. Please post the output of the commands:

which tw_cli

and

tw_cli info c0
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th August 2012, 02:16
rdan rdan is offline
Junior Member
 
Join Date: Jul 2007
Posts: 28
Thanks: 3
Thanked 1 Time in 1 Post
Default

which tw_cli:

/usr/local/bin/tw_cli

tw_cli info c0:

Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache AVrfy
------------------------------------------------------------------------------
u0 RAID-1 OK - - - 465.651 RiW ON

VPort Status Unit Size Type Phy Encl-Slot Model
------------------------------------------------------------------------------
p0 OK u0 465.76 GB SATA 0 - WDC WD5003ABYX-01WE
p1 OK u0 465.76 GB SATA 1 - WDC WD5003ABYX-01WE

Thanks.
Reply With Quote
  #4  
Old 14th August 2012, 08:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,951
Thanks: 825
Thanked 5,362 Times in 4,209 Posts
Default

Thats ok.Please check your php.ini file if the shell_exec is listed there under disabled_functions.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th August 2012, 20:08
rdan rdan is offline
Junior Member
 
Join Date: Jul 2007
Posts: 28
Thanks: 3
Thanked 1 Time in 1 Post
Default

It's not defined so in the line

disable_functions =

in /etc/php5/apache2/php.ini or in /etc/php5/cgi/php.ini or in /etc/php5/cli/php.ini.

Last edited by rdan; 14th August 2012 at 20:11. Reason: typo on the word disabled_functions ... should be disable_functions
Reply With Quote
  #6  
Old 18th September 2012, 01:01
rdan rdan is offline
Junior Member
 
Join Date: Jul 2007
Posts: 28
Thanks: 3
Thanked 1 Time in 1 Post
 
Default Date of cron log error message

I have additional information on the message. It has been showing up in the cron log in ispconfig daily. The interesting point however, is that it has a date stamp that is later than the date on the system. It looks like it is 6 hours later than the system date. For example, just checking it (current time = 16:50 and the date on the message is 22:50).
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Only Problems since Updating from 3.0.3.3 to 3.0.4.1 mbay General 4 17th May 2012 12:56
ISPConfig 3.0.3.3 Autoresponder, adding subdomain problem BlackHat Installation/Configuration 4 18th October 2011 14:24
rkhunter warnings esezako General 7 27th September 2011 07:28
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
[Postfix] Quota doesn't work krzysiek HOWTO-Related Questions 8 2nd March 2009 15:57


All times are GMT +2. The time now is 04:45.


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