SMO NetApp ORA-00119 (Local_Listener) ORA-00132: Net syntax error / name

Hello

I myself have killed on it for days and have searched the forum after forum without results. Here is the configuration:

(1) a production of database Oracle running 10.2.0.5 with a listener running on the Port of 1690. Solaris 10 Sparc.
(2) NetApp Oracle Manager Snap 3.2
(3) two Snap index Repository Manager on a separate binary install of Oracle 10.2.0.5 listens on ports 1521 and 1522. (Same host)

Orders and questions.

I was able to create the repositories very well and was able to take snapshots of databases all three. When it came time to run a preview of a Snap Restore, both instances of repository provided to ports 1521 and 1522 on other respective databases to get a restoration plan. It worked if the bodies were facing upwards or downwards. The listeners were obviously upward. Two repositories share the same TNS_ADMIN and ORACLE_HOME - separate spfiles and data files.

When the time came to get a glimpse of the restoration of the production database, he showed the right plan, when the database has increased. The listener has increased and it showed JDBC hit once. When the production database is down, the preview has tried to knock three times the production database with JDBC and failed to make a [STARTUP NOMOUNT]. The TNS_ADMIN is not shared with the repository databases. Here is the command and the error.

SMO backup restore - profile NDDB-FULL-SNAP-label F_A_20121107112828CST-complete - controlfiles - recover - terrababdelhak-overview

[ERROR] SMO-13032: cannot perform operation: overview of backup restore. Root cause: ORACLE-20001: error trying to change the State Started for the NDDB database instance: ORACLE-00001: SQL error: [STARTUP NOMOUNT;]. The command returned: ORA-00119: invalid specification for the system LOCAL_LISTENER parameter
ORA-00132: error syntax or network name not resolved "LISTENER_NDDB."

[ERROR] SMO-13048: Restore overview status of the backup operation: FAILURE
[2c9204103ae5e3d5013ae5e3e6950001] ID card operation failed. Error: SMO-13032: cannot perform operation: overview of backup restore. Root cause: ORACLE-20001: error trying to change the State Started for the NDDB database instance: ORACLE-00001: SQL error: [STARTUP NOMOUNT;]. The command returned: ORA-00119: invalid specification for the system LOCAL_LISTENER parameter
ORA-00132: error syntax or network name not resolved "LISTENER_NDDB."

The production database is in place for six years and has no problem when connecting as sysdba so I don't think it is quite the problem. There must be something simple. It works * * when the database is running, but not when it is stopped. It should work.

Published by: user11377518 on November 9, 2012 09:13

What are your production server tnsnames.ora entries. I missed those?

The error means generally you attach to use a friendly name for local_listener in the boot parameters, but to have not configured in the tnsnames file.

Another option is to not use name friendly and instead the full entry.

ALTER system set local_listener = '(ADDRESS = (PROTOCOL = tcp) (HOST = test-NDDB) (PORT = 1690))' scope = spfile;

Rebound of the instance

Edited by: damills on November 9, 2012 14:51

Tags: Database

