CIMC on C210 server throws Error 2001: Service not available message

I am trying to configure vmware on a brand new C210 server for the first time and the directions say to access the CIMC and load the vmware media. Sounds easy enough except every time I go to the CIMC webpage I recieve an " error 2001: Service not available"  message on every page I go to and none of the server info fields are populated. If I try to make any changes and save my settings the same message pops up and no changes are saved. Almost like the CIMC doesn't recognize the server or hardware. I ran the host update utility just now and upgraded the firmware for everything to the latest version but still no progress. Anyone have this happen or know how I can fix this?
Thanks in advance!
Jess

I got it working on one of the servers, and havent tried the same solutions on any other server.
What i did was manually adding an IP adress to the management IP, then save the config before rebooting. After rebooting i put it back to get IP from DHCP, and saved the config. After a secound reboot i was able to use the mangement interface without the 2001 error.
I'm not sure if it will work on the rest of the servers, but it's worth a try
Regards
Alex

Similar Messages

  • UTL_SMTP fails:  SMTP transient error: 421 Service not available

    Hi!
    I´m trying to set up database to be able to send emails by UTL_SMTP package.
    I´m working whit Oracle 9.0.2.0.7 on Windows 2003 Server EE SP1
    For this, I have searched a script of the many on the network. One like this:
    CREATE OR REPLACE PROCEDURE CASIUS.SEND_MAIL(SENDER IN VARCHAR2, RECIPIENT IN VARCHAR2, SUBJECT IN VARCHAR2, MESSAGE IN VARCHAR2) IS
        MAILHOST CONSTANT VARCHAR2(3000) := 'server.exchange.test.com';
        MESG VARCHAR2(30000);
        MAIL_CONN UTL_SMTP.CONNECTION;
        BEGIN
            UTL_SMTP.QUIT(MAIL_CONN);
            MAIL_CONN := UTL_SMTP.OPEN_CONNECTION(MAILHOST, 25);
            UTL_SMTP.EHLO(MAIL_CONN, MAILHOST); 
            UTL_SMTP.COMMAND( MAIL_CONN, 'AUTH', 'LOGIN ');        
            UTL_SMTP.COMMAND( MAIL_CONN, UTL_RAW.CAST_TO_VARCHAR2( UTL_ENCODE.BASE64_ENCODE( UTL_RAW.CAST_TO_RAW( '[email protected]' ))));
            UTL_SMTP.COMMAND( MAIL_CONN, UTL_RAW.CAST_TO_VARCHAR2( UTL_ENCODE.BASE64_ENCODE( UTL_RAW.CAST_TO_RAW( 'testpassw')))); 
            MESG := 'Date: ' ||
            TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || CHR(13) || CHR(10) ||
            'From: <'|| SENDER ||'>' || CHR(13) || CHR(10) ||
            'Subject: '|| SUBJECT || CHR(13) || CHR(10)||
            'To: <'||RECIPIENT || '>' || CHR(13) || CHR(10) || MESSAGE;
            UTL_SMTP.EHLO(MAIL_CONN, MAILHOST);
            UTL_SMTP.MAIL(MAIL_CONN, SENDER);
            UTL_SMTP.RCPT(MAIL_CONN, RECIPIENT);
            UTL_SMTP.DATA(MAIL_CONN,MESG);
            UTL_SMTP.QUIT(MAIL_CONN);
        EXCEPTION
            WHEN OTHERS THEN
            RAISE_APPLICATION_ERROR(-20004,SQLERRM);
    END SEND_MAIL;
    I've reviewed the script many times and I find no error. But when I call it I always have this error:
    ORA-20004: ORA-29278: SMTP transient error: 421 Service not available
    I have done many tests. Although the most meaningful test that I have done may be the send of a message via telnet  from the same server using the same parameters. It has worked!. This is the log:
    220 server.exchange.test.com ESMTP Service ready
    AUTH LOGIN
    334 VXNad23hsdj2bWU6
    bm90aWZpY2FjaW9uZMSA12smVsQHNvcG9ydGUtc21zLmVz
    334 UGFzer24cmQ6
    TDRdE3p6NA==
    235 LOGIN authentication successful
    MAIL FROM:<[email protected]>
    250 MAIL FROM:<[email protected]> OK
    RCPT TO: <[email protected]>
    250 RCPT TO:<[email protected]> OK
    DATA
    354 Start mail input; end with <CRLF>.<CRLF>
    From:Yomismo
    TO:Mimismo
    Subject: Test Send Emails
    This is a send test
    250 <522DCAD000D5FF89> Mail accepted
    QUIT
    221 server.exchange.test.com QUIT
    Connection to host lost.
    This test email was received for me, so I think is evidenced that the problem is in ULT_SMTP package.
    And more specifically, I suspect that the exception raises on one of these lines:
            UTL_SMTP.QUIT(MAIL_CONN);
            MAIL_CONN := UTL_SMTP.OPEN_CONNECTION(MAILHOST, 25);
    But I don´t understand why, All the sites I have viewed uses package of similar way...
    Can someone throw me some light on this issue?
    Regards

    maybe you find something in https://community.oracle.com/message/3560073. And I would recommend to think about upgrading to a current Oracle version, since 9.2 has been desupported around 2007.

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

    Hi all,
    I'm using Oracle 10g working on Windows XP Home.
    I'm trying to send a basic mail from my stored procedure.
    When I tried to run the code, I get ORA-29278: SMTP transient error: 421 Service not available.
    Below is the code I'm trying.
    CREATE OR REPLACE PROCEDURE SEND_MAIL (
    msg_to varchar2,
    msg_subject varchar2,
    msg_text varchar2 )
    IS
    c utl_smtp.connection;
    rc integer;
    msg_from varchar2(50) := 'Oracle9.2';
    mailhost VARCHAR2(30) := '127.0.0.1'; -- local database host
    BEGIN
    c := utl_smtp.open_connection(mailhost, 25); -- SMTP on port 25
    dbms_output.put_line('ok');
    utl_smtp.helo(c, mailhost);
    utl_smtp.mail(c, msg_from);
    utl_smtp.rcpt(c, msg_to);
    utl_smtp.data(c,'From: Oracle Database' || utl_tcp.crlf ||
    'To: ' || msg_to || utl_tcp.crlf ||
    'Subject: ' || msg_subject ||
    utl_tcp.crlf || msg_text);
    utl_smtp.quit(c);
    EXCEPTION
    WHEN UTL_SMTP.INVALID_OPERATION THEN
    dbms_output.put_line(' Invalid Operation in Mail attempt using UTL_SMTP.');
    WHEN UTL_SMTP.TRANSIENT_ERROR THEN
    dbms_output.put_line(' Temporary e-mail issue - try again');
    dbms_output.put_line (sqlerrm);
    WHEN UTL_SMTP.PERMANENT_ERROR THEN
    dbms_output.put_line(' Permanent Error Encountered.');
    END;
    Below are the possibilites I tried..
    I tried to ping localhost.. This is the output I get
    C:\Documents and Settings\Me>ping localhost
    Pinging polasa [127.0.0.1] with 32 bytes of data:
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Ping statistics for 127.0.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    In one of the thread, a user suggested to do the following
    Go to Control Panel->Add or Remove Programs->Click on
    Add/Remove Wndows Components
    Check IIS check box.
    Select Internet Information Service (IIS) option and click on Details button
    Check whether SMTP Service is checked or not.
    If not selected then select SMTP check box.
    This process should be done on server.
    It will help out from ORA-29278: SMTP transient error: 421 Service not available
    problem.
    There is no IIS in my Windows Components..
    Any suggestions? Thanks in advance

    It sounds like you don't have an SMTP server running on your local machine.
    Even if you install IIS (or some other SMTP server), that is probably not enough to send email outside of your machine because your machine is unlikely to be trusted by the downstream mail servers. If you are running this in a company, you'll need to talk to your company's mail admin to determine where the corporate SMTP server is running. If you running this at home, you'll need to find out from your ISP what SMTP servers are available to you.
    Justin

  • How can I solve ORA-29278: SMTP transient error: 421 Service not available

    Hi
    I have two different Solaris Server (Server1 & server2).
    In both the server SMTP server is configured.
    In these two solaris server (Server1 & server2) we have installed Oracle 9i
    I am using client machine to execute the following procedure.
    When I connect to server1 (using SQL plus) and execute the following procedure, it works fine, and able to send emails properly.
    But when I connect to server2 (using SQL plus) and execute the following procedure, I get the follwoing error.
    Could you please help me to resolve this?
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> set define off
    SQL> set serveroutput on size 1000000
    SQL> BEGIN
    2 mail_files( 'localhost',
    3 'Frm',
    4 '[email protected]',
    5 'From production',
    6 'Test message from production',
    7 9999999999,
    8 NULL,
    9 NULL,
    10 NULL,
    11 0 );
    12 END;
    13 /
    BEGIN
    ERROR at line 1:
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 17
    ORA-06512: at "SYS.UTL_SMTP", line 96
    ORA-06512: at "SYS.UTL_SMTP", line 327
    ORA-06512: at "PROD_L.MAIL_FILES", line 238
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at line 2
    SQL>

    Hi
    I have two different Solaris Server (Server1 & server2).
    In both the server SMTP server is configured.
    In these two solaris server (Server1 & server2) we have installed Oracle 9i
    I am using client machine to execute the following procedure.
    When I connect to server1 (using SQL plus) and execute the following procedure, it works fine, and able to send emails properly.
    But when I connect to server2 (using SQL plus) and execute the following procedure, I get the follwoing error.
    Could you please help me to resolve this?
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - Production
    SQL> set define off
    SQL> set serveroutput on size 1000000
    SQL> BEGIN
    2 mail_files( 'localhost',
    3 'Frm',
    4 '[email protected]',
    5 'From production',
    6 'Test message from production',
    7 9999999999,
    8 NULL,
    9 NULL,
    10 NULL,
    11 0 );
    12 END;
    13 /
    BEGIN
    ERROR at line 1:
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 17
    ORA-06512: at "SYS.UTL_SMTP", line 96
    ORA-06512: at "SYS.UTL_SMTP", line 327
    ORA-06512: at "PROD_L.MAIL_FILES", line 238
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at line 2
    SQL>

  • ORA-29278: SMTP transient error:421 Service not available on oracle 10g

    HIi,
    I am trying to send e-mails by using PL/Sql procedure . I am using UTL_MAIL/UTL_SMTP on oracle 10g R1 database.
    There is no problem in creating procedure,but when i am doing execution i am getting the mention error.
    I am trying to send mail with attachment as excel file.
    ORA-20001: The following error has occured: ORA-29278: SMTP transient error:
    421 Service not available
    ORA-06512: at "SCOTT.MAIL_ATT_RAW", line 64
    ORA-06512: at line 1
    -----my procedure code------
    CREATE OR REPLACE PROCEDURE mail_att_raw(filename varchar2) AS
    fil BFILE;
    file_len PLS_INTEGER;
    MAX_LINE_WIDTH PLS_INTEGER := 54;
    buf RAW(2100);
    amt BINARY_INTEGER := 2000;
    pos PLS_INTEGER := 1; /* pointer for each piece */
    filepos PLS_INTEGER := 1; /* pointer for the file */
    filenm VARCHAR2(50) := filename; /* binary file attachment */
    data RAW(2100);
    chunks PLS_INTEGER;
    len PLS_INTEGER;
    modulo PLS_INTEGER;
    pieces PLS_INTEGER;
    err_num NUMBER;
    err_msg VARCHAR2(100);
    resultraw RAW(32000);
    BEGIN
    /* Assign the file a handle */
    fil := BFILENAME('BFILE_DIR', filenm);
    /* Get the length of the file in bytes */
    file_len := dbms_lob.getlength(fil);
    /* Get the remainer when we divide by amt */
    modulo := mod(file_len, amt);
    /* How many pieces? */
    pieces := trunc(file_len / amt);if (modulo <> 0) then
    pieces := pieces + 1;end if;/* Open the file */
    dbms_lob.fileopen(fil, dbms_lob.file_readonly);/* Read the first amt into the buffer */
    dbms_lob.read(fil, amt, filepos, buf);/* For each piece of the file . . . */
    FOR i IN 1..pieces LOOP/* Position file pointer for next read */
    filepos := i * amt + 1;/* Calculate remaining file length */
    file_len := file_len - amt;/* Stick the buffer contents into data */
    data := utl_raw.concat(data, buf);/* Calculate the number of chunks in this piece */
    chunks := trunc(utl_raw.length(data) / MAX_LINE_WIDTH);/* Don't want too many chunks */
    IF (i <> pieces) THEN
    chunks := chunks - 1;
    END IF;/* For each chunk in this piece . . . */
    FOR j IN 0..chunks LOOP/* Position ourselves in this piece */
    pos := j * MAX_LINE_WIDTH + 1;/* Is this the last chunk in this piece? */
    IF (j <> chunks) THEN len := MAX_LINE_WIDTH;
    ELSE
    len := utl_raw.length(data) - pos + 1;
    IF (len > MAX_LINE_width) THEN
    len := MAX_LINE_WIDTH;
    END IF;
    END IF;/* If we got something, let's write it */
    IF (len > 0 ) THEN
    resultraw := resultraw || utl_raw.substr(data, pos, len);
    END IF;
    END LOOP;/* Point at the rest of the data buffer */
    IF (pos + len <= utl_raw.length(data)) THEN
    data := utl_raw.substr(data, pos + len);
    ELSE
    data := NULL;
    END IF;/* We're running out of file, only get the rest of it */
    if (file_len < amt and file_len > 0) then
    amt := file_len;
    end if;/* Read the next amount into the buffer */dbms_lob.read(fil, amt, filepos, buf);
    END LOOP;/* Don't forget to close the file */
    dbms_lob.fileclose(fil);
    SYS.UTL_MAIL.SEND_ATTACH_RAW(sender => '[email protected]', recipients => '[email protected]',subject => 'Testmail', message => 'Hallo', attachment => resultraw, att_filename => filename);
    EXCEPTION
    WHEN OTHERS THEN--dbms_output.put_line('Fehler');
    raise_application_error(-20001,'The following error has occured: ' || sqlerrm);
    END;
    Please suggest me what settings i need to change. This same procedure is running on another maching,but not on my machine.
    If somebody is having any other simple procedure ,please help me.
    My SMTP port -25
    Thanks in advance.

    Hi Justin,
    Please get the answers of your queries
    The error you're getting is coming from the SMTP server you are trying to connect to.
    - What SMTP server is your database configured to use?
    Reply - I am using IIS(5.0)
    - What SMTP server is the database where this code is working configured to use?
    Reply - Same IIS. Database is installed locally on my machine only. I am trying to send mail locally to me only,Not to the outside person.
    - Has the SMTP server been configured to allow connections from both machines?
    Reply - Yes
    One more query, do we really require to set the SMTP_OUT_SERVER parameter for SCOPE=BOTH
    ALTER SYSTEM SET smtp_out_server = '172.16.1.10' SCOPE=BOTH
    I am not able to set like this for BOTH,only for SPFILE i can set ?.
    My SMTP Server IP=172.16.1.10
    PORT- 25
    Thanks
    Manoj

  • Mail Error: ORA-29278: SMTP transient error: 421 Service not available

    I write process to send mail, it is running ok, but I have error ORA-29278: SMTP transient error: 421 Service not available.
    SMTP Host Address : localhost
    SMTP Host Port : 25
    When I connect to database as SYS and run : exec apex_mail.push_queue result is :
    Pushing email: 1225814842675154
    Pushed email: 1225814842675154
    PL/SQL procedure successfully completed.
    Please explain me what is happened!

    Hi;
    What is DB version?
    Please see:
    From Master Note For PL/SQL UTL_SMTP and UTL_MAIL Packages [ID 1137673.1] check Note 604763.1 "ORA-29278: SMTP transient error: 421 Service not available" When Using UTL_SMTP to Send Email.
    Regard
    Helios

  • In App Purchase showing "Service Not available" Message box with error code 805a01f4

    Hi all ,
            I am developing a windows phone silverlight 8.1 application .When i trying to buy my public app product using credit card i am getting message Service not available ."The store isn't available at the moment.Please check back
    in a bit . This error code may be helpful : 805a01f4 ." 
    Please tell me how to resolve .
    Thank you

    Thanks for your response .
    I try it many times . reboot the device and try again . . but still showing the same message . . but when i buy using "IDEA" .downloaded it without showing any error message . After  few seconds got a message on my number that "Dear customer,
    thank you for downloading Awsome from MICROSOFT .You have been charged RS.55. Your balance is Rs.xxx " . Then, what is the problem with credit cards ? Why it showing the Service not available message ? 

  • Server Admin says Web service Not Available

    The service status indicator is dark grey (not the dimmed grey of a service being off), and even the Settings view switch button is not showing.
    However, Apache is running and serving just fine.
    I had someone install Tomcat 5.0.28 today (using port :8080), and I really think that's related as the problem wasn't present until after this. This person unfortunately removed the built-in Tomcat and installed Tomcat 5 in its place (which we'll move tomorrow), but I'm wondering if there's some config settings or something that could be causing a conflict?
    Or, maybe there's another reason altogether. What would make Server Admin think Apache is not even available, when in fact it is actually running just fine.
    Thx for any ideas...
    Xserve G5 DP 2.3GHz   Mac OS X (10.4.4)  

    The service status indicator is dark grey (not the dimmed grey of a service being off), and even the Settings view switch button is not showing.
    However, Apache is running and serving just fine.
    I had someone install Tomcat 5.0.28 today (using port :8080), and I really think that's related as the problem wasn't present until after this. This person unfortunately removed the built-in Tomcat and installed Tomcat 5 in its place (which we'll move tomorrow), but I'm wondering if there's some config settings or something that could be causing a conflict?
    Or, maybe there's another reason altogether. What would make Server Admin think Apache is not even available, when in fact it is actually running just fine.
    Thx for any ideas...
    Xserve G5 DP 2.3GHz   Mac OS X (10.4.4)  

  • Installed SQL Reporting Services 2012 on SharePoint 2013 Server. SQL Reporting Service not available In the list of runnning services or new service applications

    Hi I'm trying to setup SQL reporting services in a SharePoint 2013 farm consisting of:
    4 WFE's
    4 App Servers (NLB Central Admin x 4 servers)
    4 App Severs for SSRS (Light limited SharePoint services running)
    I've installed SSRS 2012 SP1 by following the guide (http://msdn.microsoft.com/en-us/library/gg492276.aspx) on one of the SSRS SharePoint 2013 servers and ensuring Reporting Services - SharePoint and Reporting Services Add-in for SharePoint Products is selected.
    All completed without errors and I have even upgraded to SP2 for troubleshooting but no joy.
    I've then gone into SharePoint Central Admin and I cannot see SQL Reporting Service available In the list of runnning services on the server I have just installed SSRS on and going to manage service applications I cannot see in the new dropdown menu SQL
    Reporting Services.
    I have ran the following commands in the SHarePoint management shell:
    Install-SPRSService and Install-SPRSSeviceProxy
    and
    get-spserviceinstance -all |where {$_.TypeName -like "SQL Server Reporting*"} | Start-SPServiceInstance
    The reply was that the service was already online on the server.
    So in powershell all seems ok but it does not appear in central administration.
    I have also moved Central Administration to the SSRS SharePoint server too.
    Any other suggestions? Here is the same problem but in SP2010 (http://social.technet.microsoft.com/Forums/office/en-US/6a21cc05-1f9b-49ad-a9bb-44aa5b3ce312/action?threadDisplayName=after-installing-sql-reporting-services-service-for-sharepoint-2012-service-is-not-in-the-list-of)
    In my lab environment of a 4 server SP2013 farm it worked immediately when i installed it on the app server (CA host) so I dont think it is my install strategy.
    I guess my next attempt is to install SSRS on an app server with central administration hosted.
    Thanks

    I had the same issue on 2 different environments.
    I had 2 application servers. One had Central Administration. I installed SSRS on the other one and it never appeared in the Service Applications in SharePoint.
    When I also provisioned Central Administration on the other application server and went to the service applications using Central Admin on that server, the SSRS service application was there.
    Since then I always install SSRS on the server which hosts Central Admin. No issues then.

  • ORA-29278: SMTP transient error:421 Service not available error?-V.Urgent

    Hi All,
    I am trying to use utl_smtp for sending mails.
    1. I am not able to set SMTP_OUT_SERVER for scope =Both,i can use only SPFILE, Why?
    alter system set smtp_out_server = '<ip-address:port' scope=Both;
    my server ip address 172.16.1.10 and port-25
    2. I am using oracle 10g Rel1 database.
    3. I am using UTL_MAIL.SEND_ATTACH_RAW procedure for sending mail with attachment.
    Please help me as i tried so many things but no luck.
    This is very urgent.
    Thanks in Advance.

    Urgent is it?
    What makes you believe that your request for help is more important than someone else who has requested help? It's very rude to assume you are more important than somebody else, and I'm sure they would like an answer to their issue as soon as they can get one too, but they've generally been polite and not demanded that it is urgent.
    Also, you assume that people giving answers are all sitting here just waiting to answer your question for you. That's not so. We're all volunteers with our own jobs to do. How dare you presume to demand our attention with urgency.
    If you want help and you want it answering quickly you simply just put your issue forward and provide as much valuable information as possible.
    You will find if you post on here demanding your post is urgent then most people will just ignore it, some will tell you to get lost, and some will explain to you why you shouldn't post "urgent" requests. Occasionally you may find somebody who's got nothing better to do who will actually provide you with an answer, but you really are limiting your options by not asking properly.
    Looking at your question:
    1. I am not able to set SMTP_OUT_SERVER for scope =Both,i can use only SPFILE, Why?Why indeed? What problem are you actually having? Is it giving you an error? If so, what is the error?

  • Sending mail - ORA-29278: SMTP transient error: 421 Service not available

    Hi everybody,
    I am trying to send mail using
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    But getting the error as mentioned in the title.
    I searched the forum and find so many threads.
    But not sure what to do.
    Can anyone help me,please?
    Thanks,
    jeneesh

    Hi
    Send you the code we use.
    PROCEDURE send_email (from_name varchar2,to_name varchar2,subject varchar2,message varchar2,max_size number default 9999999999,file_name varchar2 default null) is
    v_smtp_server varchar2(100) := your_smtp_server;
    v_smtp_server_port number := 25;
    v_directory_name varchar2(100);
    v_file_name varchar2(100);
    v_line varchar2(1000);
    crlf varchar2(2):= chr(13) || chr(10);
    mesg varchar2(32767);
    conn UTL_SMTP.CONNECTION;
    v_slash_pos number;
    v_file_handle utl_file.file_type;
    invalid_path exception;
    begin
    conn:= utl_smtp.open_connection( v_smtp_server, v_smtp_server_port );
    utl_smtp.helo( conn, v_smtp_server );
    utl_smtp.mail( conn, from_name );
    utl_smtp.rcpt( conn, to_name );
    utl_smtp.open_data ( conn );
    mesg:= 'Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || crlf ||
    'From: ' || from_name || crlf ||
    'Subject: ' || subject || crlf ||
    'To: ' || to_name || crlf ||
    'Mime-Version: 1.0' || crlf ||
    'Content-Type: multipart/mixed; boundary="DMW.Boundary.605592468"' ||
    crlf ||
    '' || crlf ||
    '--DMW.Boundary.605592468' || crlf ||
    'Content-Type: text/plain; name="message.txt"; charset=US-ASCII' ||
    crlf ||
    'Content-Disposition: inline; filename="message.txt"' || crlf ||
    'Content-Transfer-Encoding: 7bit' || crlf ||
    '' || crlf ||
    message || crlf ;
    utl_smtp.write_data ( conn, mesg );
    if file_name is not null then
              begin
                        v_slash_pos := instr(file_name, '/', -1 );
                        if v_slash_pos = 0 then
                                  v_slash_pos := instr(file_name, '\', -1 );
                        end if;
                        v_directory_name := substr(file_name, 1, v_slash_pos - 1 );
                        v_file_name := substr(file_name, v_slash_pos + 1 );
                        v_file_handle := utl_file.fopen(v_directory_name, v_file_name, 'r');
                        mesg := crlf || '--DMW.Boundary.605592468' || crlf ||
                        'Content-Type: application/octet-stream; name="' || v_file_name ||
                        '"' || crlf ||
                        'Content-Disposition: attachment; filename="' || v_file_name ||
                        '"' || crlf ||
                        'Content-Transfer-Encoding: 7bit' || crlf || crlf ;
                        utl_smtp.write_data ( conn, mesg );
                        loop
                                  utl_file.get_line(v_file_handle, v_line);
                                  mesg := v_line || crlf;
                                  utl_smtp.write_data ( conn, mesg );
                        end loop;
                        exception
                             when utl_file.invalid_path then
                             dbms_output.put_line('Error in opening attachment ' || file_name);
                             when others then
                             null;
              end;
    end if;
    mesg := crlf || '--DMW.Boundary.605592468--' || crlf;
    utl_smtp.close_data( conn );
    utl_smtp.quit( conn );
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line(sqlerrm);
    dbms_output.put_line(sqlcode);
    end;
    Hope it helps u

  • Send E-mail from Oracle (9.2.0.1) : SMTP transient error: 421 Service not a

    I have used Oracle 9i server (9.2.0.1 version) on Windows XP machine(with SP2).I want to send Email from PL/SQL procedure.
    My Question is what sort of configuration needed to perform this activity?
    I have installed IIS (Internet Information Service)
    in my machine, then configure my SMTP mail server
    with a valid email id and password given TCP port 465.
    Later I came to know that to send Email from PL/SQL I have to install Oracle JServer Code. Follow three steps. the steps are
    1. Execute the script as sys "$ORACLE_HOME\javavm\install\initjvm.sql"
    2. Execute the loadjava classfile as
    $ORACLE_HOME\plsql\jlib>loadjava -f -v -r -u sys/**** plsql.jar
    3. Execute the script as sys "$ORACLE_HOME\rdbms\admin\initplsj.sql"
    I sucessfully executed the first step, but for the second step iam not able to locate the plsql.jar file in the specified path.
    So Please tell me if there is any other method to perform this task
    My code is as follows.
    CREATE OR REPLACE PROCEDURE SEND_MAIL (
                                  msg_to varchar2,
                                  msg_subject varchar2,
                                  msg_text varchar2
                                  IS
                                  c utl_smtp.connection;
                                  rc integer;
                                  msg_from varchar2(50) := '[email protected]';
                                  mailhost VARCHAR2(30) := 'mail.google.com';
                             BEGIN
                                  c := utl_smtp.open_connection(mailhost, 465);
                                  utl_smtp.helo(c, mailhost);
                                  utl_smtp.mail(c, msg_from);
                                  utl_smtp.rcpt(c, msg_to);
                                  dbms_output.put_line(' Start Sending data');
                                  utl_smtp.data(c,'From: Oracle Database' || utl_tcp.crlf ||
                                  'To: ' || msg_to || utl_tcp.crlf ||
                                  'Subject: ' || msg_subject ||
                                  utl_tcp.crlf || msg_text);
                                  dbms_output.put_line(' Finish Sending data');
                                  utl_smtp.quit(c);
              EXCEPTION
                   WHEN UTL_SMTP.INVALID_OPERATION THEN
    dbms_output.put_line(' Invalid Operation in Mail attempt using UTL_SMTP.');
                   WHEN UTL_SMTP.TRANSIENT_ERROR THEN
    dbms_output.put_line(' Temporary e-mail issue - try again');
    WHEN UTL_SMTP.PERMANENT_ERROR THEN
    dbms_output.put_line(' Permanent Error Encountered.');
    END;
    Procedure Created.
    SQL> execute prc_send_mail('[email protected]','[email protected]','Good Morning.');
    BEGIN prc_send_mail('[email protected]','[email protected]','Good Morning.'); END;
    ERROR at line 1:
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 17
    ORA-06512: at "SYS.UTL_SMTP", line 96
    ORA-06512: at "SYS.UTL_SMTP", line 374
    ORA-06512: at "SCOTT.PRC_SEND_MAIL", line 19
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at line 1.
    Please tell me how to solve this problem.
    Thank You.

    1) Why did you install an SMTP server locally and then tell your code to try to use the server mail.google.com?
    2) The error you're getting is from mail.google.com indicating that Google isn't running an open SMTP server there. I would be very surprised if Google were running a publicly available SMTP server anywhere since that would be an invitation for spammers.
    Justin

  • SMTP service not available

    Hi,
    How to send mail through the following code ?
    CREATE OR REPLACE PROCEDURE send_mail (p_to IN VARCHAR2,
    p_from IN VARCHAR2,
    p_message IN VARCHAR2,
    p_smtp_host IN VARCHAR2,
    p_smtp_port IN NUMBER DEFAULT 25)
    AS
    l_mail_conn sys.UTL_SMTP.connection;
    BEGIN
    l_mail_conn := sys.UTL_SMTP.open_connection(p_smtp_host, p_smtp_port);
    sys.UTL_SMTP.helo(l_mail_conn, p_smtp_host);
    sys.UTL_SMTP.mail(l_mail_conn, p_from);
    sys.UTL_SMTP.rcpt(l_mail_conn, p_to);
    sys.UTL_SMTP.data(l_mail_conn, p_message || UTL_TCP.crlf || UTL_TCP.crlf);
    sys.UTL_SMTP.quit(l_mail_conn);
    END;
    BEGIN
    send_mail(p_to => '[email protected]',
    p_from => '[email protected]',
    p_message => 'This is a test message.',
    p_smtp_host => 'mail.google.com');
    END;
    ERROR:
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 96
    ORA-06512: at "SYS.UTL_SMTP", line 138
    ORA-06512: at "APPS.SEND_MAIL", line 9
    ORA-06512: at line 2
    Please help me to get through the error.
    Thanks in advance ,
    Pradeep
    Edited by: user11165897 on Dec 7, 2012 2:27 AM

    Hi,
    here all the input values are wrong.
    By providing correct host, email, port it is working fine now..
    pradeep

  • WD demo application: "Service not available" although service active

    Hi everyone
    I am new in Web Dynpro and while doing some tutorials I came across WD application DEMO_CONTEXT_PROP (package SWDP_DEMO). I wanted to test it, but I get error page "Service not available" and error code 403 "Forbidden". And if I test the service directly in SICF, I get error message SHTTP009.
    The service itself is active in SICF, as well as the mentioned services in SAP note 1088717. And I can run other WD demo applications (such as DEMO_TABLE) without problems. Only this one is giving me problems.
    The funny thing is that in SICF there are 2 services called DEMO_CONTEXT_PROP! One is greyed out, the other one is active. But even if I right-click on the one that is greyed out, is still says "active"!?
    Any suggestions? Thanks!

    Hello Jan,
    we had this issue some weaks ago. When upgrading a system to EhP3 SAP delivered a new WebDynpro ICF service which had already been delivered earlier in a support package.
    Problem is that the name of the SICF service is not its key. The real key for the service is a generated GUID which is stored in the database. If you create a service and later SAP delivers it or if SAP developed in 2 different release stacks the service may appear dublicated as you have 2 different GUIDs for the service. If the service is there twice the system tries one by chance if you are unlucky it takes the inactive one and you get the 403 error.
    Thanls to Ramp Up status we discussed this directly with development. Unfortunately there is no real cleanup / consolidation function yet. The straight forward solution was renaming one of the services. As you only use a Demo Web Dynpro ICF service any of them will work. Perhaps you have to activate the one which is not renamed (you cannot really choose which you rename as the SICF tree is totally confused by the 2 services).
    If you have this trouble for a production service you need the SAP to tell you which service (which GUID) is the long term supported and rename the other (perhaps you have to rename, rename the other and then rename the first back). If you do not do this you get the same problem with every Support Package which touches the ICF Services again.
    Best Regards
    Roman Weise

  • 503 Service not available error while testing web service in SOAMANAGER

    Hi guys,
    We have created a web service in ABAP and want to test it in soamanager.
    When trying to test it using the    "Open Web Service navigator for selected binding" link in web service administration page    we get the error page--
    503 Service not available
    Error: -6
    Version: 7000
    Component: J2EE Server
    Date/Time: Thu Jul 30 10:40:50 2009 
    Module: http_j2ee.c
    Line: 820
    Server: cmphr_HRC_10
    Error Tag:
    Detail: Cannot reach external Application Server on localhost:51000
    we have enabled the wsdl service in SICF and also the APP SOA MANAGER service.
    Can anyone please help.
    Thanks in advance.
    Regards
    Prince

    Hi,
    Detail: Cannot reach external Application Server on localhost:51000
    51000 is the port when the j2ee engine runs. As you dont have java stack am afraid this would not work.
    Regards,
    Vamshi.

Maybe you are looking for

  • Link editor - & and | symbols

    What's the use of "|" (pipe) symbol available in the calculations area of the Link editor? I thought it was an "OR" operator. But it doesn't seem to work as an "OR" Any ideas? I understand "&" is used to do a concatenate.

  • How do I set Firefox as my default browser? I can't do it through Firefox.

    I recently updated to 3.6.13, and I tried 4, but I lost all my toolbars.

  • Fox Formula in Integrated planning.

    Hi All, I have a requirement like this. My data in cube is like this. SEASN BR    DU   ST      PS      VOL.. SS09    AD    BB   ST1    PS1     100 SS09    AD    BB   ST1    PS2     200. SS09    AD    BB   ST2    PS3     300. SS09    AD    BB   ST3   

  • How secure is this transfer protocol?

    Is it just open on the cloud? Can I encrypt it? Can it be accessed by others who don't have the direct link?

  • Installing HTMLDB: misconfiguration on pls/htmldb/

    Hello, after Installing HTMLD I cannot access the page http://localhost:7777/pls/htmldb/ 1) http://localhost:7777/ -->works fine 2) ERROR_LOG: [Thu Apr 20 09:22:41 2006] [notice] FastCGI: process manager initialized [Thu Apr 20 10:48:17 2006] [error]