Solved

unix mail issues

Posted on 2011-02-25
7
231 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 78

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 78

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 78

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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

730 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