I have the ccnet console application working perfectly. When I shut it
down and try to start up the service, it immediately shuts down again.
Looking in the log file I find the stack trace below.

The console app is definitely not running. I've even tried with after
a fresh reboot.

Any ideas?

2010-03-05 11:44:47,191 [CCNet Server:INFO] Log cache time set to 5
minutes
2010-03-05 11:44:47,281 [CCNet Server:ERROR] A fatal error occurred
while starting the CruiseControl.NET server
2010-03-05 11:44:47,323 [CCNet Server:ERROR] INTERNAL ERROR: Remoting
configuration failed with the exception
'System.Runtime.Remoting.RemotingException: The channel 'tcp' is
already registered.
   at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannelInternal(IChannel
chnl, Boolean ensureSecurity)
   at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(IChannel
chnl, Boolean ensureSecurity)
   at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData
configData, Boolean ensureSecurity)
   at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData
configData, Boolean ensureSecurity)'.
----------
System.Runtime.Remoting.RemotingException: Remoting configuration
failed with the exception 'System.Runtime.Remoting.RemotingException:
The channel 'tcp' is already registered.
   at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannelInternal(IChannel
chnl, Boolean ensureSecurity)
   at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(IChannel
chnl, Boolean ensureSecurity)
   at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureChannels(RemotingXmlConfigFileData
configData, Boolean ensureSecurity)
   at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData
configData, Boolean ensureSecurity)'.
   at
System.Runtime.Remoting.RemotingConfigHandler.ConfigureRemoting(RemotingXmlConfigFileData
configData, Boolean ensureSecurity)
   at System.Runtime.Remoting.RemotingConfiguration.Configure(String
filename, Boolean ensureSecurity)
   at
ThoughtWorks.CruiseControl.Core.RemoteCruiseServer..ctor(ICruiseServer
server, String remotingConfigurationFile)
   at
ThoughtWorks.CruiseControl.Core.CruiseServerFactory.Create(Boolean
remote, String configFile)
   at
ThoughtWorks.CruiseControl.Service.AppRunner.CreateAndStartCruiseServer()
   at ThoughtWorks.CruiseControl.Service.AppRunner.Run(String action,
Boolean usesShadowCopying)
----------

Reply via email to