[racktables-users] Re: Cannot import vlan or cdp from a switch

  • From: "Julien BRETON" <julienbreton@xxxxxxx>
  • To: <racktables-users@xxxxxxxxxxxxx>
  • Date: Sun, 8 May 2011 21:33:49 +0200

So i'm really unlucky, even with 0777, and with www-data as owner, I still
have the error.

Maybe the problem is not with racktables but with my system configuration
(php ? linux ?)

-----Message d'origine-----
De : racktables-users-bounce@xxxxxxxxxxxxx
[mailto:racktables-users-bounce@xxxxxxxxxxxxx] De la part de Denis Ovsienko
Envoyé : dimanche 8 mai 2011 20:37
À : racktables-users@xxxxxxxxxxxxx
Objet : [racktables-users] Re: Cannot import vlan or cdp from a switch


> 1. what should be the right of the file ? Actually it's 0775, owner 
> 500:500

The password file must be effectively readable by httpd process pseudo-user,
and perhaps you want to protect it from anyone else. You know the specifics
of the server better.

> 2. what is the exact syntax of the line in switch.secrets.php, 
> actually I have (Object name is SW-2960-A314, IP is 172.16.4.253) :

Try this:

<?php ob_start(); ?>
# S-T-A-R-T
172.16.4.253 telnet - - - line_password enable_password - # S-T-O-P <?php
ob_end_clean(); ?>

-- 
    Denis Ovsienko



Other related posts: