Listener not logging connections
An 'lsrnctl status' tells me where the listener log file is situated. however the last connection logged dates back to some 4 months ago... Am i missing something?
It is possible to turn listener logging off. Check this link for details.
http://download-west.oracle.com/docs/cd/B10501_01/network.920/a96581/lsnrctl.htm#448974
Similar Messages
-
Rsyncd not logging connections
I have rsyncd running in daemon mode, and I am able to successfully backup files from my Windows PC to my Arch Linux PC over the LAN.
Unfortunately on the Linux side, there is no logging when this connects! Here is relevant config from rsyncd.conf:
log file = /var/log/rsyncd.log
syslog facility = daemon
I added the log file = /var/log/rsyncd.log as a test & it did not help.
The only info that is logged is when the daemon starts
2011/06/19 15:17:06 [12985] rsyncd version 3.0.8 starting, listening on port 873
Does anyone have experience with this? Can anyone post config/logs that are working?
Thanks.
Last edited by crrimson (2011-06-20 21:36:27)It is possible to turn listener logging off. Check this link for details.
http://download-west.oracle.com/docs/cd/B10501_01/network.920/a96581/lsnrctl.htm#448974 -
From sql developer I am trying to connect to database in my local machine. It shows the following below error. Any suggestions?
An error was encountered performing the requested operation:
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
Vendor code 12505lsnrctl results are as shown below
C:\Users\ndodd_000>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:40
:25
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 18-AUG-2013 15:29:41
Uptime 0 days 2 hr. 10 min. 50 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\ndodd_000\product\11.2.0\dbhome_1\network\admin
\listener.ora
Listener Log File c:\app\ndodd_000\diag\tnslsnr\Vamsi\listener\alert\log
.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "sysdba" has 1 instance(s).
Instance "sysdba", status READY, has 1 handler(s) for this service...
Service "sysdbaXDB" has 1 instance(s).
Instance "sysdba", status READY, has 1 handler(s) for this service...
The command completed successfully
lsnrctl service results
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:
:20
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "sysdba" has 1 instance(s).
Instance "sysdba", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:186 refused:0 state:ready
LOCAL SERVER
Service "sysdbaXDB" has 1 instance(s).
Instance "sysdba", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: VAMSI, pid: 904>
(ADDRESS=(PROTOCOL=tcp)(HOST=Vamsi)(PORT=49237))
The command completed successfully -
THE DATABASE CONNECTION IS LOST :;; WIERD ORA-01012 NOT LOGGED ON ERROR
ERROR: ORA-01012 NOT LOGGED ON ERROR
I AM USING A JAVA SWING INTERFACE (JDK 1.1.8), WHICH USES JNI TO CALL C PROGRAMS WHICH IN TURN CONNECTS TO THE DATABASE, ORACLE 8.1.6.
A DATABASE CONNECTION IS ESTABLISED IN THE MAIN CLASS BY CALLING A FUNCTION FROM THE CONSTRUCTOR.
FOR ALL OTHER FUNCTION CALLS WHICH ARE MADE FROM WITHIN THIS CONSTRUCTOR, THE CONNECTION STAYS.
BUT AFTER THE CONTRUCTOR CALL IS COMPLETE, DATABASE CONNECTION IS STRANGELY LOST. THUS ALL OTHER FUNCTION CALLS FAIL BECAUSE OF CONNECTION ISSUES GIVING ORA-01012. THOUGH IF I CHECK UP IN THE DATABASE, THE CONNECTION DOES FIND AN ENTRY.
SO IT APPEARS THAT SOMEHOW THE JAVA INTERFACE LOOSES TRACK OF CONNECTION. BUT STRANGELY ALL THE FUNCTIONS WORK IF CALLED FROM THE CONSTRUCTOR......... BUT THATS NOT THE IDEA.
PLEASE HELP, THIS PROBLEM IS BUGGING ME FOR WEEKS NOW.
THANKS
AMITapologise for the caps lock.
i am working on a previous system with java swing front end which alread uses jni, and connects to database using pro *c.
My problem is that the connection is lost as soon as the constructor of the main class is run, giving an
ORA-1012 NOT LOGGED ON ERROR.
But if i place the same calls in the contructor all the database call work.
It somehow appears that the java interface looses the connection context. Though the session does find entry in the oracle dynamic tables as long as i dont close the front end main window, thereby meaning that its the jave interface which looses the context.
part of the code of the main class eiquser.
//constructor
public EiqUser() {
super();
initMRI();
private void initMRI() {
try {
/* initialize geoManager environment */
int rccc = new EiqCfuncs().eiqInitEnv();
//eiqinitenv is a c function which connects to database using pro *C
EiqCfuncs cfuncs = new EiqCfuncs();
//EiqCfuncs has the prototypes of c functions used bye the java interface
this.ivjFileMenu.setText(cfuncs.eiqGetText(resNum.getTEXT_FILE_MENU())); // sets the menu name
and so on.........
public void eiqUser_WindowClosed(java.awt.event.WindowEvent windowEvent) {
new EiqCfuncs().eiqTermEnv(); // gives ora-1012 error
//eiqtermenv is supposed to disconnect from data base, but returns an ora-1012 not logged on erro
return;
//eiqtermenv closes the connection with the data base. But fails in this case. if i place the same call ( eiqtermenv) in the initMRI function or the contructor it succeeds.
Plus if i dont use the java interace and use a c stub for executing the same sequence of functions, then i dont face any problems.
the proc calls exectuted ultimately by...
:::eiqinitenv
exec sql connect using :sqlid identified by sqlpw; // succeeds giving sqlerr.sqlcode=0;
::::eiqterm env
exec sql commit work; //fails giving 0ra-1012 error
exec sql rollback work;
Why is the java interface loosing track of the connection once done with the constructor of the main class?? The session still finds an entry in the oracle dynamic tables.
Please help
Thx
Amit -
Getting Error ORA-01012: not logged on while connecting as sys
We have just upgraded from Oracle 8.1.7 to Oracle 9.2.0.5. Currently we have 2 databases in oracle 9i - db2 and scen. scen has been newly upgraded to Oracle 9i.
When I set the ORACLE_SID to scen (as per entry in oratab), and connect to sqlplus using sys / as sysdba, it connects to an idle instance. and displays the error message ORA-01012: not logged on. I do not encounter this when I connect to the other database db2. There should be some settings which have been missed out.
Could anybody help me out with this....I managed to get the settings corrected.Thanks anyway....
-
Oracle Instance shows connected,Yet am ORA-01012: not logged on
Hi experts,
Please help in log in to my database, which unfortunately was happening an hour before, but now it is not working
In between I only did a change in some permission stuff for my base directory, but later brought it back to original permissions.
Still it is haunting me..
I have set up my SID/HOME/PATH perfectly, tried to check processes at OS level, they are less, still nothing is happening though database is up and running.
I can see it at OS level and through ALert log..
==================
oracle@dap-csw-ora01 /home/oracle > ps -ef|grep pmon
oracle 3145946 1 0 18 feb - 0:44 asm_pmon_+ASM1
oracle 7995430 1 0 18 feb - 0:50 ora_pmon_adobe_2
oracle 13828212 11141232 0 14:59:09 pts/0 0:00 grep pmon
oracle 7471386 1 0 18 feb - 0:57 ora_pmon_fxss_1
oracle@dap-csw-ora01 /home/oracle > sqlplus
SQL*Plus: Release 11.2.0.3.0 Production on Thu Feb 21 14:59:12 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter user-name: /as sysdba
Connected.
SQL> show user
USER is "SYS"
SQL> select instance_name,status from v$Instance;
select instance_name,status from v$Instance
ERROR at line 1:
ORA-01012: not logged on
Process ID: 0
Session ID: 0 Serial number: 0CKPT wrote:
Now I understood,..it is not a problem with permission something else is making this mess..though unknown..
I bounced one of the database after taking permission from apps team, Now it works perfect...no issue whatsoever..
But I want to know the reason..I dont want to face it any more...Whenever oracle installs[OUI], It knows well what the permissions to be assigned and what needed.
You should not disturb them, What are the users, groups, executable, read, write permissions earlier and after changes and now?
And i interestingly wanted to know why you wanted to test such things on production. Its like playing with fire so be cautious or else it costs a lot :)Basha,
I don't think that there was any other way for the OP to solve the error. Either he could wait (which doesn't help normally in this error) or had to bounce the db, which he did. Also, with permission he meant, telling to the App team and than going for a bounce. I can't a mentioning of changing permissions anywhere .
Aman.... -
turned off my desktop mac, now both my mouse and keyboard are not connected. i am not logged in yet as well, dont know what to do ?
Try resetting the SMC (no peripherals required).
Barry -
Does anyone know what is this mean and how to fix this?
I checked the records and they are not being replicated, and the connection to the subscriber are not active for some reason; but I don't know how to fix it.
Thanks
Philly Database developerIt basically means that the replication agent has not logged a status message back to the replication subsystem.
Basically you can't stop it, and these messages let you know if the agent has hung.
However you can delay the time before the subsystem will report this message. Do this by the following query - this will delay this message to 10 minutes from the default of 5 minutes. I have set this to days when replicating over ISDN/Phone lines.
USE master
exec sp_changedistributor_property
@property = N'heartbeat_interval',
@value = 10;
GO
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
after changes below query...USE master
exec sp_changedistributor_property
@property = N'heartbeat_interval',
@value = 10;
GO still not working... -
Good Day,
I'm encountering this problem
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
here's the java code
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
String url = "jdbc:oracle:thin:@//10.143.85.21/UCSL";
String userName = "mssoriano";
String passWord = "mssoriano_4319";
conn = DriverManager.getConnection(url, userName, passWord);
and here's my tnsnames.ora
UCSL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.143.85.21)(PORT = 1521))
(CONNECT_DATA =
(SID = psusldb11)
Please do let me know if what may the cause of the problem and how to solve this. Thank you and God bless.Hi,
see this example
Connect to Oracle DB via JDBC driver
Frank -
When I try to connect to iCloud, it says there is a server error and does not log me in. This happens every time. How can I circumvent this server error?
Try restarting your computer and your router.
If there is a specific error code, take a look at this article.
iTunes: Specific update-and-restore error messages and advanced troubleshooting
http://support.apple.com/kb/TS3694 -
I can't access to my ipad In MacBook Air. Error shows this device no loger connected or error shows that no response from divice and iTunes can't connected or not found divice, what's the problem? I reset my ipad but no response
Hi ..
Which OS X is installed on your Mac ?
Click the Apple () menu top left in your screen. From the drop down menu click About This Mac. The version is noted there.
Make sure your Mac OS X software is up to date.
Disconnect the iPad from your Mac.
Open System Preferences > Software Update > Check Now
If any updates are required, make sure to restart your Mac after the updates are installed then connect your iPad and see if iTunes recognizes it under Devices. -
I can not log in to iMessage iOS 6 iPhone 5. Error says " Could not sign in. Pleasecheck your network connection and try again. I do have network connection since I can browse the web using wifi!
I have tried using cellular data connection or wifi and I can not sign in?Go to Settings>General>Date and Time>Set Automatically>On.
-
The Daily App -- "not logged in" and "cannot connect to itunes store"
Hello,
I subscribed to the Daily App for 1 year. It shows under my itunes subscription.
Two problems: When I log into the daily app, I get "Can't connect to itunes store" 2 or 3 times. I can just hit ok and they'll go away.
The second, and more annoying, is that when I do the crossword puzzle, I don't see anything on the leaderboard and at the bottom, below the puzzle, it says "not logged-in." But when I click the little settings thing, I am logged in. I'm able to comment on articles.
Any ideas?
I've rebooted, restored from backup, reinstalled the app.I have the same issue, I've tried the following and nothing has worked:
I am running the newest version of The Daily, iTunes version 10.2.1, Mac OS 10.6.7 on my MBA and iPad 4.3.1. I've deleted The Daily from both the iPad 2 and the Mac, rebooted both and reinstalled with no luck, it still gave me the same error message that it could not connect to iTunes. I then did a full restore with no luck. I just completed erasing everything on the iPad, deleted all of the iPad apps from my MBA and set up the iPad as a new iPad not using anything from my old setup, still no luck. I am still getting the same error message: "iTunes Error Cannot connect to iTunes".
When I go into account Information it does not recognize my email and password even though I reset it in iTunes. Everything else on the iPad works with that email and password including all the other paid apps I reinstalled trying to fix this issue.
PLEASE HELP -
Hello Everyone,
Suddnly stop merge replication. transaction cannot replicated from publiser to sunscriber.
I tried to set heartbeat_interval= 5 but still not working..
The replication agent has not logged a progress message in 5 minutes. This might indicate an unresponsive agent or high system activity. Verify that records are being replicated to the destination and that connections to the Subscriber, Publisher, and Distributor
are still active.
What is the problem with merge replication and why this erroe comes..
any solution of this error or reconfigure merge replication?
please give me a solutionRun profiler on the subscriber to see what the merge agent is doing there. It is possible that there is some blocking that is causing the agent to hang. You might want to set the heartbeat to 10 or higher. The default is IIRC 5.
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941 -
SSH connections not logged on wtmpx
Hello,
which patch enables ssh to log connections to wtmpx?
Actually the "last" command only shows login data about assigned pts, but if i
connect using:
ssh -T root@sunbox
no record is logged on wtmpx. Also the "w" and "last" command doesn't show
the user root as logged in, while... it is.
I checked on solaris 10 and this issue is fixed, as ssh connections are logged
apart from the terminal allocation.
Someone know wich patch is needed on solaris 9 to solve this problem?
Thank you in advance
RobertHello,
which patch enables ssh to log connections to wtmpx?
Actually the "last" command only shows login data about assigned pts, but if i
connect using:
ssh -T root@sunbox
no record is logged on wtmpx. Also the "w" and "last" command doesn't show
the user root as logged in, while... it is.
I checked on solaris 10 and this issue is fixed, as ssh connections are logged
apart from the terminal allocation.
Someone know wich patch is needed on solaris 9 to solve this problem?
Thank you in advance
Robert
Maybe you are looking for
-
Well, I put my whole question into the title. I have one old backup that is about 3.5g and I would like to restore just some on its content and then delete the rest to free up storage. I am a new user of icloud and find it difficult to access my cont
-
I think my iPod is well and truly stuffed
Hello all I need some serious help with my iPod I have a 20GB iPod photo which was working supremely while I was in Europe and I got home and downloaded some more music and also downloaded the newest version of iTunes which then proceeded to wipe my
-
Clear iPad Cache of Shared Library
Does anyone know how to clear the cache of iTunes Home Sharing on the iPad? I'm making changes to the sorting of my shared TV Shows and I cannot get the ipad to show my changes. The only way I can figure out is if I restore the device and then connec
-
How can I change store from US store to Emirati store on my iphone?
How can I change store from US store to Emirati store on my iphone?
-
Implementation restriction 'apps.fnd_api.g_false' call from custom form
Hi guys the following PL/SQL bit executes successfully from a toad session. db user "apps" SET SERVEROUTPUT ON; DECLARE v_api_return_status VARCHAR2 (1); v_qty_oh NUMBER; v_qty_res_oh NUMBER; v_qty_res NUMBER; v_qty_su