Regarding listener.log file

Hi,
The listener.log file is showing the following code snippet.But when I put this code to my source file (Automation Plugin), it is giving error as 'FullPathToAlias' unrecognised symbol.
// Move this to the top of the routine!
Handle aliasValue = NULL;
FullPathToAlias("C:\Test.jpg", aliasValue);
Do I have to include any header file? Does any one have any idea? I am just wanting to dispaly an image preview on dialog box(Automation plugin).
Please give any idea how can I get the image referrence for the first time from the Hard Disk?
Can anyone help me out.....................?
Thanks and Regards

Mmh, so you're trying to do something like a file-preview?
I don't know if this is possible, mainly because at the moment
I can see no way getting any image data before you've loaded
the image in photosphop (with just using the sdk and not any
mac/win api)
If you're developing only for windows targets, you might want to
try to develop a mfc type plugin like the "mfcplugin" from the filter-
plugin examples. It does give a preview of the result of an filter
applied to an image, so I'd guess you can change this with the help of the win-api to preview some picture file. For MFC there are also some
nice solutions on codeproject you could easily integrate in your plugin:
a thumbnail control:
http://www.codeproject.com/miscctrl/thumbnailctrl.asp
and a picture control:
http://www.codeproject.com/cs/miscctrl/ScalablePictureBox.asp
Otherwise the "dissolve"-plugin from the filters example is for mac and win os's and offers also a preview (of a filter application), maybe this will give you some more insight.

