Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Apr 24, 2017 7:58 pm

All times are UTC - 5 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6
Author Message
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Tue Nov 08, 2011 9:15 am 
Offline

Joined: Tue Nov 08, 2011 2:14 am
Posts: 6
Location: Samara, Russia
My question may sound stupid but how to compile from svn? Where can I find instructions? I apologize for my English, I use google translate.


Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h (blank page after upgrade)
PostPosted: Wed Nov 23, 2011 6:54 am 
Offline
User avatar

Joined: Fri Jun 16, 2006 4:05 am
Posts: 39
Location: Zurich, Switzerland
I just upgraded from the "g" version to "h". It accidentally happend with the normal update run within suse, although a thought about doing the upgrade anyway...

After going throug the cacti upgrade procedure i get a blank page in this url http://localhost/cacti/install/index.php
Also the first time the sql statements have executed, but when i try again going through the upgrade procedure it says no sql was executed. The path information ist all green, after this the blank page appears.

When i go to the Cacti URL http://cactiserver/cacti expecting the logon screen the upgrade procedure window reappears...

The Apache and MySQL configuration looks OK to me. I also can see the new creation dates for certain files and folders in the cacti folder

I do not know where i can look for errors or what happend at all.

I just hope that my old cacti data are still somewhere to be found and can be rescued.

What to do now?

My primary setup several month ago i did after this procedure http://en.opensuse.org/Cacti

---

A day later... early morning 6,30 AM...

The rra files are still updating, so cacti seems to be well under the hood. I'm still trying to find what causes the empty page right after the upgrade finishes where in a better world the Cacti Logon should appear... :-)

_________________
Server: IBM x3650 M3, 1 XEON CPU 3.0 GHz, 4 Core, 8GB RAM,
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011

Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860

Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860


Last edited by morgentau on Thu Nov 24, 2011 1:48 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Wed Nov 23, 2011 6:23 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
I would back off the change. Don't know quite how to do that for you. I would start by doing a fresh 'file' install over your existing install. It's likely that nothings broken but the web site.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Wed Nov 23, 2011 6:24 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
rudw0lf wrote:
My question may sound stupid but how to compile from svn? Where can I find instructions? I apologize for my English, I use google translate.


I'm assuming you are talking about spine? If so, download the svn copy and then run the 'bootstrap' script. After that, simply follow the instructions.

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Thu Nov 24, 2011 2:11 am 
Offline
User avatar

Joined: Fri Jun 16, 2006 4:05 am
Posts: 39
Location: Zurich, Switzerland
TheWitness wrote:
I would back off the change. Don't know quite how to do that for you. I would start by doing a fresh 'file' install over your existing install. It's likely that nothings broken but the web site.

TheWitness


It looks like a broken website-Apache-php issue. I do not know how to revert the upgrade... doing a fresh file install? The rra files are still updating... i'm really glad about this. Even the automatic reports from Cereus Reporting are still comming in.... Now i've got a time zone error, a missing file/stream...


[Thu Nov 24 07:41:54 2011] [error] [client 10.xxx.x.xxx] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /usr/share/cacti/include/global_arrays.php on line 677, referer: http://diepen/cacti/install/index.php
[Thu Nov 24 07:41:54 2011] [error][client 10.xxx.x.xxx] PHP Warning: include_once(../lib/data_query.php): failed to open stream: No such file or directory in /usr/share/cacti/install/index.php on line 333, referer: http://diepen/cacti/install/index.php
[Thu Nov 24 07:41:54 2011] [error][client 10.xxx.x.xxx] PHP Warning: include_once(): Failed opening '../lib/data_query.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR:/usr/share/cacti/plugins/nmidCreatePDF/modules') in /usr/share/cacti/install/index.php on line 333, referer: http://diepen/cacti/install/index.php
[Thu Nov 24 07:41:54 2011] [error] [client 10.xxx.x.xxx] PHP Warning: include_once(../lib/utility.php): failed to open stream: No such file or directory in /usr/share/cacti/install/index.php on line 334, referer: http://diepen.ocag.ch/cacti/install/index.php
[Thu Nov 24 07:41:54 2011] [error] [client 10.xxx.x.xxx] PHP Warning: include_once(): Failed opening '../lib/utility.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR:/usr/share/cacti/plugins/nmidCreatePDF/modules') in /usr/share/cacti/install/index.php on line 334, referer: http://diepen/cacti/install/index.php
[Thu Nov 24 07:41:54 2011] [error] [client 10.xxx.x.xxx] PHP Fatal error: Call to undefined function run_data_query() in /usr/share/cacti/install/index.php on line 354, referer: http://diepen/cacti/install/index.php

