[racktables-users] Re: Linkmgmt problems

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

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: