[racktables-users] Re: Linkmgmt problems

  • From: tormod.hope@xxxxxxxxxxx
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Tue, 29 Jul 2014 17:54:05 +0200

Does not looks like gv module is loaded...




Mvh/Best regards

Tormod Hope
IT Consulting Engineer
Eidesvik AS

Phone           : +47 53 44 80 83
Switchboard     : +47 53 44 80 00
Mobile          : +47 930 60 727

E-mail          : tormod.hope@xxxxxxxxxxx
Homepage        : www.eidesvik.no

As a part of our blue:Epolicy:  Please consider the environment before 
printing this e-mail notice 

Confidentiality and Disclaimer notice
The information contained in this e-mail is intended solely for the use of 
the addressee and it is sent in the strictest confidence, and may contain 
legally privileged information. If you have received this e-mail in error 
you must preserve its confidentiality, and immediately advise the sender. 
Should you have received this communication in error, please note that 
making use of the information, forwarding it, copying it, or in any way 
disclosing its content to any other person, is strictly prohibited. It is 
the sole responsibility of the addressee to scan this e-mail and any 
attachments for computer viruses or other defects. The sender does not 
accept liability for any loss or damage of any nature, however caused, 
which may result directly or indirectly from this e-mail or any file 
attached. This e-mail may not necessarily reflect the views or intentions 
of  Eidesvik Offshore ASA or its subsidiaries, who therefore does not 
accept any liability whatsoever for any claims, loss or damages of 
whatsoever nature, arising directly or indirectly, as a result of the 
reliance on such information by anyone. Unless the intention to contract 
has been expressly manifested in this message by a duly authorized 
representative of the company, this message shall not be construed as a 
solicitation to contract nor an offer or acceptance of any contractual 
obligations.   



From:   Olivier Contant <Olivier.Contant@xxxxxxxxxxxxxxxxx>
To:     "racktables-users@xxxxxxxxxxxxx" <racktables-users@xxxxxxxxxxxxx>, 

Date:   29.07.2014 17:49
Subject:        [racktables-users] Re: Linkmgmt problems
Sent by:        racktables-users-bounce@xxxxxxxxxxxxx



Sorry for my last reply, I read too fast. 
 
You will need to check your phpinfo() to see if the gv module is loading 
correctly.  You could also try php -m
 
Olivier Contant
System Administrator, Triton Digital
 
1440 Ste-Catherine W., Suite 1200 | Montreal, Qc, H3G 1R8
Tel.: +1.514.448.4037 #2771 | Toll-Free: +1.866.448.4037 #2771
olivier.contant@xxxxxxxxxxxxxxxxx
 
 
From: racktables-users-bounce@xxxxxxxxxxxxx [
mailto:racktables-users-bounce@xxxxxxxxxxxxx] On Behalf Of Olivier Contant
Sent: Tuesday, July 29, 2014 11:44 AM
To: racktables-users@xxxxxxxxxxxxx
Subject: [racktables-users] Re: Linkmgmt problems
 
Did you install the module GraphViz as you been suggested?
 
[Tue Jul 29 12:21:08.681322 2014] [:error] [pid 14812] [client 
10.2.201.41:53222] PHP Fatal error:  require_once(): Failed opening 
required 'Image/GraphViz.php' 
(include_path='.:/usr/share/php:/usr/share/pear') in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467 
 
Olivier Contant
System Administrator, Triton Digital
 
1440 Ste-Catherine W., Suite 1200 | Montreal, Qc, H3G 1R8
Tel.: +1.514.448.4037 #2771 | Toll-Free: +1.866.448.4037 #2771
olivier.contant@xxxxxxxxxxxxxxxxx
 
 
From: racktables-users-bounce@xxxxxxxxxxxxx [
mailto:racktables-users-bounce@xxxxxxxxxxxxx] On Behalf Of 
tormod.hope@xxxxxxxxxxx
Sent: Tuesday, July 29, 2014 11:42 AM
To: racktables-users@xxxxxxxxxxxxx
Subject: [racktables-users] Re: Linkmgmt problems
 
Here is a copy/paste from error.log under /var/log/apache2/apache 


