Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th March 2012, 09:09
RioSif RioSif is offline
Member
 
Join Date: Jan 2012
Posts: 31
Thanks: 7
Thanked 1 Time in 1 Post
Default Problem with monitoring service freezed

Hello. I installed my vps server following the instructions of the perfect server tutorial centos 6.2+apache2.
After making configurations for security etc and everything worked i yesterday saw that the monitoring service of the ispconfig is freezed. As an example:
Code:
Server Load (Server : mydomain.org)

Data from: 2012-03-06 03:05Server online since:	3 days, 20:09 hours
Users Online:	1
System load 1 minute:	0
System load 5 minutes:	0
System load 15 minutes:	0
and this is how it looks right now.
Same "Data from" date for every report.

What could go wrong? I'm taking rsnapsots backup. Is there any easy way to recover from those files? Some command maybe to say to copy and overwrite files from the backup over the original files which was modified after a specified date and time?

Thank you
Reply With Quote
Sponsored Links
  #2  
Old 8th March 2012, 09:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

This has already been fixed in SVN if it affects the overview page only, please see bugtracker:

http://bugtracker.ispconfig.org/inde...s&task_id=2054

If all parts of the monitor are affected, then there must be a problem with your server.sh cronjob or the mysql login details of ispconfig. See here for debug instructions:

http://www.faqforge.com/linux/debugg...-of-a-failure/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th March 2012, 09:32
RioSif RioSif is offline
Member
 
Join Date: Jan 2012
Posts: 31
Thanks: 7
Thanked 1 Time in 1 Post
Default

I'll check that out and reply, thanks
Reply With Quote
  #4  
Old 8th March 2012, 10:12
RioSif RioSif is offline
Member
 
Join Date: Jan 2012
Posts: 31
Thanks: 7
Thanked 1 Time in 1 Post
Default

I think i found my problem. I caused this one
Code:
08.03.2012-11:08 - DEBUG - Found 2 changes, starting update process.
PHP Parse error:  syntax error, unexpected '}' in /usr/local/ispconfig/server/lib/classes/monitor_tools.inc.php on line 128
where can i find the default monitor_tools.inc.php?

Will it need any change for my server?


EDIT: I found and copied it from here http://fossies.org/unix/privat/ISPCo..._tools.inc.php

At the crontabs i have
Quote:
* * * * * /usr/local/ispconfig/server/server.sh &> /dev/null
and not

Quote:
* * * * * /usr/local/ispconfig/server/server.sh > /dev/null >> /var/log/ispconfig/cron.log
is that right or i have to make it log to cron.log?

Problem is still there. There're no error at the log but logs are still stack at 6 of march 3am...

Last edited by RioSif; 8th March 2012 at 10:47.
Reply With Quote
  #5  
Old 8th March 2012, 11:12
RioSif RioSif is offline
Member
 
Join Date: Jan 2012
Posts: 31
Thanks: 7
Thanked 1 Time in 1 Post
Default

I just checked ispconfig log:
Quote:
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
06.03.2012-17:06 - WARNING - DB::connect()-> mysql_select_db MySQL server has gone away
There should be some problem with mysql. Can you help me with a solution to this?

Thanks
Reply With Quote
  #6  
Old 8th March 2012, 13:54
RioSif RioSif is offline
Member
 
Join Date: Jan 2012
Posts: 31
Thanks: 7
Thanked 1 Time in 1 Post
 
Default

It works!!
The problem was with the monitor_tools.inc.php! The mysql errors had nothing to do with that.
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
ISPConfig "backend" completely unfunctional after a restart Xaymar Installation/Configuration 1 22nd August 2011 22:31
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
Service description problem in NSCA rhinestone9 HOWTO-Related Questions 0 16th August 2010 05:56
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04


All times are GMT +2. The time now is 22:49.


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