Hello Srini,
if you want to connect two hubs on two ports of C2960 this is possible.
just verify that you haven't port security enabled on the ports.
default configuration should be enough.
you may want to set speed and duplex to half.
be aware that hubs work only in half-duplex mode.
I recommend to enable spanning-tree bpduguard
int f0/5
switchport
switchport mode access
switchport access vlan 5
spanning-tree bdpuguard enable
this should be fine
Hope to help
Giuseppe