[Mon Jul 28 06:25:02.635688 2014] [mpm_prefork:notice] [pid 1761] AH00163: 
Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 configured -- resuming normal 
operations 
[Mon Jul 28 06:25:02.635701 2014] [core:notice] [pid 1761] AH00094: 
Command line: '/usr/sbin/apache2' 
[Tue Jul 29 12:21:08.681272 2014] [:error] [pid 14812] [client 
10.2.201.41:53222] PHP Warning:  require_once(Image/GraphViz.php): failed 
to open stream: No such file or directory in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467 
[Tue Jul 29 12:21:08.681322 2014] [:error] [pid 14812] [client 
10.2.201.41:53222] PHP Fatal error:  require_once(): Failed opening 
required 'Image/GraphViz.php' 
(include_path='.:/usr/share/php:/usr/share/pear') in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467 
[Tue Jul 29 12:46:31.310247 2014] [:error] [pid 14853] [client 
10.2.201.41:53646] PHP Warning:  mb_strlen() expects parameter 1 to be 
string, array given in 
/home/user1/.racktables/wwwroot/inc/interface-lib.php on line 1025, 
referer: 
http://10.2.3.186/racktables/index.php?module=redirect&page=object&tab=linkmgmt&object_id=28&allports=1&op=PortLinkDialog&port=1002&linktype=front
 

[Tue Jul 29 13:07:23.647850 2014] [:error] [pid 14893] [client 
10.2.201.41:54081] PHP Notice:  Undefined index: height in 
/home/user1/.racktables/wwwroot/inc/database.php on line 746, referer: 
http://10.2.3.186/racktables/index.php?page=rackspace&tab=editrows 
[Tue Jul 29 13:07:23.647883 2014] [:error] [pid 14893] [client 
10.2.201.41:54081] PHP Notice:  Undefined index: height in 
/home/user1/.racktables/wwwroot/inc/database.php on line 754, referer: 
http://10.2.3.186/racktables/index.php?page=rackspace&tab=editrows 
[Tue Jul 29 13:56:56.335317 2014] [:error] [pid 14973] [client 
10.2.201.41:54851] PHP Warning:  mb_strlen() expects parameter 1 to be 
string, array given in 
/home/user1/.racktables/wwwroot/inc/interface-lib.php on line 1025, 
referer: 
http://10.2.3.186/racktables/index.php?module=redirect&page=object&tab=linkmgmt&object_id=98&allports=1&op=PortLinkDialog&port=1237&linktype=front
 

[Tue Jul 29 13:59:53.620110 2014] [:error] [pid 14975] [client 
10.2.201.41:54904] PHP Warning:  require_once(Image/GraphViz.php): failed 
to open stream: No such file or directory in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467 
[Tue Jul 29 13:59:53.620167 2014] [:error] [pid 14975] [client 
10.2.201.41:54904] PHP Fatal error:  require_once(): Failed opening 
required 'Image/GraphViz.php' 
(include_path='.:/usr/share/php:/usr/share/pear') in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467 
[Tue Jul 29 14:00:03.502301 2014] [:error] [pid 14978] [client 
10.2.201.41:54905] PHP Warning:  require_once(Image/GraphViz.php): failed 
to open stream: No such file or directory in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467 
[Tue Jul 29 14:00:03.502367 2014] [:error] [pid 14978] [client 
10.2.201.41:54905] PHP Fatal error:  require_once(): Failed opening 
required 'Image/GraphViz.php' 
(include_path='.:/usr/share/php:/usr/share/pear') in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467 
[Tue Jul 29 15:38:34.596846 2014] [:error] [pid 15052] [client 
10.2.201.41:55357] PHP Warning:  require_once(Image/GraphViz.php): failed 
to open stream: No such file or directory in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467 
[Tue Jul 29 15:38:34.596882 2014] [:error] [pid 15052] [client 
10.2.201.41:55357] PHP Fatal error:  require_once(): Failed opening 
required 'Image/GraphViz.php' 
(include_path='.:/usr/share/php:/usr/share/pear') in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467 
[Tue Jul 29 16:11:54.863568 2014] [:error] [pid 15107] [client 
10.2.6.62:53538] PHP Warning:  require_once(Image/GraphViz.php): failed to 
open stream: No such file or directory in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467, referer: 
http://10.2.3.186/racktables/index.php?page=object&tab=linkmgmt&object_id=2 

[Tue Jul 29 16:11:54.863621 2014] [:error] [pid 15107] [client 
10.2.6.62:53538] PHP Fatal error:  require_once(): Failed opening required 
'Image/GraphViz.php' (include_path='.:/usr/share/php:/usr/share/pear') in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467, referer: 
http://10.2.3.186/racktables/index.php?page=object&tab=linkmgmt&object_id=2 

