[racktables-users] Re: Live Ports Not Functioning

  • From: "Julson, Jim" <jjulson@xxxxxxxxxxxxx>
  • To: "racktables-users@xxxxxxxxxxxxx" <racktables-users@xxxxxxxxxxxxx>
  • Date: Wed, 18 Jul 2012 17:13:00 +0000

I should have probably re-posted, but I figured out the problems.

Ultimately it was permissions.  When I unpacked the initial package, I didn't 
copy over /gateways folder with the installation, so when I did it after the 
fact, I had to go back and do the following:

sudo chmod -R 0755 /etc/var/www/html/racktables/gateways
AND...
sudo chown -R apache:apache /etc/var/www/html/racktables/gateways

I did the group change first, and that allowed some things to finally display, 
and then when I set the permissions properly, voila!

Thanks for touching base on this again.

From: racktables-users-bounce@xxxxxxxxxxxxx 
[mailto:racktables-users-bounce@xxxxxxxxxxxxx] On Behalf Of Murray Brydon
Sent: Wednesday, July 18, 2012 8:20 AM
To: racktables-users@xxxxxxxxxxxxx
Subject: [racktables-users] Re: Live Ports Not Functioning

You should try the debugging mentioned by Denis in this previous post to see if 
that gets you any further:

//www.freelists.org/post/racktables-users/Cannot-import-vlan-or-cdp-from-a-switch,21

I got to a stage where it no longer gives any errors but all the 
ios12.connector.xxxxxx files in /tmp are still blank and all I get returned in 
the browser are the headers and a checkbox so still something not happening for 
me.
On 9 July 2012 22:38, Julson, Jim 
<jjulson@xxxxxxxxxxxxx<mailto:jjulson@xxxxxxxxxxxxx>> wrote:
Hello Everyone,

I am new to RackTables, and have the server up and running (and LOVING it) no 
problem, and now there just seems to be a couple minor features not functioning 
correctly.  Here's some basic info first.

Build:  0.19.12
OS:  CentOS 6.2
Web Server:  Apache 2

So basically, I have my Cisco 4507 as an object, I've specified the HW type, 
and also specified the Software Revision to IOS 12.2 (Which it actually is).  
When I go to "Live Ports" I just get a blank screen with no error.   When I hit 
either "Live CDP" or "Live LLDP" I get "Gateway failed with error code 127.

NOTE:  I didn't have the "gateways" directory in /var/www/html/racktables 
directory which I saw in another post.  So I copied it over and did a chmod 
apache:apache on the folder and it's contents, as well as ensure the 
permissions were set to 0755 to enable the PHP scripts to execute.  I pulled 
this information from another post and am hoping it's right.  Additionally, I 
did edit my /gateways/deviceconfig/switch.secrets.php file to include:

Devicename telnet 172.16.xxx.xxx - - - telnetpass enablepass

Also tried...

Deviceip telnet - - - telnetpass enablepass

Both of those examples I pulled from other List Archived posts.

Now, I've tried parsing through the list archives and can't seem to find 
anything immediately or readily helpful.  Please be patient with me as I don't 
know any PHP, and I'm fairly new to Linux in general.  I will provide anything 
you need for debug output, but you may have to give me a little help along the 
way if you don't mind.

Jim C. Julson
Sr. Network & Systems Administrator
C 208.908.1476<tel:208.908.1476>
jjulson@xxxxxxxxxxxxx<mailto:jjulson@xxxxxxxxxxxxx>
<http://www.marketron.com/events/radioshow/index.php?email>

The information contained in this e-mail message may be confidential 
and<http://www.marketron.com/events/radioshow/index.php?email>

protected from disclosure.  If you are not the intended recipient, 
any<http://www.marketron.com/events/radioshow/index.php?email>

dissemination, distribution or copying is strictly prohibited. If 
you<http://www.marketron.com/events/radioshow/index.php?email>

think that you have received this e-mail message in error, please 
notify<http://www.marketron.com/events/radioshow/index.php?email>

the sender immediately by replying to this message and then delete 
it<http://www.marketron.com/events/radioshow/index.php?email>

from your system.<http://www.marketron.com/events/radioshow/index.php?email>

 <http://www.marketron.com/events/radioshow/index.php?email>
 <http://www.marketron.com/events/radioshow/index.php?email>

The information contained in this e-mail message may be confidential and
protected from disclosure.  If you are not the intended recipient, any
dissemination, distribution or copying is strictly prohibited. If you
think that you have received this e-mail message in error, please notify
the sender immediately by replying to this message and then delete it
from your system.

Other related posts: