I too am seeing these issues (v0.19.4). The below is from the "Live VLANs" tab. Hopefully this will narrow down the cause for those who understand PHP better than I (not much of a stretch, that...): gateway failed with code 127: Echoing $racktables_gwdir in gateways.php @ line 84 returns an empty string. $racktables_gwdir is returning true to the isset in pre-init, so there must be a lingering value or declaration elsewhere that I'm missing. Manually setting the variable to the right path successfully works around: ---- $execpath = "/var/www/racktables/gateways/{$gwname}/main"; ---- gateway failed with code 126: Permission issues. Changed gateways/switchvlans/main & cisco.connector to 777 resolved this. Then I was getting a password not found error. Had to set gateways/switchvlans/cisco.secrets.php to work past that (deviceconfig is ignored?). I am still getting the 126 error from "Live CDP" and "Live LLDP". I suspect they are a similar workaround, but dinner is waiting for me... Cheers! - Paul Guest - Systems Network Administrator > From: Murray Brydon <mbrydon@xxxxxxxxx> > > I get 'gateway failed with code 126' so not sure if it is the same > problem or not. I thought it was due to the secrets file being in > the wrong place, but I have tried alternatives and had no success so far > On 19 April 2011 06:56, Julien BRETON <julienbreton@xxxxxxx> wrote: > Sorry Denis, i was away for a couple of days. Here is the output : > > Uncaught exception: RTGatewayError > > gateway failed with code 127 (0) > at file /var/www/racktables/inc/gateways.php, line 111 > > /var/www/racktables/inc/gateways.php:383 queryGateway('deviceconfig', Array > ( > [0] => get8021q 10.64.193.5 ios12 /tmp/RackTables-deviceconfig-pqWysp > ) > ) > /var/www/racktables/inc/gateways.php:346 gwRetrieveDeviceConfig('61', > 'get8021q') > /var/www/racktables/inc/interface.php:8247 getRunning8021QConfig('61') > : renderObject8021QSync('61') > /var/www/racktables/index.php:29 call_user_func('renderObject8021QSync', > '61') > Parameters: > > GET > > page object > tab 8021qsync > object_id 61 > POST > > COOKIE > > GestioIPLang en > EntriesRedPorPage 500 > PHPSESSID 3mp9dev22kkn7seoj4q0q1cf65 > > Thanks > > -----Message d'origine----- > De : racktables-users-bounce@xxxxxxxxxxxxx > [mailto:racktables-users-bounce@xxxxxxxxxxxxx] De la part de Denis Ovsienko > Envoyé : jeudi 14 avril 2011 08:22 > À : racktables-users@xxxxxxxxxxxxx > Objet : [racktables-users] Re: Cannot import vlan or cdp from a switch > 11.04.2011, 09:14, "Julien BRETON" <julienbreton@xxxxxxx>: > > I use version 0.19.3, i even tried with an older version without success. > > Could you send me the output of "802.1Q sync" tab after making this change? > It will contain IP address of your switch and path information from the > server. > > --- inc/interface.php (revision 4457) > +++ inc/interface.php (working copy) > @@ -8281,6 +8281,7 @@ > catch (Exception $re) > { > showWarning ('Device configuration unavailable:<br>' . > $re->getMessage()); > + printGenericException ($re); > return; > } > $D = getStored8021QConfig ($vswitch['object_id'], 'desired'); > > > -- > Denis Ovsienko > >