The following errors are received in event_log when Post stopped due to ORA-12514:
Error 2017-08-30 14:17:10.060957 25753 836671328 Poster: 12032 - OCIServerAttach failed with ORA-12514 (posting from SOURCE_SID, queue QUEUE_NAME, to TARGET_SID) [module osp]
Info 2017-08-30 14:17:10.061318 13359 3844917088 Poster exited with code=1, pid = 25754 (posting from SOURCE_SID, queue QUEUE_NAME, to TARGET_SID)
The simplest workaround is to restart Post after a brief pause which may sometimes work, but if it does not work, then it may need to be investigated at the database level. The reason for this workaround is obvious from the description of this Oracle error as shown below. However, there can be many other reasons for this Oracle error to occur and being an Oracle issue, one would need to fix that for Post to work.
Here is the description of the ORA-12514:
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.
Action:
- Wait a moment and try to connect a second time.
- Check which services are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.
- If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.
- Check for an event in the listener.log file.