_________________
Server: IBM x3650 M3, 1 XEON CPU 3.0 GHz, 4 Core, 8GB RAM,
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011

Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860

Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860


Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Thu Nov 24, 2011 7:50 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
Edit apache's PHP.INI file and set the 'date.timezone' variable to your TZ. For example, here it's "America/Detroit". Then restart apache. Also, do the same for the CLI's PHP.INI file.

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Thu Nov 24, 2011 8:19 am 
Offline
User avatar

Joined: Fri Jun 16, 2006 4:05 am
Posts: 39
Location: Zurich, Switzerland
TheWitness wrote:
Edit apache's PHP.INI file and set the 'date.timezone' variable to your TZ. For example, here it's "America/Detroit". Then restart apache. Also, do the same for the CLI's PHP.INI file.


Hello, i made this correction for the time zone. The entries are gone :-) Thank you !

But this remains... with Cacti still running below the blank page...some luck there at least. I do not understand why i get through the upgrade procedure without error messages but only get a blank page. The default Cacti URL always brings me back to the upgrade screen... !?

[Thu Nov 24 14:15:51 2011] [error] [client 10.] PHP Warning: include_once(../lib/data_query.php): failed to open stream: No such file or directory in /usr/share/cacti/install/index.php on line 333, referer: http://diepen/cacti/install/index.php
[Thu Nov 24 14:15:51 2011] [error] [client 10.] PHP Warning: include_once(): Failed opening '../lib/data_query.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR:/usr/share/cacti/plugins/nmidCreatePDF/modules') in /usr/share/cacti/install/index.php on line 333, referer: http://diepen/cacti/install/index.php
[Thu Nov 24 14:15:51 2011] [error] [client 10.] PHP Warning: include_once(../lib/utility.php): failed to open stream: No such file or directory in /usr/share/cacti/install/index.php on line 334, referer: http://diepen/cacti/install/index.php
[Thu Nov 24 14:15:51 2011] [error] [client 10.] PHP Warning: include_once(): Failed opening '../lib/utility.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR:/usr/share/cacti/plugins/nmidCreatePDF/modules') in /usr/share/cacti/install/index.php on line 334, referer: http://diepen/cacti/install/index.php
[Thu Nov 24 14:15:51 2011] [error] [client 10.] PHP Fatal error: Call to undefined function run_data_query() in /usr/share/cacti/install/index.php on line 354, referer: http://diepen/cacti/install/index.php

The cacti error log is free from any error messages except some snmp timeouts....

_________________
Server: IBM x3650 M3, 1 XEON CPU 3.0 GHz, 4 Core, 8GB RAM,
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011

Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860

Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860


Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Thu Nov 24, 2011 8:32 am 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
It's a fatal error. If you take the Cerious Reporting plugin out (move the directory) does the problem go away? Also, is the $url_path = '/cacti/' in config.php?

TheWitness

_________________
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Fri Nov 25, 2011 2:10 am 
Offline
User avatar

Joined: Fri Jun 16, 2006 4:05 am
Posts: 39
Location: Zurich, Switzerland
TheWitness wrote:
It's a fatal error. If you take the Cerious Reporting plugin out (move the directory) does the problem go away? Also, is the $url_path = '/cacti/' in config.php?

TheWitness


Hello again !

This was confusing for me. In someconfig.php files the path $url_path = '/cacti/' is there, in some it is not. I think it is something to do with the suse distribution. I put it there and (with the same negative result) but then... (r)moving the nmid Plugins did it !

Cacti Upgrade ist OK, Cacti Logon ist OK... I'm really really very glad... a simple cut/paste operation !!

Thank's a lot... really !

Kind regards.

_________________
Server: IBM x3650 M3, 1 XEON CPU 3.0 GHz, 4 Core, 8GB RAM,
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011

Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860

Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860


Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Fri Nov 25, 2011 3:43 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2573
Location: Kressbronn, Germany
What a nasty bug ... found the root cause of it:

In the setup.php file of the nmidSmokeping plugin the following lines (24 and 25) need to be changed:

Code:
chdir ($mainDir);
require_once('./lib/tree.php');


to

Code:
//chdir ($mainDir);
require_once($mainDir.'/lib/tree.php');

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Release of Cacti 0.8.7h
PostPosted: Fri Nov 25, 2011 6:01 am 
Offline

Joined: Tue Nov 08, 2011 2:14 am
Posts: 6
Location: Samara, Russia
[quote="TheWitness"][quote="rudw0lf"]My question may sound stupid but how to compile from svn? Where can I find instructions? I apologize for my English, I use google translate.[/quote]

I'm assuming you are talking about spine? If so, download the svn copy and then run the 'bootstrap' script. After that, simply follow the instructions.

TheWitness[/quote]
Thank you! spine works fine!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group