Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

unix mail issues

Posted on 2011-02-25
7
Medium Priority
?
237 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 80

Accepted Solution

by:
arnold earned 2000 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 80

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
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 

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 80

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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

636 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