Similar Messages

  • Listener log file questions

    I have few queries regarding listener.log file.
    1) What is the use of listener.log file?
    2) Does listener.log file need to be purged?
    3) When is this Listener.log will be created?

    1009230 wrote:
    I have few queries regarding listener.log file.
    1) What is the use of listener.log file?
    take a look at what is IN the log file. Imagine how having access to that information might be useful. The use of the listener log is the same as any othe process log. 99% of the time you have no reason to even look at it. But that other 1%, it is invaluable.
    2) Does listener.log file need to be purged?
    Only if you need the disk space.
    3) When is this Listener.log will be created?Whenever the listener starts and finds it has not already been created.

  • Listener log file trimming

    Hi all,
    I have a production database on HP-UX server. and in my /oracle directory, i have the listener.log and sqlnet.log files.
    as the size of the the oracle directory increased, i have trimmed the listener.log and sqlnet.log files. those are trimmed but,
    the percent used in the oracle drive has increased instead of decrease.
    i used this command to trim
    listener.log
    sqlnet.logtotal used free
    /dev/vgdb/lvol1 76808192 19619397 53615115 27% /oracle -- before trimming
    /dev/vgdb/lvol1 76808192 22306731 51095739 30% /oracle -- after trimming
    pls. advice me in this regard.

    hi,
    thanks for the reply.
    i trim the listener.log file, after trimming it is writing in the file. but, my used space in mount point is increased. what would be the possible reason for increase ?? . I checked the other files, but i didnot see any increase in size.
    pls. suggest me in this regard.
    thanks and regards.

  • Listener.log file message

    Hi Gurus
    I am using oracle 10g 10.2.0.1 database.
    In my listener log file frequently getting message '* service_update * ' .
    Is it indicating any error ?
    Please update me.
    Regards
    Rabi

    Hi;
    PMON is responsible for updating the listener with information about a particular instance such as load and dispatcher information. Maximum load for dedicated connections is determined by the PROCESSES parameter. The frequency at which PMON provides SERVICE_UPDATE information varies according to the workload of the instance.
    The maximum interval between these service updates is 10 minutes.
    The listener counts the number of connections it has established to the instance but does not immediately get information about connections that have terminated.
    Only when PMON updates the listener via SERVICE_UPDATE is the listener informed of current load. Since this can take as long as 10 minutes, there can be a difference between the current instance load according to the listener and the actual instance load.
    Source:
    DBconsole Initialization Fails Due To Error ORA-12516 [ID 458308.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • 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?
    Thanks

    I 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

  • Needs Clarification Regarding Listener.ora file

    I want a clarification regarding listener.ora file I've Listener.ora file and its content look like as:
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle8)
    (SID_NAME = ORCL)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.10)(PORT = 1521))
    I can understand every entry in this file accept the following
    *(SID_DESC =*
    *(SID_NAME = PLSExtProc)*
    *(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)*
    *(PROGRAM = extproc)*
    *(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))*
    Although rest of entries refer to network services(Database name) and host address and protocol etc.
    what these above refere to.
    Please clarify me in this.
    Regards,
    D.Abbasi

    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    that about External Procedure, If you don't use "External Procedure" you can remove it, by the way you should avoid default configure.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#sthref1331
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14212/advcfg.htm#NETAG0132
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_extern_proc.htm#sthref1658
    Sample create External Procedure:
    http://surachartopun.com/2008/07/create-and-run-sample-external.html

  • 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

  • Does listener log file need to be purged in Oracle 11g DB

    We have the Oracle 11g database setup. I have a query as to if it is required to purge the listener log file in Oracle 11g database. I believe that the size of the listener log file is infinite and we need to manually purge the listener log file or is there an automatic log rotation of the listener log file?
    I hope my query is clear that if it is required to manually purge the listener log file or is there an automatic log rotation for this file.
    Please revert with the reply to my query.
    Regards

    972145 wrote:
    Thanks for your answer but does it mean that there is no automatic log rotation for the listener log file in Oracle 11g database?
    Regardshttp://uhesse.com/2011/06/01/adrci-a-survival-guide-for-the-dba/
    set the listener home inside adrci and do
    purge -age 2880 -type tracepurges all tracefiles older than 2 days I did not tried this but above link used same for alertlog trace file.

  • I deleted listener.log file !!!!

    HELP !
    I was reading a book , and tried something stupid which is deleting the listener.log file because it was huge!
    and now I'm getting the following error message:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/oracle/oradata/work/redo102.log'
    I don't have a copy of the file , I just typed :
    rm '/oracle/oradata/work/redo102.log'
    and it's gone , and now I'm in trouble !
    it's 2:00 AM here , please help me out !

    Bomayed,
    I'm afraid, you are not very clear in what do you want to achieve. Open the db after loss a redolog file, or import ?
    appearantly I have deleted a redo log fie That's why I never use .log as extension name for a redolog file... this is not a log as alert.log or listener.log...
    Anyway, you don't need to restore whole database.
    SQL> select * from v$logfile;
        GROUP# STATUS  TYPE
    MEMBER
             3         ONLINE
    /data/ora/H89UCBAC/u03/redo/log03.dbf
             2         ONLINE
    /data/ora/H89UCBAC/u02/redo/log02.dbf
             1         ONLINE
    /data/ora/H89UCBAC/u01/redo/log01.dbf
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> !ls /data/ora/H89UCBAC/u0?/redo
    /data/ora/H89UCBAC/u01/redo:
    log01.dbf
    /data/ora/H89UCBAC/u02/redo:
    log02.dbf
    /data/ora/H89UCBAC/u03/redo:
    log03.dbf
    SQL> !mv /data/ora/H89UCBAC/u03/redo/log03.dbf /data/ora/H89UCBAC/u03/redo/_log03.dbf
    SQL> !rm /data/ora/H89UCBAC/u03/redo/log03.dbf
    rm: /data/ora/H89UCBAC/u03/redo/log03.dbf: A file or directory in the path name does not exist.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  562005496 bytes
    Fixed Size                   742904 bytes
    Variable Size             402653184 bytes
    Database Buffers          157286400 bytes
    Redo Buffers                1323008 bytes
    Database mounted.
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: '/data/ora/H89UCBAC/u03/redo/log03.dbf'
    SQL> recover database until cancel;
    Media recovery complete.
    SQL> alter database open resetlogs;
    Database altered.
    SQL> !ls /data/ora/H89UCBAC/u0?/redo
    /data/ora/H89UCBAC/u01/redo:
    log01.dbf
    /data/ora/H89UCBAC/u02/redo:
    log02.dbf
    /data/ora/H89UCBAC/u03/redo:
    _log03.dbf  log03.dbf
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  562005496 bytes
    Fixed Size                   742904 bytes
    Variable Size             402653184 bytes
    Database Buffers          157286400 bytes
    Redo Buffers                1323008 bytes
    Database mounted.
    Database opened.
    SQL> Nicolas.

  • Connection string in listener log file for loading balance/failover

    Hi Experts,
    I have 4 node RAC for oracle 10g2 in rad hate 5.0
    We creaed service dbsale ( sale1,2 as pr imary and sale3/4 as available) with loading balance/failover.
    The remote user created a local TNS as
    localmarket =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 155.206.xxx.xx)(PORT = 1521))
    (LOAD_BALANCE = OFF)
    (CONNECT_DATA = (SERVICE_NAME = dbsale))
    From server side, I saw that user send two request connection string. one fail and another is OK.
    It seems that fail connecting come from failover/loading balance from dbsale3?
    Why do we get two connection string in listener log file?
    Which difference is between two connection string?
    Where does system change these connection string?
    Thanks for your explaining.
    Jim
    ==============listener.log message
    [oracle@sale log]$ cat listener_sale.log|grep pmason
    15-SEP-2009 13:52:24 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54326)) * establish * dbsale * 0
    15-SEP-2009 13:52:25 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))(SERVER=dedicated)(INSTANCE_NAME=sale3)) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54327)) * establish * dbsale * 12520
    15-SEP-2009 13:52:30 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54329)) * establish * dbsale* 0
    15-SEP-2009 13:52:47 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54332)) * establish * dbsale * 0
    15-SEP-2009 13:52:47 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))(SERVER=dedicated)(INSTANCE_NAME=sale3)) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54333)) * establish dbsale 12520
    15-SEP-2009 13:52:49 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54334)) * establish * dbsale * 0
    Edited by: user589812 on Sep 16, 2009 7:21 AM

    Hi Jim,
    I think the best way on this case is create one service with one instance as primary and another 3 as available.
    Or use the connect string with two vip addresses, cause the service has two instances and the tnsnames.ora entry has only one.
    Cheers,
    Rodrigo Mufalani
    http://mufalani.blogspot.com

  • Listener log file

    My database version is 11g Release 11.1.0.6.0.
    I need my listener to write to a specific log file, I've tried different things including setting the following parameters in listener.ora and restrarting the listener:
    LOG_DIRECTORY_LISTENER = /mydesireddirectory
    LOG_FILE_LISTENER =/mydesireddirectory/listener.log
    In spite of whatever I do, it puts the log file in :
    /ORACLE_HOME/log/diag/tnslsnr/hostname/listener/alert/log.xml
    can anyone tell me how to get round this please, I don't want an xml listener log and I don't want it in that directory.
    thank you.

    Hi,
    In Oracle 11g you have
    automatic diagnostic repository
    The automatic diagnostic repository (ADR) is a systemwide tracing and logging central repository. The repository is a file-based hierarchical datastore for depositing diagnostic information, including network tracing and logging information
    DIAG_ADR_ENABLED_listener_name
    The DIAG_ADR_ENABLED_listener_name parameter indicates whether ADR tracing is enabled. By default it is on. So Listener would be writing to the diag folder only.
    Since LOG_DIRECTORY_listener_name and LOG_FILE_listener_name is a non-ADR parameter. They both would be ignored if above parameter is set to on. To disable ADR, use
    DIAG_ADR_ENABLED_listener_name=off and then only non-ADR parameter would be in effect.
    Regards
    Anurag

  • Errors reported in alert log file regarding redo log files

    Hi,
    In my database i see the following entries regarding the redo log files frequently.
    Thread 1 advanced to log sequence 88
    Current log# 3 seq# 88 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\PELICAN\REDO03.LOG
    Thread 1 advanced to log sequence 89
    Current log# 1 seq# 89 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\PELICAN\REDO01.LOG
    Thread 1 cannot allocate new log, sequence 90
    Checkpoint not complete
    I have 3 redo log files of 50MB each. My database is 10g.
    What is the reason?
    What do i need to do ?
    Thanks.

    Hi,
    It is clearly stated that checkpoint is not complete. Thats why it could not allocate new sequence number to group 1.
    We can understand that your redo log group size is insufficient. or increase the number of redo log groups.
    Just test adding one more redo log group or test by increasing the size of redo log groups.

  • Question regarding alert log file and trace files

    What should be the alert log file size ? And when should it be deleted? And for how many days user trace files should be kept?
    Also will anyone please tell me the importance of these files.
    Thanks

    This may help: http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/manproc.htm#sthref729
    There are a few discussions on it here:
    Re: Alert Log File
    alert log file contents viewing
    Re: how to read alert log file? is there any tool available?

  • Regarding accessing log file entries in Oracle 10g

    Hi....
    i need to watch all actions done by users of database to build intrusion detection system...
    how can i get the log file entries and where it is stored in linux(oracle 10g)...is there any way to access logfile entries one by one..
    thanx
    in advance

    Hi,
    Probably you are looking for database auditing.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/security.htm#sthref2916
    Cheers,
    Avinash

  • Listener name in the listener.ora file is getting change from GPROD to %s_

    Dear Experts,
    Please note that after doing the R12.1 upgrade, When i bounce the database i have noted that my database listener name in the listener.ora file is getting change from GPROD to %s_db_listener%. Again every time after changeing the listener log file i am able to start the listener.
    Please advise.
    [oracle@upgrade 11.2.2]$ lsnrctl start GPROD
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 07-OCT-2011 10:07:33
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Starting /u04/d01/tech_st/11.2.2/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    System parameter file is /u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener.ora
    Log messages written to /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
    TNS-01151: Missing listener name, GPROD, in LISTENER.ORA
    Listener failed to start. See the error message(s) above...
    [oracle@upgrade 11.2.2]$ vi /u04/d01/tech_st/11.2.2/log/diag/tnslsnr/upgrade/gprod/alert/log.xml
    [oracle@upgrade 11.2.2]$ cd network/admin/GPROD_upgrade/
    [oracle@upgrade GPROD_upgrade]$ ls
    listener_ifile.ora listener.ora listener.ora_bkpaug2911 sqlnet_ifile.ora sqlnet.ora tnsnames.ora
    [oracle@upgrade GPROD_upgrade]$ vi listener.ora
    (SID_DESC =
    (ORACLE_HOME= /u04/d01/tech_st/11.2.2)
    (SID_NAME = GPROD)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u04/d01/tech_st/11.2.2)
    (PROGRAM = extproc)
    STARTUP_WAIT_TIME_%s_db_listener% = 0
    CONNECT_TIMEOUT_%s_db_listener% = 10
    TRACE_LEVEL_%s_db_listener% = OFF
    LOG_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
    LOG_FILE_%s_db_listener% = %s_db_listener%
    TRACE_DIRECTORY_%s_db_listener% = /u04/d01/tech_st/11.2.2/network/admin
    TRACE_FILE_%s_db_listener% = %s_db_listener%
    ADMIN_RESTRICTIONS_%s_db_listener% = OFF
    IFILE=/u04/d01/tech_st/11.2.2/network/admin/GPROD_upgrade/listener_ifile.ora

    Step 1- Run the autoconfig on the db tier.
    Step -2 Automatically it is changing the setting in the database listener log file and it is showing 4 database listeners are up .
    [oracle@upgrade 11.2.2]$ ps -ef |grep inh
    oracle 756 1 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 757 756 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 758 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 759 757 0 11:01 ? 00:00:00 /u04/d01/tech_st/11.2.2/bin/tnslsnr GPROD -inherit
    oracle 1721 31038 0 11:02 pts/2 00:00:00 grep inh
    applmgr 31380 1 0 10:53 ? 00:00:00 /u04/d02/apps/tech_st/10.1.2/bin/tnslsnr APPS_GPROD -inherit
    Step - 3
    Again down the apps tier services.
    Step -4
    Reset the listener.ora file in the database tier
    Please advise.
    Regards
    Mohammed.

Maybe you are looking for