Solved

unix mail issues

Posted on 2011-02-25
7
233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 

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

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!

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
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.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

707 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