[Tue Jul 29 16:12:33.862190 2014] [:error] [pid 15106] [client 
10.2.6.62:53558] PHP Warning:  require_once(Image/GraphViz.php): failed to 
open stream: No such file or directory in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467, referer: 
http://10.2.3.186/racktables/index.php?page=object&tab=linkmgmt&object_id=2 

[Tue Jul 29 16:12:33.864891 2014] [:error] [pid 15106] [client 
10.2.6.62:53558] PHP Fatal error:  require_once(): Failed opening required 
'Image/GraphViz.php' (include_path='.:/usr/share/php:/usr/share/pear') in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467, referer: 
http://10.2.3.186/racktables/index.php?page=object&tab=linkmgmt&object_id=2 

[Tue Jul 29 16:24:23.564272 2014] [:error] [pid 15103] [client 
10.2.6.62:53758] PHP Warning:  require_once(Image/GraphViz.php): failed to 
open stream: No such file or directory in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467, referer: 
http://10.2.3.186/racktables/index.php?page=object&tab=linkmgmt&object_id=2 

[Tue Jul 29 16:24:23.564357 2014] [:error] [pid 15103] [client 
10.2.6.62:53758] PHP Fatal error:  require_once(): Failed opening required 
'Image/GraphViz.php' (include_path='.:/usr/share/php:/usr/share/pear') in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467, referer: 
http://10.2.3.186/racktables/index.php?page=object&tab=linkmgmt&object_id=2 

[Tue Jul 29 17:28:27.054284 2014] [:error] [pid 15176] [client 
10.2.6.62:50830] PHP Warning:  require_once(Image/GraphViz.php): failed to 
open stream: No such file or directory in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467, referer: 
http://10.2.3.186/racktables/index.php?page=object&tab=linkmgmt&object_id=81 

[Tue Jul 29 17:28:27.054333 2014] [:error] [pid 15176] [client 
10.2.6.62:50830] PHP Fatal error:  require_once(): Failed opening required 
'Image/GraphViz.php' (include_path='.:/usr/share/php:/usr/share/pear') in 
/home/user1/.racktables/plugins/linkmgmt.php on line 467, referer: 
http://10.2.3.186/racktables/index.php?page=object&tab=linkmgmt&object_id=81 



Then i installed GraphViz with apt-get install GraphViz, and enabled the 
GraphViz for PHP, then changed the require_once path to libgv-php5/gv.php 

The new error.log for apache was 


[Tue Jul 29 17:36:49.429058 2014] [mpm_prefork:notice] [pid 18355] 
AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 configured -- resuming 
normal operations 
[Tue Jul 29 17:36:49.429110 2014] [core:notice] [pid 18355] AH00094: 
Command line: '/usr/sbin/apache2' 
[Tue Jul 29 17:36:57.879479 2014] [:error] [pid 18360] [client 
10.2.6.62:51041] PHP Fatal error:  Call to undefined function dl() in 
/usr/share/php/libgv-php5/gv.php on line 22, referer: 
http://10.2.3.186/racktables/index.php?page=object&tab=linkmgmt&object_id=81 



But i can see the gv.php file in /usr/share/php/libgv-php5/ 


Apache2 service has been restarted. 




Mvh/Best regards

Tormod Hope
IT Consulting Engineer




From:        Maximilian Mensing <Maximilian.Mensing@xxxxxxxx> 
To:        "racktables-users@xxxxxxxxxxxxx" <
racktables-users@xxxxxxxxxxxxx>, 
Date:        29.07.2014 16:36 
Subject:        [racktables-users] Re: Linkmgmt problems 
Sent by:        racktables-users-bounce@xxxxxxxxxxxxx 




Hi, 

Have you installed the php-graphviz plugin? The object map functions 
relies on it. 
Could you click on ‘object map’ 
And send me everything that may relate to racktables  from 
/var/log/*error.log? 

Cheers, 
Max. 


Von: "tormod.hope@xxxxxxxxxxx" <tormod.hope@xxxxxxxxxxx>
Antworten an: "racktables-users@xxxxxxxxxxxxx" <
racktables-users@xxxxxxxxxxxxx>
Datum: Tuesday 29 July 2014 16:25
An: "racktables-users@xxxxxxxxxxxxx" <racktables-users@xxxxxxxxxxxxx>
Betreff: [racktables-users] Linkmgmt problems 

Hello! 

When i try the button named Object map, nothing happens.
Internet Explorer says that the page cannot be displayed, and chrome just 
shows me a blank page.

Same thing happens if i try to click on the port name all the way to the 
left.

Is there a problem with my installation? 




Mvh/Best regards

Tormod Hope
IT Consulting Engineer 

Other related posts: