Is there any other solution that restarting the machine each time? I have this problem very often and it takes me a lot of time to save all my work, restart the server and continue.Can I free up those ports somehow manually?
Am Donnerstag, 6. September 2012 09:06:46 UTC+2 schrieb Ruben Willems: > > Hi > > you probably have the service and the console running at the same time : > one usage of each socket address (protocol/network address/port) is > normally permitted > > or it could be that you ran the service/console with a bad config, and it > crashed, > but the port is not set free (yet) > > Normally the port is freed again after a few minutes, or after a reboot > > with kind regards > Ruben Willems > > > > On 6 September 2012 08:55, santhosh yalamuri <[email protected]<javascript:> > > wrote: > >> the cruisecontrol.net server service on local computer started and then >> stopped. >> >> When i try to run ccnet.exe from command line i get the following errorr: >> >> >> D:\CCNET\CruiseControl.NET\server>ccnet.exe >> CruiseControl.NET Server 1.8.0.0 -- .NET Continuous Integration Server >> Copyright c 2003 - 2012 ThoughtWorks Inc. All Rights Reserved. >> .NET Runtime Version: 2.0.50727.3603 Image Runtime Version: v2.0.50727 >> OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3 Server >> locale: en-US >> >> [1:DEBUG] The trace level is currently set to debug. This will cause >> CCNet to log at the most verbose level, which is useful for setting up or >> debugging the server. Once your server is running smoothly, we recommend >> changing this set >> ting in D:\CCNET\CruiseControl.NET\server\ccnet.exe.Config to a lower >> level. >> [1:WARN] ! ! Tracing is enabled ! !It allows you to sent the developpers >> of CCNet very detailed information of the program flow. This setting should >> only be enabled if you want to report a bug with the extra information. >> When bug repor >> ting is done, it is advised to set the trace setting off. Adjust the >> setting in D:\CCNET\CruiseControl.NET\server\ccnet.exe.Config >> [1:DEBUG] [FileChangedWatcher] Add config file 'ccnet.config' to file >> change watcher collection. >> [CCNet Server:INFO] Reading configuration file >> "D:\CCNET\CruiseControl.NET\server\ccnet.config" >> [CCNet Server:DEBUG] [FileChangedWatcher] Add config file >> 'D:\CCNET\CruiseControl.NET\server\ccnet.config' to file change watcher >> collection. >> [CCNet Server:WARN] Configuration does not have any version information - >> assuming the configuration is for version 1.8 >> [CCNet Server:INFO] No projects found >> [CCNet Server:INFO] Log cache time set to 5 minutes >> [CCNet Server:ERROR] INTERNAL ERROR: Remoting configuration failed with >> the exception 'System.Reflection.TargetInvocationException: Exception has >> been thrown by the target of an invocation. ---> >> System.Net.Sockets.SocketException: Only >> one usage of each socket address (protocol/network address/port) is >> normally permitted >> at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, >> SocketAddress socketAddress) >> at System.Net.Sockets.Socket.Bind(EndPoint localEP) >> at System.Net.Sockets.TcpListener.Start(Int32 backlog) >> at System.Net.Sockets.TcpListener.Start() >> at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean >> exclusiveAddressUse) >> at >> System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object >> data) >> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel() >> at >> System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary >> properties, IServerChannelSinkProvider sinkProvider, >> IAuthorizeRemotingConnection authorizeCallback) >> at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary >> properties, IClientChannelSinkProvider clientSinkProvider, >> IServerChannelSinkProvider serverSinkProvider) >> --- End of inner exception stack trace --- >> at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, >> SignatureStruct& signature, IntPtr declaringType) >> at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, >> SignatureStruct signature, RuntimeTypeHandle declaringType) >> at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags >> invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) >> at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, >> Binder binder, Object[] args, CultureInfo culture, Object[] >> activationAttributes) >> at System.Activator.CreateInstance(Type type, BindingFlags >> bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] >> activationAttributes) >> at >> System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry >> >> entry) >> 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.Reflection.TargetInvocationException: Exception >> has been thrown by the target of an invocation. ---> >> System.Net.Sockets.SocketException >> : Only one usage of each socket address (protocol/network address/port) >> is normally permitted >> at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, >> SocketAddress socketAddress) >> at System.Net.Sockets.Socket.Bind(EndPoint localEP) >> at System.Net.Sockets.TcpListener.Start(Int32 backlog) >> at System.Net.Sockets.TcpListener.Start() >> at System.Runtime.Remoting.Channels.ExclusiveTcpListener.Start(Boolean >> exclusiveAddressUse) >> at >> System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.StartListening(Object >> data) >> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel() >> at >> System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(IDictionary >> properties, IServerChannelSinkProvider sinkProvider, >> IAuthorizeRemotingConnection authorizeCallback) >> at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor(IDictionary >> properties, IClientChannelSinkProvider clientSinkProvider, >> IServerChannelSinkProvider serverSinkProvider) >> --- End of inner exception stack trace --- >> at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, >> SignatureStruct& signature, IntPtr declaringType) >> at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, >> SignatureStruct signature, RuntimeTypeHandle declaringType) >> at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags >> invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) >> at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, >> Binder binder, Object[] args, CultureInfo culture, Object[] >> activationAttributes) >> at System.Activator.CreateInstance(Type type, BindingFlags >> bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] >> activationAttributes) >> at >> System.Runtime.Remoting.RemotingConfigHandler.CreateChannelFromConfigEntry(ChannelEntry >> >> entry) >> 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.RemotingConfigHandler.DoConfiguration(String >> filename, Boolean ensureSecurity) >> at System.Runtime.Remoting.RemotingConfiguration.Configure(String >> filename, Boolean ensureSecurity) >> at >> ThoughtWorks.CruiseControl.Core.RemoteCruiseServer..ctor(ICruiseServer >> server, String remotingConfigurationFile, Boolean disableRemoting) >> at >> ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateRemote(String >> configFile) >> at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.Create(Boolean >> remote, String configFile) >> at ThoughtWorks.CruiseControl.Core.ConsoleRunner.LaunchServer() >> at ThoughtWorks.CruiseControl.Core.ConsoleRunner.Run() >> at ThoughtWorks.CruiseControl.Console.AppRunner.Run(String[] args, >> Boolean usesShadowCopying) >> ---------- >> >> An unexpected error has caused the console to crash, please press any key >> to continue... >> >> >> >> >> > -- --- You received this message because you are subscribed to the Google Groups "ccnet-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
