[rancid] Malfunction between rancid and HP 2910.
Vincent LOUPIEN
Vincent.Loupien at upmf-grenoble.fr
Fri Sep 16 14:33:39 UTC 2011
Hello John,
----- Mail original -----
> Fri, Sep 09, 2011 at 05:03:06PM +0200, Vincent LOUPIEN:
> > Hi all,
> >
> > We replaced the old good HP Procurve 2650 by more resent HP Procurve
> > 2910 and since, rancid refuse to backup theirs configurations, while
> > this was going very well with 2650. All the parameters seem correct
> > (telnet / ssh, password ...) and are becoming the same as for 2650.
> >
> > Debugging using clogin works very well but with the use of
> > rancid-run in crond, it creates problems without messages/errors.
>
> hlogin is for hp switches with the hp o/s, which i think began as
> procurve. test with that. else, look for errors in the group's log
> file.
When i execute hlogin (telnet connexion without user) , this is what i get (but no trace in the log in "/var/log/rancid/") :
linux:/var/lib/rancid/bin# ./hlogin -c "show version" hp2910
hp2910
spawn hpuifilter -- telnet hp2910
Error: telnet failed: couldn't execute "hpuifilter": no such file or directory
... And when i execute clogin, this is what i get (but still no trace) :
linux:/var/lib/rancid/bin# ./clogin -c "show version" hp2910
hp2910
spawn telnet hp2910
Trying xxx.xxx.xxx.xxx...
Connected to hp2910
Escape character is '^]'.
Password:
hp2910# couldn't compile regular expression pattern: parentheses () not balanced
while executing
"expect -nobrace -re { [55;1H([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[
]+} { exp_continue }"
invoked from within
"expect {
-re $reprompt {}
-re "\[\n\r]+" { exp_continue }
}"
(procedure "run_commands" line 23)
invoked from within
"run_commands $prompt $command"
("foreach" body line 171)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "./clogin" line 769)
Do you have an idea where this problem will come again ?
Regards,
--
____________________________________________________________
Vincent LOUPIEN - Direction des Systemes d'Information
Batiment Langues, Nouvelles Technologies - Bureau 37
Universite Pierre Mendes France - Domaine Universitaire
79, rue des Universites - BP 47 - F-38040 Grenoble Cedex 9
Tel : (+33).04.76.82.57.58 - Fax : (+33).04.76.82.83.13
____________________________________________________________
More information about the Rancid-discuss
mailing list