Hei!
Har akkurat begynnt p? konfigureringen av NAV installasjonen v?r her p? H?gskolen i ?lesund. For ? begynne litt forsiktig(?) har jeg s? langt bare lagt inn en boks i nettel.txt, nemmelig routeren v?r (Cisco 7200VXR).
F?r en del feilmeldinger rundt om kring som jeg ikke skj?nner ?rsaken til.
N? kan jeg legge til at jeg kj?rer NAV p? Mandrake 9.1 (med god hjelp fra Morten Vold).
1) fyll_db.pl: <snip> Tue Feb 17 04:05:07 2004 gwporter.pl %DEVICE-7-COLLECT: Collecting data for "158.38.84.1". Tue Feb 17 04:05:09 2004 gwporter.pl %TEXT-4-ONEOFTOOLONG: One field of [netaddr,vlan,maxhosts,nettype,nettident] in table "prefiks" can only contain 30 characters. One of the values in [158.38.66.0/23,0,510,lan,lokal vlan, alesund.alesund-ansatte] is therefore too long. [...] </snip>
F?r en lang liste (19 stk) med disse meldingene. Muligens er et feltet nettident som for?rsaker den. Det snodige er jo at det for eksemplet over slettes ikke er over 30 tegn... (kun 2 av de 19 meldingene er verdien for nettident lenger enn 30 tegn...)
<snip> Tue Feb 17 04:05:09 2004 fyll_db.pl %RUN-7-START: Started running program "get_boksdata". Tue Feb 17 04:05:10 2004 get_boksdata.pl %DATABASE-4-ERROR: Database could not do "ERROR: pg_atoi: zero-length string" in "INSERT INTO module (boksid,modulenumber,model,descr,serial,hw,sw,ports,portsUp) VALUES (2,6,564,POS Port Adapter (SM),21722246,2.0,,,)". Tue Feb 17 04:05:10 2004 get_boksdata.pl %DATABASE-4-ERROR: Database could not do "ERROR: pg_atoi: zero-length string" in "INSERT INTO module (boksid,modulenumber,model,descr,serial,hw,sw,ports,portsUp) VALUES (2,4,572,Channelized E1/PRI - balanced,0,1.0,,,)". Tue Feb 17 04:05:10 2004 get_boksdata.pl %DATABASE-4-ERROR: Database could not do "ERROR: pg_atoi: zero-length string" in "INSERT INTO module (boksid,modulenumber,model,descr,serial,hw,sw,ports,portsUp) VALUES (2,1,1188,7206VXR,18562362,1.0,,,)". Tue Feb 17 04:05:10 2004 get_boksdata.pl %DATABASE-4-ERROR: Database could not do "ERROR: pg_atoi: zero-length string" in "INSERT INTO module (boksid,modulenumber,model,descr,serial,hw,sw,ports,portsUp) VALUES (2,3,240,Serial,15337441,1.14,3.101,,)". Tue Feb 17 04:05:10 2004 get_boksdata.pl %DATABASE-4-ERROR: Database could not do "ERROR: pg_atoi: zero-length string" in "INSERT INTO module (boksid,modulenumber,model,descr,serial,hw,sw,ports,portsUp) VALUES (2,7,564,POS Port Adapter (SM),21710376,2.0,,,)". Tue Feb 17 04:05:10 2004 get_boksdata.pl %DATABASE-4-ERROR: Database could not do "ERROR: pg_atoi: zero-length string" in "INSERT INTO module (boksid,modulenumber,model,descr,serial,hw,sw,ports,portsUp) VALUES (2,2,197,I/O Ether/GigEther Controller,18547560,1.1,,,)". Tue Feb 17 04:05:10 2004 get_boksdata.pl %DATABASE-4-ERROR: Database could not do "ERROR: pg_atoi: zero-length string" in "INSERT INTO module (boksid,modulenumber,model,descr,serial,hw,sw,ports,portsUp) VALUES (2,5,564,POS Port Adapter (SM),16090609,2.0,,,)". Tue Feb 17 04:05:10 2004 fyll_db.pl %RUN-7-END: Ended running program "get_boksdata". </snip>
2) /usr/local/nav/local/log/hysterese
F?r en liste med meldinger av typen:
<snip> Running sub routerinterfaces... Finner ikke /usr/local/nav/local/cricket/cricket-data/giga-router-interfaces/alesund-gw. uninett.no/gigabitethernet0_0.rrd Finner ikke /usr/local/nav/local/cricket/cricket-data/giga-router-interfaces/alesund-gw. uninett.no/gigabitethernet0_0.10-802.1q vlan subif.rrd [...] Sub routerinterfaces completed with 19 rrd-files queried, 14 of them not found. </snip>
H?per noen har en id? om hvor jeg kan begynne ? lete etter feilen...
Mvh Steinar
--- Steinar Otto Sj?holt Avd. ing - IT H?gskolen i ?lesund