Solved

unix mail issues

Posted on 2011-02-25
7
229 Views
Last Modified: 2012-05-11
My group has a job that runs daily at 06:00 on server123 which sends an e-mail to dba@tester.com (the FROM address is Oracle Database Owner [oracle@tester.com]).  Several weeks ago, it started producing a second e-mail from ‘nobody@tester.com’, at the same time but with no content. Can you help me identify what is producing this second message at the same time?

check_oracle_logs.sh
/acct/user/edwdev/scripts/oracle_log_check.sh > /tmp/oracle_log_check.out
# mail to oracle dbas this file...  < /usr/dba/oracle/admin/scripts/oracle_log_check.$TODAY
mailops="dba@tester.com"
mailx -s "edwdev" $mailops < /tmp/oracle_log_check.out
0
Comment
Question by:AIX25
  • 3
  • 3
7 Comments
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 34983679
Check your cron entry to make sure it is no being generated when the cron runs.
i.e. do you have a forwarding directive under the cron account. i.e. in root you have a .forward file that redirects the email to you?
Check the maillog to see what/when generates the email messages to see whether it occurs when the cron job ends.
0
 

Author Comment

by:AIX25
ID: 34983814
It is not a cron job. It is scheduled with the oracle server.
0
 
LVL 77

Expert Comment

by:arnold
ID: 34983877
Not familiar with what you are using, but things to consider:
Check the scheduler to see whether the running of a scheduled job generates a notification.
Could it be that the scheduler has a success/fail notification?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:AIX25
ID: 35130541
Could it be that the scheduler has a success/fail notification?
It emails the outputs either way.
0
 
LVL 77

Expert Comment

by:arnold
ID: 35135043
Does the scheduler have a setting where you can define whether the notification should be sent on success, failure or both?
0
 

Author Comment

by:AIX25
ID: 35202751
Still trying to find out, will update
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question