Conectivity Issues: service_died * fcrsgx * 12547 in listener.log
This is a 10g database (10.2) monitored through Grid Control. Every
once in a while we get a TNS timeout on the EM side, and at the same
time we get something like this in the listener.log:
02-JAN-2009 21:04:45 * service_update * fcrsgx * 0
02-JAN-2009 21:08:30 * service_update * fcrsgx * 0
02-JAN-2009 21:08:30 * service_died * fcrsgx * 12547
TNS-12547: TNS:lost contact
02-JAN-2009 21:08:42 * service_register * fcrsgx * 0
02-JAN-2009 21:08:54 * service_update * fcrsgx * 0
Now, this outage is noted by CT.
We are opening an SR with Oracle Support, but they work VERY slow, so
perhaps someone here has an insight into this problem.
Does anyone know what the cause could be?
TIA
01 - Is there some kind of a IP Scanner/Firewall running, which keeps scanning port/address of the listener? For this you need to check for the TCP timeout parameter in your firewall.
02 - If not, then you need to contact Microsoft for a solution to the "Slammer Worm", as a result of which database traffic thrown on port "1434" is thrown away and dropped off.
03 - Have you verified if the "listener.ora" file has reached or crossed its maximum size limit? If this is the case then you need to simply archive or clear/delete the file and restart the listener.
04 - Lastly, check if your machine has more network card, which are on the same subnet. Switch off the one that isn't in use.
Hope this helps.
Similar Messages
-
Slow database connections due to large listener.log
hi gurus
A 9.2.0.8 database running on AIX system,it took nearly 1 seconds to make a connection to the database. I cleared the listener.log which is around 1.2g and restart the listener and the problem solved.
I want to why this happed?Does large listener.log will degrade the performace of listener?
Thanks in advance!Hi,
Yes, i also faced the same issue and after trimming the listener log, problem got resolved. As far my knowledge as big the log file is it takes time to write in log file (its a general concept if you have notepad file of 100MB and want to write something end of the file then it takes time to load in memory or moving cursor to last position for writing, same concept is here). -
TNS-12547 lost contact - listener log has TNS-12516??
OS: Win98
DB: Personal Oracle8i 8.1.6
Attempting to make connection from JDBC and eventually found out even TNSPING has problems. I have a listener configured on port 1521, using 127.0.0.1 as the host (I'm doing development on same machine).
I do lsnrctl start LISTENER, but afterwards a lsnrctl status LISTENER returns nothing. Not sure if it only replies if there is a problem. Anyway, it seems like the listener is running, otherwise I'd get a different error, like no listener.
I can't find docs on TNS-12516, and the explanation of 12547 isn't very helpful. The full error text in the listener.log is as follows:
22-JUN-2001 16:05:24 * handoff * giop * 12516
TNS-12516: TNS:listener could not find available handler with matching protocol stack.
I can provide more info if needed.I also have the same problem. It doesn't seem to happen regularly but off and on. When this database state occurs, I can't even shutdown the database. It appears to hang due to an unknown cause. When I check my listener log, I see that the error messages I was getting were the TNS-12516 errors. The really odd thing is that some of my Perl DBI and PHP programs were still going through without a problem while my sql*plus and discoverer connections were dying with the TNS-12516 error. If anyone has ANY ideas at all, please respond.
-
Advice re best practice for managing the scan listener logs and list logs
Hi friends,
I've just started a job as a RAC dba administrator for some big 24*7 systems, I've never worked with clusterware and RAC.
2 Space problems
1) Very large listener_scan2.log in /u01/11.2.0/grid/log/diag/tnslsnr/<server name>/listener_scan2/trace folder
2) Heaps of log_nnn.xml files in /u01/11.2.0/grid/log/diag/tnslsnr/<server name>/listener_scan2/alert folder (4Gb used up)
Welcome advice on the best way to manage these in the short term (i.e. delete manually) and the recommended practice and safest way (adri maybe not sure how it works with scan listeners)
Welcome advice and commands that could be used to safely clean these up and put a robust mechanism in place for logfile management in RAC and CLusterware systems.
Finally should I be checking the log files in /u01/11.2.0/grid/log/diag/tnslsnr/<server name>/listener_scan2/alert regulalrly ?
My experience with listener logs is that they are only looked at when there are major connectivity issues and on the whole are ignored.
Thanks for your help,
Cheers, RobHave you had any issues that require them for investigative purposes? If not, just remove them. Are the logs required for some sort of audit process? If yes, gzip them to a location where you can use your OS tape backup policies to retain them for n-days. Once you remove an active file, it should recreate the file and continue without interruption.
-
Errors in alert log and listener log and "alter database mount exclusive"
Hello!
I need a help.
Database 11R2 works under MS Windows Server.
Whwn I start it using Services, according alert log it is started by command "alter database mount exclusive".
Next - alter database open.
After this, it seams that program, which should put data into database, can not work with it, because I see errors in alert log: ora-12537, 12560, 12535, 12570, 12547.
What does itmean and what to do?
This is extract from alert_log
ORACLE_BASE from environment = C:\Oracle
Mon Feb 04 14:54:53 2013
alter database mount exclusive
Successful mount of redo thread 1, with mount id 1458539517
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount exclusive
alter database open
Thread 1 opened at log sequence 3105
Current log# 3 seq# 3105 mem# 0: C:\ORACLE\ORADATA\xxx\REDO03.LOG
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is AL32UTF8
No Resource Manager plan active
Mon Feb 04 14:55:04 2013
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Mon Feb 04 14:55:06 2013
QMNC started with pid=20, OS id=2860
Completed: alter database open
Mon Feb 04 14:55:11 2013
Starting background process CJQ0
Mon Feb 04 14:55:11 2013
CJQ0 started with pid=25, OS id=2000
Mon Feb 04 14:55:11 2013
db_recovery_file_dest_size of 4977 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Mon Feb 04 15:00:29 2013
Starting background process SMCO
Mon Feb 04 15:00:29 2013
SMCO started with pid=32, OS id=3212
Edited by: kogotok1 on Feb 4, 2013 4:54 PMThank you.
But in the same time - when I see in alert log those error messages ora -12560, 12537,12535,12570 and so on - clients programs, whiie try to connect, hang up.
For sql plus takes 20 minutes to connect.
lsnrctl status gives the following
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 04-FEB-2013 16:01
:46
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx-BD.mosxxx
.elektra.net)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 01-FEB-2013 10:22:48
Uptime 3 days 5 hr. 39 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\Oracle\listener.ora
Listener Log File c:\oracle\diag\tnslsnr\xxx-BD\listener\alert\l
og.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxx-BD.mosxxx.elektra.net)
(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XXX" has 2 instance(s).
Instance "XXX", status UNKNOWN, has 1 handler(s) for this service...
Instance "xxx", status READY, has 1 handler(s) for this service...
Service "XXXDB" has 1 instance(s).
Instance "xxx", status READY, has 1 handler(s) for this service...
The command completed successfully
To tell the truth I am confuse - I thought I have only 1 service "XXXDB" and 1 instance - "xxx".
May be I have wrong entries in tnslsnr.ora? -
ORA-12535 error but TNSPing Works and listener logs connection
We recently migrated our firewall and then started seeing this problem for users outside of our own subnet. However, although the user gets this error when launching the application, the workstation is able to TNSPing the server successfully and listener.log does log the connection.
I was hoping someone might have some ideas or suggestions as to what might be causing the error despite the apparent connectivity to the database.
Thanks in advance.Thanks so much for the suggestions.
1. telnet <host> 1521 connects
2. sqlplus <username>/<pwd>@<instance> returns the ORA-12535 error
Finally, the sqlnet.log on the client side doesn't log anything when launching the application so I have no information as to what exactly is occurring at that point. However, the sqlplus command above logged the following:
VERSION INFORMATION:
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
Time: 26-JAN-2007 08:43:41
Tracing not turned on.
Tns error struct:
nr err code: 0
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 60
nt OS err code: 0
I've been doing more research on this -- please note that I'm not an Oracle dba so I am just getting familiar with lots of things -- and have learned that user connect requests come in through 1521 but are then randomly redirected to other ports. Given the new firewall, I'm wondering if it's an issue that the random ports being selected aren't open for the users outside of our subnet. Does this sound like a plausible explanation? If so, how do administrators generally handle this -- by opening the necessary ports on the firewall? Is there some other standard approach?
Again, thanks so much for any assistance you can provide. -
Listener.log error notification
How can i get a notification when an error arise in the listener.log?
I was able to setup the alert.log notification and when an error arise there i receive a mail.
But i dont know how to set this up for the listener.ora.
I have sometimes TNS- error and i have to manualy search the listener.log to see it.
Im using oem grid control 10.2.0.1 and my target oracle databases are on 10.2.0.3.
all running on linux x86.Im having those 2 tns errors sometimes:
TNS-12519: TNS:no appropriate service handler found
TNS-12516: TNS:listener could not find available handler with matching protocol stack
On metalink, it says to Increase the value for PROCESSES.
I increased it from 250 to 350. This problem is happening less frequently since.
But once in a while, it happens. I need to be notified when it's happen.
If u use a user defined metric for this, what do i do? I issue a linux command on my listener.log file? If so which command? -
Turning off listener.log?
I have a huge listener.log file (around 9GB) and it is causing storage issues. Is it safe to turn the logging off in the lstnctl? Another alternative is to turn it off, rename the listener.log file and then turn back on and archive the old listener file?
Also, having a file this big on a Unix system, is it possible that turning the logging off will increase system performance?
Thanks,You can 'rotate' the listener log file by using a script, like
#!/usr/bin/sh
#set -vx
msg_exit()
sts=$1
shift
echo "$@" >&2
exit $sts
TNS_ADMIN=${TNS_ADMIN:-${ORACLE_HOME}/network/admin}
LISTENERORA=$TNS_ADMIN/listener.ora
[[ ! -f "$LISTENERORA" ]] && msg_exit 1 "${LISTENERORA} not found. exiting"
# bepaal de naam van de listener
lsnr_name="`awk '/^LISTENER/{print $1}' $LISTENERORA | tr [A-Z] [a-z] `"
echo $lsnr_name
# bepaal de naam van de log file
logfil="`awk '/LOG_FILE/ {print $NF}' $LISTENERORA`"
logfil=${logfil:-listener.log} # defaults to listener.log when not set
# bepaal de naam van de log directory
logdir="`awk '/LOG_DIRECTORY/ {print $NF}' $LISTENERORA`"
logdir=${logdir:-${ORACLE_HOME}/network/log} # defaults to $ORACLE_HOME/network/log when not set
TIMEST="`date +%Y%m%d%H%M%S`"
# bepaal of de listener draait
if (ps -ef | grep "\"tnslsnr $lsnr_name\"" | grep -v $$ >/dev/null)
then
# listener draait
echo "$lsnr_name $logdir/$logfil"
echo "now stopping ${lsnr_name}"
lsnrctl stop $lsnr_name
echo "mv ${logdir}/$logfil} ${logdir}/${logfil}.${TIMEST}"
mv $logdir/$logfil ${logdir}/${logfil}.${TIMEST}
touch ${logdir}/${logfil}
echo "Now starting listener $lsnr_name"
lsnrctl start $lsnr_name
fi
Sybrand Bakker
Senior Oracle DBA -
Need to Create a New Listener Log file 9i
Hi, I have a issue with a oracle 9i database.
First the listener.log file is 1.2G not good on a 25G server..
How do you create and delete the listener file? Windows 2000 OS...
Second I also have an issue with the archive log files... I have about 150 file 102M each...Again Not good...
Need HELP drowning in a sea of oracle... Given the Shrink command....
At least the Listener issue first then the archive log problem..
Thank you...carlo_sc wrote:
yes, we normally do a full daily backup and the archive logs are then deleted..But the Job didn't finish
last night. Also we had big Network issue yesterday and I believe that caused the issue with this server
causing an excessive amount of log files to be created...
So with simply thing with lister is just too:
1) stop listener service
2) delete Log file.... (that won't mess anything up on restart ) I'm very skittish about manually deleting stuff from oracle..
Got burned in Sept of last year big timeIt's just a log file. It's for your own use if needed. oracle doesn't use it or require it. You even have an option in the listener to not even write to it in the first place.
3) restart listener service
The archive logs : What if I move some of the files to another location then perform the a full daily backup will the that
solve my archive log issues....
Thanks for all the quick responses
Edited by: carlo_sc on Jan 15, 2010 10:09 AMYou say you already have a backup job that gets the archivelogs and deletes them after backup? And the only real problem here is that it failed? Fix the failure and run it again. You can, in a pinch, manually move the archivelogs, but then YOU are responsible for keeping up with them.
Edited by: EdStevens on Jan 15, 2010 9:32 AM -
Stop to write to listener.log !! why ???
Hi,
Since the listener.log grows so quick and becomes large (~10M) , i zip it and create
another blank listener.log in the same location. However, the server stops to write to the log!!!!!!!
Could anybody tell me why ???
(ps. i set the same permission as before and
the owner is the dbadm)
Thanks a lot
Regards
Stephenwhat do you mean by 'create another blank listener.log'? this file is automatically generated by the server, so if you ziped it, a new "listener.log" will be created next time the listener is started or stopped.
try to stop/start your listener see what happend.
hope this will help
James
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by stephen cheng:
Hi,
Since the listener.log grows so quick and becomes large (~10M) , i zip it and create
another blank listener.log in the same location. However, the server stops to write to the log!!!!!!!
Could anybody tell me why ???
(ps. i set the same permission as before and
the owner is the dbadm)
Thanks a lot
Regards
Stephen<HR></BLOCKQUOTE>
null -
Windows bactch job to trim the Listener log
Hi All ,
Can you help me to write a Windows batch job to trim the listener.log on periodically.
I have the below steps, which i do manually but i won't which needs to be put in batch.
copy listener.log listener_<today>.log
lsnrctl set log_file listener_new.log
del listener.log
lsnrctl set log_file listener.log
lsnrctl reload
del listener_new.log
Appriciate the Help.
Thanks in Advance.Have a look here:
http://www.wikihow.com/Write-a-Batch-File
You have the commands, so you only need the batch file around it
HTH
FJFranken -
TNS-12505 in listener.log when opening SqlDeveloper 2.1 (maybe a bug?)
Hi I've a strange problem:
1 download sqldevloper
2 create a connection using Connection type= TNS. Is select an entry in my tnsnames.ora to connect to an istance X (service_name is specified) on server Y. The first strange thing is that every entry in the tnsnames is displayed two times.
3 If I test the connection it works..
4 Close sqldeveloper
5 When I open sqldeveloper (just open the program without connect to anything) i receive no errors but i see in my listener.log (of the server Y) :
04-DIC-2009 11:39:31 * (CONNECT_DATA=(SID=null)(CID=(PROGRAM=)(HOST=__jdbc__)(USER=null))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.8.105)(PORT=2285)) * establish * null * 12505
TNS-12505: TNS: il listener non ha risolto SID indicato nel descrittore di connessione
192.168.8.105 is my ip address
I don't understand why it uses SID= instead of SERVICE_NAME=
If i place the mouse cursor over the connection icon (without click) i see an error TNS-1252 with the connection desripter: Y, 1521,NULL (i think that this null is causing all this problems) .
Why? When sqldeveloper opens it tries to test the connection?
Even if it is like this the connection should work: if I try to connect whit that connection everything works fine.
I do something worng? It is a bug?
With SqlDeveloper 1.5 everything works fine. Everything is the same so I guess that is a problem of the new version (2.1).
Oracle client oracle 10.2, SqlDeveloper Version 2.1.0.63, Windows XP Professional Service Pack 3
Hope someone can help me, if something isn't clear I can post more details (just tell me what you need).
Thanks, best regards.
Adriano AristarcoHi Adriano,
"network alias"
A network alias that has been found by SQLDeveloper java (as opposed to the jdbc driver) in tnsnames.*.
"connect identifier"
Uses oci 'thick' driver i.e. oracle C code find the tnsnames entry for you - requires additional Oracle client side software such as instant client. Without the additional software you get 'no ocijdbc11 in java.library.path'
Do you have multiple entries due to multiple tnsname.* files (move the inappropriate tnsname.* to a different backup directory). If you picked the 'wrong one' i.e. one with the right name but from an old tnsnames.* file, it might not be able to connect so you get error messages.
You cannot use "connect identifier" unless you have the additional Oracle client side software (I can test the latest instant client to confirm that works if you want to try this option, I do not have the version numbers for this in easy reach).
-Turloch -
Different listener log file in RAC system
we have 4 nodes 11.1.0.7 RAC at redhat 5.1 linux system.
I just find there are two listener log file (listener.log; listener_nodename.log ) in each node.
I want to know which difference function is in both listener.log and listener_nodename.log?
When or which condition does node run( record data) in listener.log?
When or which condition does node run( record data) in listener_nodename.log
I saw the 3 node3 listener_nodename.log is wroking on and one node listener.log is workig on.
why?
Does some experts explain this point for me?
ThanksI make some clears for this requirements.
we have a schedule backup and stores in ASM diskgroup in SAN.
As system admin and policy of SAN disaster recovery, we need to generate backup in a local file system.
in this case, we only backup database plus archival files in external file system. but I still saw snapshot control file is still put into default linux location.
I am not able to see this snapshot in external file system.
For SAN disaster recovery, do we need to save a control file snapshot in external file?
Can I apply BACKUP CURRENT CONTROLFILE TO DESTINATION "external file path" for SAN disaster recovery?
Thanks in advance!
Jin -
Information listener.log on database
Good afternoon,
I got problem to get from what souce that connect to oracle.
my question :
does oracle save the information about the listener.log in database ?
I can see in listener.log there are information about source program that connect
to oracle, example EXCEL.EXE
I want to use it to create logon trigger and not allowed user to connect using ms excel.
If I use v$session field program, it seem I could not get it.
example :
if the user used shortcut in screen then the information exel.exe is not there.
ThanksThank you very much for replaying.
If the user using the shortcut, it doesn't show the excel.exe or access.exe,
(actually if v$session on field program show it, it's ok for me, because if they rename the name acess.exe become my.exe, I will validate in my trigger logon, only sqlplusw.exe or ifrun60.exe are allowed to connect to the oracle, so another products are not allowed).
my testing :
1. open microsoft Access then open connect to oracle
SQL> select program from v$session
PROGRAM
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE
SQLPLUSW.EXE
C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE
11 rows selected.
2. create shortcut for Ms Access file on desktop then open it (double click) then connect to oracle
SQL> r
1* select program from v$session
PROGRAM
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
ORACLE.EXE
C:\Documents and Settings\Administrator.USR1\Desktop\Shortcut to
SQLPLUSW.EXE
C:\Documents and Settings\Administrator.USR1\Desktop\Shortcut to
11 rows selected.
test no.2 didn't show up the MSACESS.EXT, but
C:\Documents and Settings\Administrator.USR1\Desktop\Shortcut to
and I guess it was cut because the length field program on V$session only 64 char.
I think PRODUCT_USER_PROFILE is basing on user, I have never tried it yet, but if base on user, I don't think I can use it. I need to protect base on computer / terminal.
any suggestion ? -
BMC Patrol monitoring listener.log in xml not txt format
Hi !
Oracle 11g, PatrolAgent V3.9.00.02i, KM 8.11.00
My company uses BMC Patrol to monitor listener.log. Patrol knows listener.log's path from command:
lsnrctl status <listener_name>
and gets path to listener.log in xml fromat: log.xml from 'Listener Log File' field.
The problem is that when Patrol discovers an error puts last 100 lines from that log into email and sends it to me. Obviously it is in xml format while I prefer txt format.
Questions:
1. how can I force listener to show path to listener.log in txt format in 'Listener Log File' field ?
2. how can I tell Patrol to use different path to listener.log instead of one form 'Listener Log File' field ?
Thanks in advance.I asked on BMC forum also but no helpful either. Does anyone know is it possible to configure listener to show path to listener.log insted of log.xml in status command ?
Maybe you are looking for
-
My Macbook Pro (early 2010, Intel 160 SSD) stopped working this weekend. I got the white screen with a folder with a question mark inside. I checked if the drive was ok, and it seemed to be working, so i plugged it in a running Windows machine and bo
-
Error occurred during WM processing for posting change delivery
Hi Experts, I am getting the following error when i try to create Outbound delivery aginst PO. "L9 612 Error occurred during WM processing for posting change delivery" Diagnosis The indicator AUFER from the delivery type contradicts the stora
-
How to overcome error 1500 when installing reader on Windows 8?
Trying to install Acrobat Reader on Windows 8. After downloading, I keep getting an error 1500 (another installation is progress). I've tried doing the recommended registry edit (removing an "inprogess" key -- it's not there) and running msiexec/un
-
Bind variable and parameter problem
Hello, I'm migrating a complex report from Oracle Report to BI Publisher. Now I have some problems with the bind variables. In order to explain the question clearly, I simplified the code as below. The value of e1 and sum1 can be generated correctly.
-
Sorry to Bother All again, I kno that my PSU is shite and I am working around a replacement, but my processor heat on PC Alert 4 is showing it in the 50's I am hoping this is incorrect as I have removed my big Cooler Master Jet and inserted the OEM H