Richard Kroonen a écrit :
> I removed the node and restarted packetfence but still the error
>  
> But how does packetfence now when i unoplug the pc, it doesn't send and 
> snmp trap becuase link must not be sent?
you are right.

Actually you can't delete a node that has been connected once.
There is a control in PF that says you can't delete a node that is plugged.

Since PF does not get traps (it depends on your setup though: this is right 
with 
port-security but wrong with linkup/linkdown) when you unplug a device, it 
thinks that almost all devices are still plugged.

That's the reason why you can't delete a node through the web GUI.

Depending on what you want to do, you could:
- either unregister the device so PF puts it back in registration Vlan
- or delete that node directly in MySQL.

I hope this helps.

Regards.

-- 
Regis Balzard
[email protected]  ::  +1.514.447.4918 (x110)  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

>  
> regards Richard
> 
> 2010/7/21 Okolie C. Cletus <[email protected] 
> <mailto:[email protected]>>
> 
>     Hi Richard,
>     You have to unplug the PC from that port then reload packetfence.
>     You can now delete from the web interface. I dnt think you will get
>     that error again.
>     cheers
> 
> 
>     On Wed, Jul 21, 2010 at 12:45 PM, Richard Kroonen
>     <[email protected] <mailto:[email protected]>> wrote:
> 
>         It's on packetfence zen btw
> 
>         ---------- Forwarded message ----------
>         From: *Richard Kroonen* <[email protected]
>         <mailto:[email protected]>>
>         Date: 2010/7/21
>         Subject: remove node (on cisco)
>         To: [email protected]
>         <mailto:[email protected]>
> 
> 
>         Hi,
>          
>         In the web interface I'm trying to remove a node. I do
>         registration on port-security on a 3750
>          
>         When i"m trying to remove it i get an error
>          
> 
>         Error: Problems executing 'PFCMD node delete 00:17:08:3e:85:76'
>         Cannot delete this node since there are some records in
>         locationlog table indicating that this node might still be
>         connected and active on the network (pfcmd line 1950.) at
>         /usr/lib/perl5/site_perl/5.8.8/Log/Log4perl/Logger.pm line 896
>         at /usr/local/pf/bin/pfcmd line 1948 main::command_param('node')
>         called at /usr/local/pf/bin/pfcmd line 173 main::__ANON__()
>         called at /usr/local/pf/bin/pfcmd line 203
> 
>         I already removed the pc on the port.
> 
>         Packetfence says its still connected, so must i send laso link
>         changes to packetfence??
> 
>          
> 
>         regards Richard
> 
> 
> 
>         
> ------------------------------------------------------------------------------
>         This SF.net email is sponsored by Sprint
>         What will you do first with EVO, the first 4G phone?
>         Visit sprint.com/first <http://sprint.com/first> --
>         http://p.sf.net/sfu/sprint-com-first
>         _______________________________________________
>         Packetfence-users mailing list
>         [email protected]
>         <mailto:[email protected]>
>         https://lists.sourceforge.net/lists/listinfo/packetfence-users
> 
> 
> 
>     
> ------------------------------------------------------------------------------
>     This SF.net email is sponsored by Sprint
>     What will you do first with EVO, the first 4G phone?
>     Visit sprint.com/first <http://sprint.com/first> --
>     http://p.sf.net/sfu/sprint-com-first
>     _______________________________________________
>     Packetfence-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/packetfence-users
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Packetfence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to