Similar Questions

  • Oracle Database 11 g (11.1.0.6.0) > error ORA-00119 & ORA-00132

    Oracle Database 11g (11.1.0.6.0)

    I create a new Oracle 11 g database in our development environment. This is my first time installing an 11g database. During the installation process, the Configuration Wizard of database window appears and "Copy database files" are Ringing and the creation of database of current Clone is 2%, when I get the following error in the Configuration Wizard of database:

    ORA-00119: invalid specification for the system LOCAL_LISTENEr parameter
    ORA-00132: error syntax or network name not resolved "LISTENER_DEVTEST1."
    ORA-01078: failure in the treatment of system settings

    Search Info

    ===============================================
    * $ listener.ora* more
    listener.ora # Network Configuration file: /u002/dbsvr/oratst/11.1/network/admin
    Listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1524))
    (ADDRESS = (PROTOCOL = TCP (PORT = 1524))(HOST = dallinux02.clubcorp.com))
    )
    )
    ===============================================
    * $ tnsnames.ora* more
    tnsnames.ora # Network Configuration file: /u002/dbsvr/oratst/11.1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    LISTENER_DEVTEST1 =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1524))(HOST = dallinux02.clubcorp.com))
    ===============================================
    * lsnrctl status $ *.

    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on March 11, 2009 14:11:44

    Copyright (c) 1991, 2007, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1524)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start date March 11, 2009 14:04:06
    Uptime 0 days 0 h 7 min 37 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u002/dbsvr/oratst/11.1/network/admin/listener.ora file
    The listener log file /U002/dbsvr/oratst/diag/tnslsnr/dallinux02/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1524)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 1524))(HOST=dallinux02.clubcorp.com)))
    The listener supports no services
    The command completed successfully
    ================================================

    1524 port is not used by another database.

    Hello

    You must install the oracle first software and then run DBCA. Once you have installed the oracle software, you can only listener of Crete using netca. Check your init.ora file (must be placed under)
    C: >$ ORACLE_HOME/database / dbs or $ORACLE_HOME/dbs and local for the following LOCAL_LISTENER parameter and remove. But I recommend you to install the oracle software only first, then run DBCA.

    What is your operating system? Is - this vista? XP?

    Concerning

  • Error with the listener. ORA-00132: error of syntax or network name not resolved

    Hi all

    I get a strange error while trying to start the db.

    SQL > startup nomount
    ORA-01078: failure in the treatment of system settings
    ORA-00119: invalid specification for the system LOCAL_LISTENER parameter
    ORA-00132: error syntax or network name not resolved "LISTENER_TSS2A076N3."

    Listener is running.

    Here is my file Listener.

    listener.ora.tss2a119n1 # Network Configuration file: / oradb/oracle/product/asm /.
    11.1.0/network/admin/listener.ora.tss2a119n1
    # Generated by Oracle configuration tools.

    LISTENER_TSS2A076N3 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = xxxx.xx.xx.xxxx.net)(PORT =)
    (4329)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP) (HOST = xxxx.xxx.xx.xxxx.net)(PORT =)
    (4329)(IP = FIRST))
    )
    )

    SID_LIST_LISTENER_TSS2A076N3 =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = pnet01r_dgmgrl)
    (SID_NAME = pnet01r3)
    (ORACLE_HOME = oradb/oracle/product/db_1/11.1.0)
    )
    (SID_DESC =
    (SID_NAME = + ASM3)
    (ORACLE_HOME = oradb/oracle/product/asm/11.1.0)
    )
    )


    Well, I'm trying to install data guard and this error I get on the standby server. The listener preceding is also the same.

    Help, please.
    concerning

    I'm not very clear on that... Kindly explain... what exactly needs to add, delete or modify.

    Follow the link, it shows why and how LOCAL_LISTENER needs a specifications in the tnsnames.ora. You don't have a problem with the native listener.

    Werner

  • ORA-28547: connection to the server has failed, probable Oracle Net admin error

    Hello

    Environment

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    

    I'm ORA-28547: failed to connect to the server, probable Oracle Net admin error when connecting to the database as username/password@orcl,If, I do not @orcl it connects without any problems. But I can't connect from client machines without dbstring.

    This problem started recently, and I understand that it is because of the dynamic ip of the linux machine. Previously the Linux m/c ip was 172.25.210.177 unfortunately was launched once the machine ip has changed in 172.25.210.148.

    To bring the database up I started as usual and got to the top, but when connecting db with the above error is being username/password@orcl.

    To solve the i changed the ip address in tnsnames.ora and listener.ora but no luck. Please advice how to solve.

    It will run until the next change of the ip address. If you want a permanent solution, you must assign a static ip address. Why is your dynamic ip address? What is a local testbox.foobar.com or a production system that must be accessible to other systems?

  • ORA-28547: connection to the server failed, probable Oracle Net admin error.

    Dear all,

    My11gR2 database on windows 2008 R2 Standard is in error "ORA-28547: connection to the server failed, probable Oracle Net admin error.

    It's when I try to log on to the server itself

    as:

    SQL * more: Production of release 11.2.0.1.0 kills him Oct 8 05:43:03 2013

    Copyright (c) 1982, 2010, Oracle.  All rights reserved.

    Enter the user name: sys/***@orcl as sysdba

    "ORA-28547: failed to connect to the server, likely admin error Oracle Net.

    This started happening when the server has been restarted. I don't know if I have to stop any service, as in some cases under Linux should be stopped service iptables.

    The solution I found on most of the forums is to change in sqlnet.ora since '#SQLNET. AUTHENTICATION_SERVICES = (NTS) 'to' #SQLNET. AUTHENTICATION_SERVICES = (NONE)"and restart the receiver.

    But even if it doesn't in my case.

    Kindly help.

    Best regards, Imran

    Guys, there are 2 databases installed on the same server, to correctly configure the SID. Once set, I could see that the database is down and when starting it started working well.

    Thanks for your efforts.

  • ORA-29279: SMTP permanent error: 535 authorization failed (#5.7.0)

    Hello

    Can someone help me to find the number in the given pakg.
    I'm tring to send e-mails through this package, but I make a few mistakes: -.

    create or replace package body mail_pkg
    as
    function address_email (p_string in varchar2,
    p_recipients table) return varchar2
    is
    long l_recipients;
    Start
    because me in 1... p_recipients. Count
    loop
    UTL_SMTP. RCPT (g_mail_conn, p_recipients (i));
    If (l_recipients is null)
    then
    l_recipients: = p_string | p_recipients (i);
    on the other
    l_recipients: = l_recipients | ', ' || p_recipients (i);
    end if;
    end loop;
    Return l_recipients;
    end;

    procedure writeData (p_text in varchar2)
    as
    Start
    If (p_text is not null)
    then
    UTL_SMTP.write_data (g_mail_conn, p_text | g_crlf);
    end if;
    end;

    procedure to send (p_sender_email in varchar2,
    P_FROM in varchar2,
    p_to in the table by default array(),
    p_cc in the table by default array(),
    p_bcc in the table by default array(),
    p_subject in varchar2,
    p_body long)
    is
    long l_to_list;
    long l_cc_list;
    long l_bcc_list;
    l_date VARCHAR2 (255) default TO_CHAR (SYSDATE, 'dd my hh24:mi:ss yy') | ' + 8:00 (GMT + 08:00) ";

    Start
    SELECT PARAM_VALUE IN g_mailhost OF IHR_PARAM_DATA
    WHERE PARAM_CODE = 'MAIL_HOST' AND
    ((CATÉGORIE = S ')) AND
    (((FROM_DATE EST NULL) AND (TO_DATE IS NOTHING)) OR)
    ((FROM_DATE EST NULL) AND (TO_DATE > = trunc (sysdate))) OR
    ((FROM_DATE < = trunc (sysdate)) AND (TO_DATE IS NULL)) OR
    ((FROM_DATE < = trunc (sysdate)) AND (TO_DATE > = trunc (sysdate))) AND
    SEQUENCE = (SELECT MIN (SEQUENCE) IHR_PARAM_DATA
    WHERE PARAM_CODE = 'MAIL_HOST' AND
    ((CATÉGORIE = S ')) AND
    (((FROM_DATE EST NULL) AND (TO_DATE IS NOTHING)) OR)
    ((FROM_DATE EST NULL) AND (TO_DATE > = trunc (sysdate))) OR
    ((FROM_DATE < = trunc (sysdate)) AND (TO_DATE IS NULL)) OR
    ((FROM_DATE < = trunc (sysdate)) AND (TO_DATE > = TRUNC (SYSDATE))) );

    g_mail_conn: = utl_smtp.open_connection (g_mailhost, 25);
    UTL_SMTP. HELO (g_mail_conn, g_mailhost);
    UTL_SMTP.command (g_mail_conn, 'auth login');
    UTL_SMTP.command (g_mail_conn,
    mail_pkg.f_base64_encode_raw (utl_raw.cast_to_raw ('mailuser')));
    UTL_SMTP.command (g_mail_conn,
    mail_pkg.f_base64_encode_raw (utl_raw.cast_to_raw('***')));
    UTL_SMTP.mail (g_mail_conn, p_sender_email);
    l_to_list: = address_email ("to:", p_to);
    l_cc_list: = address_email ("Cc:", p_cc);
    l_bcc_list: = address_email ("Bcc:", p_bcc);
    UTL_SMTP.open_data (g_mail_conn);

    writeData (' Date: ' | l_date);
    writeData (' to: ' | nvl (p_from, p_sender_email));
    writeData (' subject: ' | nvl (p_subject, '(aucun sujet) "));

    writeData (l_to_list);
    writeData (l_cc_list);

    UTL_SMTP.write_data (g_mail_conn, "| g_crlf);
    UTL_SMTP.write_data (g_mail_conn, p_body);
    UTL_SMTP.close_data (g_mail_conn);
    UTL_SMTP. Quit (g_mail_conn);
    end;
    end;


    I get the below error when tring to run the procedure, even if my e-mail and password are correct.

    ERROR on line 1:
    ORA-29279: SMTP permanent error: 535 authorization failed (#5.7.0)
    ORA-06512: at "SYS." UTL_SMTP", line 21
    ORA-06512: at "SYS." UTL_SMTP", line 99
    ORA-06512: at "SYS." UTL_SMTP", line 159
    ORA-06512: at "SYSTEM. SEND_MAIL', line 12
    ORA-06512: at line 1

    pls help;

    Thank you
    Uttam Singh

    Published by: Uttam Singh on December 26, 2008 19:56

    Uttam,

    This error is due to wrong settings of the SMTP server. Oracle, very probably has nothing to do with it. If I remember correctly, you are using Gmail for her. I guess there is a problem with it. Try with some other parameters of the field. I'll try to use the same with my own domain name. In the meantime, enjoy these two link.
    http://www.williamrobertson.NET/code/utilities.pkg.txt
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:2118740358226 #9206460145191
    HTH
    Aman...

  • ORA-12012: error on auto work 754461 ORA-29279: SMTP permanent error: ORA-29279: SMTP permanent error: 501 Syntax error, command parameters "RCPT TO:" ORA-06512 unrecognized or missing: at "SYS." UTL_SMTP", line 20 ORA-06512: at"SYS." UTL_SMTP.

    Hello


    I get below error frequently in the log database alerts.


    ORA-12012: error on auto work 754461

    ORA-29279: SMTP permanent error: ORA-29279: SMTP permanent error: 501 Syntax error, command parameters ' RCPT TO: ' unrecognized or missing

    ORA-06512: at "SYS." UTL_SMTP", line 20

    ORA-06512: at "SYS." UTL_SMTP", line 98

    ORA-06512: at "SYS." UTL_SMTP", line 240

    ORA-06512: at the 'APPS '. EIS_UTIL_PKG', line 94

    ORA-06512: at the 'APPS '. HKD_PO_ADDON_PKG', line 110

    ORA-06512: at line 1

    The syntax error comes from the SMTP server, not to the job itself, so I disagree with your solution.

  • dbms_scheduler.create_window fails with ORA-27418: syntax error in the interval of recurrence or calendar

    I tried to create a window to test the activation of plans of RM. But I get this error.

    SQL > EXECUTE dbms_scheduler.create_window.

    > (-)

    > window_name = > 'day ', -.

    > resource_plan = > 'my_plan ', -.

    > start_date = > systimestamp + 1 /(24*60).

    > repeat_interval = > ' freq = > daily '.

    > time = > ' 0 01:00:00 '.

    > Comments = > ' C know if it works without a job "-"

    >);

    BEGIN dbms_scheduler.create_window (window_name = > 'day', resource_p)

    LAN = > 'my_plan', start_date = > systimestamp + 1 /(24*60), repeat_interv

    Al = > ' freq = > daily ', duration = > ' 0 01:00:00 ', comments = > ' C so she

    works without employment '); END;

    *

    ERROR on line 1:

    ORA-27481: 'SYS '. "' DAY ' has an invalid schedule

    ORA-27418: syntax error in the interval of recurrence or calendar

    ORA-06512: at "SYS." DBMS_ISCHED", line 486

    ORA-06512: at "SYS." DBMS_SCHEDULER', line 1295

    ORA-06512: at line 1

    I have tried many tips found on the web, nothing works.

    Any help would be greatly appreciated.

    Also, can you pls tell me if this command run once automatically activates the my_plan after 1 minute, 1 minute, after which, it will disable the my_plan? So, you do not need to create a JOB for this. If you create a window, that is, as a job creation to enable an RM plan?

    2734369 wrote:

    Wow, discovered the issue: the repeat interval is broken (I use a database of 12.1 in Windows 7). It must be uppercase. Very surprising in the windows to be case-sensitive.

    SQL >

    SQL > EXECUTE dbms_scheduler.create_window.

    >  (-

    > window_name-online 'day ', -.

    > resource_plan-online 'my_plan ', -.

    > start_date-online systimestamp + 1 /(24*60).

    > repeat_interval-online ' FREQ = DAILY; BYHOUR = 10; BYMINUTE = 30', -.

    > time-online ' 0 01:00:00 '.

    > Comments => ' C know if it works without a job "-"

    >  );

    PL/SQL procedure successfully completed.

    Problem is, after 1 minute, always that the plan is not activated?

    SQL > SEE THE RESOURCE_MANAGER_PLAN PARAMETER

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ----------------------

    resource_manager_plan chain

    Why the Plan is not activated after 1 minute. Have we not create a job (I don't think).

    I think you misunderstand the meaning of "start_date".  Please see the documentation on what this means exactly.

    This attribute specifies the first date and time where it is scheduled to open in this window. If the value start_date specified is in the past or is not specified, the window opens, from its inception.

    To repeat windows using an expression of the calendar to specify the repetition interval, the value of start_date is a reference date. The first time the window opens depends on the specified repeat interval and the value of start_date .

    (From Types and Oracle® packages of PL/SQL Database 11g Release 2 (11.2) reference E40758-03); dbms_scheduler, create_window.  DBMS_SCHEDULER

    Once you have done this, you will see that it is pretty useless to specify that you have.

    Your repeat_interval said "every day at 10:30.

  • Sending a message using UTL_SMTP, get the error ORA-29278: SMTP temporary error

    Hi all

    I try to send mail from oracle plsql. for that I use the below mode operative but unfortunately not able to move forward.
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    procedure is
    CREATE OR REPLACE PROCEDURE send_mail (p_to        IN VARCHAR2,
                                           p_from      IN VARCHAR2,
                                           p_message   IN VARCHAR2)
    AS
      l_mail_conn   UTL_SMTP.connection;
      l_reply utl_smtp.reply;
      l_smtp_host VARCHAR2(50) := 'smtp.gmail.com:25';
      l_smtp_port NUMBER := 25;  
    BEGIN
      l_mail_conn := UTL_SMTP.open_connection(l_smtp_host, l_smtp_port);
      utl_smtp.EHLO(l_mail_conn, l_smtp_host);
      utl_smtp.command(l_mail_conn, 'AUTH LOGIN');
      utl_smtp.command(l_mail_conn, utl_raw.cast_to_varchar2(utl_encode.base64_encode(utl_raw.cast_to_raw('[email protected]'))));
      utl_smtp.command(l_mail_conn, utl_raw.cast_to_varchar2(utl_encode.base64_encode(utl_raw.cast_to_raw('mypwd'))));
      l_reply :=UTL_SMTP.mail(l_mail_conn, p_from);
      dbms_output.put_line( l_reply.code || ' ' || l_reply.text );
      UTL_SMTP.rcpt(l_mail_conn, p_to);
      UTL_SMTP.write_data(l_mail_conn, p_message || UTL_TCP.crlf || UTL_TCP.crlf);
      UTL_SMTP.quit(l_mail_conn);
    END;
    /
    call you as follows
    declare
     conn        utl_smtp.connection;
     smtp_domain VARCHAR2(256) := null;
     BEGIN
     utl_smtp.command(conn,'STARTTLS');
     utl_smtp.helo(conn, smtp_domain);
       send_mail(p_to        => '[email protected]',
                 p_from      => '[email protected]',
                 p_message   => 'can i get message.');
     END;
     /
    and the error
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 97
    ORA-06512: at "SYS.UTL_SMTP", line 159
    ORA-06512: at line 5
    I checked in Control Panel that IIS is installed and also SMTP is configured.
    I am able to ping HOST SMTP thro' TELNET

    and I changed the parameter, SMTP_OUT_SERVER, as
    ALTER SYSTEM SET SMTP_OUT_SERVER= 'smtp.gmail.com:25' scope = both
    I don't get no idea. is this due to use the GMAIL Server?

    Oracle 10 g and Windows version is XP - SP3

    Thanks for any help

    Concerning
    Knockaert

    When I googled for "Gmail PL/SQL" I find a lot of things, including the articles of blog with code examples. How about you?

  • UTL. MAIL error ORA-29279: SMTP permanent error: 501 syntax of address error in

    Hello

    I'm new to the forum please excuse if I post not properly without standards.

    We need to send mails using the UTL. MAIL package and installed them on the database.
    Whenever I try to send an email, I get the following error:

    ERROR on line 1:
    ORA-29279: SMTP permanent error: 501 syntax of address error in
    [email protected]
    ORA-06512: at "SYS." UTL_MAIL", line 654
    ORA-06512: at "SYS." UTL_MAIL", line 671
    ORA-06512: at line 2

    The test code that I am running is:

    BEGIN
    UTL_MAIL. Send (sender = > 'test < [email protected] >',)
    recipients = > "[email protected]"
    subject = > 'test UTL_MAIL subject. "
    message = > "UTL_MAIL test body");
    END;

    I tried different combinations:

    BEGIN
    UTL_MAIL. Send (sender = > "test"< [email protected] >"")
    recipients = > "[email protected]"
    subject = > 'test UTL_MAIL subject. "
    message = > "UTL_MAIL test body");
    END;

    even tried

    BEGIN
    UTL_MAIL. Send (sender = > '[email protected]',)
    recipients = > "[email protected]"
    subject = > 'test UTL_MAIL subject. "
    message = > "UTL_MAIL test body");
    END;

    Whenever I get the same error.
    It seems to work with a server exchange e-mail, but never on the SMTP server.

    In the SMTP address of the sender server logs is not to have the <>of brackets unlike other emails that are sent to the course.
    It seems that the SMTP server is quite strict and the SMTP administrator will change all the settings on the server.

    The version of oracle is as follows

    Oracle Database 11 g Release 11.2.0.1.0 - 64 bit Production

    Could you please help me with a solution.
    Some how the brackets are undressing (which usually UTL MAIL package), is it possible that I can include the brackets.

    Published by: 984757 on January 29, 2013 02:56

    Published by: 984757 on January 29, 2013 02:57

    I don't like UTL_MAIL - UI abstraction clumsy and poor and not very well written.

    Had a look at the code. It does this:

    WHILE (ALL_RCPTS IS NOT NULL) LOOP
          UTL_SMTP.RCPT(MAIL_CONN,'<' || GET_ADDRESS(ALL_RCPTS) || '>');
    END LOOP;
    

    The process function GET_ADDRESS() ALL_RCPTS parameter, returns the address 1 of him and updates (in and out) parameter with the remaining string.

    SQL> var address varchar2(200);
    SQL> exec :address := ',[email protected]';
    
    PL/SQL procedure successfully completed.
    
    SQL> exec dbms_output.put_line( 'get_address='||UTL_MAIL.GET_ADDRESS(:address)||' address='||:address );
    [email protected] [email protected]
    
    PL/SQL procedure successfully completed.
    
    SQL> exec dbms_output.put_line( 'get_address='||UTL_MAIL.GET_ADDRESS(:address)||' address='||:address );
    [email protected] address=
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    The address is explicitly surrounded by square brackets in accordance with RFC. So what needs to see your SMTP server.

    If this isn't the case-maybe then our UTL_MAIL versions do not match. I don't remember what version I pulled and unpacked UTL_MAIL package code I have.

    Personally, I stopped using the UTL_MAIL earlier. Missing in may points. I wrote my own e-mail package that supports multiple attachments, formatting complex Mime, attachments of 20 + MB in size and so now - running on the UTL_SMTP interface (which provides for mail transport layer). And for the problems you are having, I suggest considering using UTL_SMTP directly.

    Published by: Billy Verreynne on 29 January 2013 12:52
    (Updated with names of entities HTML code for the code snippet to render correctly)

  • ORA-00911: invalid character error.

    Hi all

    I use ODI 11 g and Oracle 11 g.

    I use the query in proc in ODI below. When the data in the table is inserted it says ORA-00911: invalid character error.
    INSERT INTO SD_CAMP
    SELECT DISTINCT CAMPGN_NO, PRODUCT, NULL.
    CAMPG_NAM, trunc (sysdate), trunc (sysdate) + 182
    OF SP_ODI_TEMP;

    I also inserted the value also hard coded in ODI, but it still says the same error.
    Values inserted INTO the SD_CAMP ("'SAS06', ' SBC", NULL, 'SB CUST FFT', TO_DATE('02-NOV-12','DD-MON-YY'),)
    TO_DATE('03-MAY-13','DD-MON-YY'));

    I ran this query in Oracle db but his works very well.

    Any help how to solve this problem?

    Thank you
    Lony

    Put it in two different stages.

  • ORA-29278: SMTP temporary error: 421 Service not available

    Hello

    I am struck intermittently
    ORA-29278: SMTP transient error: 421 Service not available 
    on
    DB Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    Please let me know if additional information is required.

    Any ideas would be appreciated.

    Thank you
    CJM

    Assuming that you are still connected to the same SMTP server, this means that the SMTP server intermittently is down or inaccessible (at least on the port that you are using). Most likely, it would be a problem to address to the administrator of the mail server even if it could be an intermittent network problem.

    Justin

  • Please help: instruction box - ORA-01722: invalid number error

    Hi all
    I am trying to use the Case statement to recode the status canceled in two groups
    "Reject" If the difference between the date of the first and the last date is less than 29 and
    'Accept' if the difference between the date of the first and the last date is greater than 30

    Here's my data 'test'

    STATUS FIRST_DATE LAST_DATE

    Transfer / / 10/08/2011-10/09/2011
    Mover 10/08/2011-15/09/2011
    Cancel the 16/09/2011 10/08/2011
    Cancel the 10/08/2011 5/09/2011

    Here's the syntax

    Select a.*,
    (CASE WHEN a.STATUS = 'Cancel' CAN (round(a.LAST_DATE-a.FIRST_DATE))
    0 OTHERWISE
    END CAN_DAYS),
    (BOX WHEN "CAN_DAYS" > 29 THEN "reject"
    WHEN "CAN_DAYS" < 30 THEN "accept."
    Reject_Accept END)
    try one

    The first CASE statement works very well and gives me this
    STATUS FIRST_DATE LAST_DATE CAN_DAYS

    Transfer 0 10/08/2011-10/09/2011
    Mover 0 10/08/2011-15/09/2011
    Cancel the 37 16/09/2011 10/08/2011
    Cancel the 26/10/08/2011 5/09/2011

    but the LATTER product ORA-01722: invalid number error. It's something to do with the type of data CAN_DAYS, Oracle does not see in the Numeric form I think.
    I want to see result
    STATUS FIRST_DATE LAST_DATE CAN_DAYS Reject_Accept

    Transfer 0 10/08/2011-10/09/2011
    Mover 0 10/08/2011-15/09/2011
    Accept to cancel 37 10/08/2011-16/09/2011
    Refuse to cancel the 26/10/08/2011 5/09/2011

    Could someone please help me fix the syntax?
    Thank you in advance,

    Hello

    The error is due to the fact that you are trying to compare "CAN_DAYS", which cannot be regarded as a number, a number.
    You can try this option for your results:

    select A.STATUS, A.FIRST_DATE, A.LAST_DATE,case
                                                when a.status ='Cancel' then round(a.last_date - a.first_date)
                                                else 0
                                                end as can_days,
                                                case
                                                when (a.status ='Cancel'  and round(a.last_date - a.first_date) > 29) then 'Reject'
                                                when (a.status ='Cancel'  and round(a.last_date - a.first_date)< 30) then 'Accept'
                                                else null
                                                end as Accept_Reject
    from test a 
    
  • ORA-07391: sftopn: fopen error, cannot open the text file.

    Hello

    The last 3 days, we get the error in the alert below log.

    [ORA-00600: internal error code, arguments: [kmgs_parameter_update_timeout_1], [27091] [] [] [], [], []]
    ORA-27091: unable to queue I/O
    ORA-27072: IO file error

    I check as the same partners to it in metalink I found permission to check the directory solution. (DOC ID367619.1)
    I got permission from ORACLE_HOME\dbs $ to 777, but still m making the same mistake.

    also I try to recreate spfile so that I try to create pfile first

    create pfile from spfile

    I get the error below.

    ORA-07391: sftopn: fopen error, cannot open the text file.

    ls - lrt sp * in the below output shows $ORACLE_HOME

    -rwxrwxrwx 1 ora10g 3584 20 September dba10 05:42 < SID > spfile .ora

    Help, please.

    Thanks in advance

    user8757749 wrote:
    The output of ls - lrt is in the path $ORACLE_HOME\dbs only

    We also have the database version 10.2.0.4 that the spfile even uses everyday cold backup of the database.

    also, I put the 777 permission to the file.

    OK, I guess there will be corruption of the SPFILE as if edited manually or in any other cases too.

    You have a backup of SPFILE? backup of the file PFILE or?

    then starting using this SPFILE, if any backup then start with PFILE and then create SPFILE from PFILE.

    Otherwise, you can copy the contnets of the parameters of the alert log file initialization and paste in the editor and the instance of starutp.

    These are the options.

  • ORA-01031: insufficient privileges error?

    Hello

    I changed the password for user SYS and SYSTEM. I can connect before changing
    sqlplus "/ as sysdba" automatically.
    but now I can not connect and it gives me ORA-01031: insufficient privileges error.
    But if I type SYS user name and his password I can connect.

    for example:
    -------------------
    oradw@trdw1test:/ORCL/bin > sqlplus "/ as sysdba".

    SQL * more: version 9.2.0.8.0 - Production Thursday, May 26, 16:21:17 2011

    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

    ERROR:
    ORA-01031: insufficient privileges


    Enter the user name: sys as sysdba
    Enter the password:

    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production
    With partitioning, OLAP and Oracle Data Mining options
    Release 9.2.0.8.0 - Production jserver

    SQL >
    -------------------------------

    I created the new password file, but still I can not connect. I checked the user of the OS, but we never touch any configuration.


    Could you please help me how can I solve this problem?

    DB version: 9.2.0.8

    greetings and thanks

    Check your sqlnet.ora file in ...db_1\NETWORK\ADMIN (default)

    If in file

    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # _authentication, they will not be able to connect to the database on NT._
    SQLNET.AUTHENTICATION_SERVICES = (NT)
    

    to take

    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    

Maybe you are looking for

  • Find email when you re - enter address in Thunderbird

    In collaboration with the e-mail inadvertently, I had one of my addresses appears twice. I removed what appeared to be the latest list but when it has been removed it is also deleted my Inbox and all messages, that I intended to leave. I can see the

  • MBP - green flashing light on the power supply

    Hello I've seen a few posts similar to this one. On my 2009 MBP adapter has a flashing green light and won't turn on. All of the suggestions I've seen seem to suggest removing the battery for 30 seconds or so before putting it back in. I tried this w

  • Pavilion dv4 1318TU: DigitalPersona software for windows 7 64 bit

    I need setup Digital Inc. Personic pimp rreader printer software for windows 7 64 bit... I have 32 bits that did not work in this help please so me as soon as possiblke

  • Windows VIsta Service pack 2

    Vista Windows Serveci pack 2   From: Ahmed Ashraf Description of the problem:Sorry for botherin u, but I have a small problem. now I downloaded service pack 2 & his comp., but now it is installin it for more than 3 hours & he has not yet begun.It is

  • Want 5540: Connectivity, can I use want 5540 USB and wireless on two nearby PC win 7 and Win10

    Can I connect the envy to one not wireless pc (Win 7) USB and a new PC wireless Win10. A single pc in use at the same time... My HP C3100 unit is old and broken, sounds like a cement mixer, but still trying on USB only.