1 2 3 Previous Next 30 Replies Latest reply: Dec 16, 2013 9:06 AM by f5af4ed6-d9eb-4a60-ab07-b8728143a148 Go to original post RSS
      • 30. Re: Linux daemon connect to oracle.
        f5af4ed6-d9eb-4a60-ab07-b8728143a148

        I see.

         

        This file: /etc/transmit_email.cfg

         

        ;---------General section---------;

        ;section = General

        ;----- DataBase section --------;

        section= DATABASE;

            USER_NAME = CUSK;

            PASS_WORD = qwerty123;

            CONNECT_STRING = orcl209;

            ;USER_NAME = USERRS1;

            ;PASS_WORD = 123;

            ;CONNECT_STRING = DBRS;

        ;----- Emails section ----------;

        section = EMAIL;

            PATH_EMAIL = /home/capthree/mail/email_from_ora

            PATH_SCRIPT = /home/capthree/mail/email_script

            EMAIL_DIR = /home/capthree/mail/from_space/

            ;PATH_EMAIL = /home/mailuser/mail/email_from_ora

            ;PATH_SCRIPT = /home/mailuser/mail/email_script

            ;EMAIL_DIR = /home/mailuser/mail/from_space/

        ;----- Delay section ------------;

        section = DELAY;

            DELAY = 999999999;

            DELAY_ORA = 999999999;

         

        root@akrashenin:/etc# ls -fl /etc/transmit_email.cfg

        -rw-r--r-- 1 capthree capthree 721 нояб. 29 12:00 /etc/transmit_email.cfg

         

        Log file:

         

        2013-12-16 18:17:12 === Daemon start

        2013-12-16 18:17:12 === Transmit of the message from Oracle for email is started!!!

        2013-12-16 18:17:12 + Parsing the config file successful.

        2013-12-16 18:17:12 * Try to connect to Oracle.

        2013-12-16 18:17:13 * DB username: CUSK

        2013-12-16 18:17:13 * DB password: qwerty123

        2013-12-16 18:17:13 * DB connection string: orcl209

        2013-12-16 18:17:13 * Begin of connection to Oracle.

         

        Username, password and connection string match the actual.

        1 2 3 Previous Next