Tuesday, March 26, 2013

RemotingContainer Service May Not Start Due to Event Viewer Log File Being Full


Applies to:
Oracle Agile Product Data Management for Process - Version: 6.0.0.3 and later [Release: 6.0.0.0 and later ]
Information in this document applies to any platform.
Symptoms
After configuring Content Synchronization and Syndication (CSS), the RemotingContainer service may
sporadically fail to start.
The following error message appears in the remotecontainer-stdout.log file,
"System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port)
is normally permitted at RemotingContainer.RemotingContainer.RunRemoteServer_Internal()."
An additional symptom of the syndication event log file being full is the error message listed below (from the
Windows application event log):
The description for Event ID ( 0 ) in Source ( Syndication Services ) cannot be found. The local computer may
not have the necessary registry information or message DLL files to display messages from a remote computer.
You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details.
The following information is part of the event: System.ComponentModel.Win32Exception: The event log file is
full
at System.Diagnostics.EventLog.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type,
String[] strings, Byte[] rawData, String currentMachineName)
Steps to Reproduce:
1. Start > Settings > Control Panel > Administrative Tools > Services.
2. Select 'RemotingContainer' Service
3. Click Start.
4. RemotingContainer service fails to start.

Business Impact:
When the remoting container is not running, there are a number of specialized background processes that will
not work. For example, it is not possible to transfer admin data from one environment to another
environment.


Cause

As CSS polls every 5 minutes generating a large number of information events in the Syndication event log, the
log can become full in less than 7 days. The full event log, in turn, prevented the remoting container service
from starting correctly resulting in the error,
"System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port)
is normally permitted at RemotingContainer.RemotingContainer.RunRemoteServer_Internal()."

Solution
It is necessary to ensure that the event log will not become full too quickly without the option to write to the
log. For this reason, follow the procedure below to change any event log that will become full in less than 7
days:
1. Navigate to Event Viewer - Start > Settings > Control Panel > Administrative Tools > Event viewer or
Navigate to Start > Administrative Tools > Event Viewer
2. Right mouse click on the syndication event log and choose properties.
3. Change the syndication event log option from "Overwrite events older than 7 days" to "Overwrite events as
needed".
4. Click OK to save the change.

Note
: If you would still like to maintain a 7 day log, another option would be to increase the size of the log
file. The option to change the event log size is also found under the properties of the event log.

No comments:

Post a Comment