you don't have a listen block for 127.0.0.1 on port 6697. Also if you use 127.0.0.1 in the link block .. you should use it in the RemoteServer as well. Yes, they are the same but by making everything absolutely identical can save possible issues.
You have 2 listen blocks for port 6667 on the same IP .. I'm suprised the ircd even started.
[Edited on 9-6-2006 by katsklaw]