[CentOS] One for the Cisco experts...

Fri Apr 24 17:49:50 UTC 2009
Antonio da Silva Martins Junior <asmartins at uem.br>

----- "Antonio da Silva Martins Junior" <asmartins at uem.br> escreveu:

> ----- "Daniel Bird" <dbird at sgul.ac.uk> escreveu:
> 
> > > How can I find out which port on the switch a particular server
> is
> > > connected to?  I was hoping that this is somehow possible using
> the
> > > mac address and the data gathered from snmpwalk/snmpget requests
> > but
> > > I'm not having much luck.  How would you tackle this problem?
> > >   
> > Take a look at Netdisco. I seem to remember it's a little tricky to
> > set
> > up on CentOS but I wouldn't live without it now.
> > 
> > http://www.netdisco.org/
> 
> 
>    Well after following the "little tricky" :D install scripts on
> this address: http://www.auburn.edu/~gouldwp/netdisco/ 
> 
>    I had this error: "failed to resolve handler `netdisco::Mason':
> Can't locate netdisco/Mason.pm in @INC" 
> on my httpd error_log file. Anyone had sucess on made netdisco running?
> 

Hi List,

   Well nothing better than post an email to the list to find the solution:

   The install script I was using (following) from the site above, put
two include lines (from netdisco_apache.conf and netdisco_apache_dir.conf)
on the end of "/etc/httpd/conf/httpd.conf". But it generates some errors on
the httpd programa, and I moved them to links on "/etc/httpd/conf.d" to the 
netdisco config files.
 
   The problem was "netdisco*" was load before "perl*" and then the errors.

   Quick solution: rename "netdisco*" to "zz_netdisco*", now the load order
are OK and the WebCli are running.


    Thanks for the help,

         Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | "Only The Shadow Knows     |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |       Heart of Men!"       |
| E-Mail: asmartins at uem.br / shadow at uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     "Real Programmers don’t need comments — the code is obvious."

-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.