Sponsored Content
Operating Systems AIX Not able to receive emails after job execution Post 302935574 by aaron8667 on Tuesday 17th of February 2015 04:36:35 PM
Old 02-17-2015
Thanks for your help.

port 25 is open on only one server. not on all other exchnage servers

I can only telnet to "mymail2hub.domain.com". and looks like mail command worked; it prompted for subject, cc details etc. but I did not get any email message.


Please see the errors below from logs.

Code:
logs
=====

Feb 17 16:09:53 aixhost mail:info sendmail[9374416]: t1HL9rHd9371656: from=root, size=78, class=0, nrcpts=1, msgid=<201502172109.t1HL9rHd9371656@aixhost.domain.com>, 

relay=root@localhost
Feb 17 16:10:41 aixhost mail:info sendmail[9834405]: t1HLAfJg9830514: from=root, size=11, class=0, nrcpts=1, msgid=<201502172110.t1HLAfJg9830514@aixhost.domain.com>, 

relay=root@localhost
Feb 17 16:11:08 aixhost mail:info sendmail[9373316]: t1HL9rHd9371656: to=myemail@example.com, ctladdr=root (0/0), delay=00:01:15, xdelay=00:01:15, mailer=esmtp, 

pri=30078, relay=example.com., dsn=4.0.0, stat=Deferred: Name server: example.com.: host name lookup failure


 aixmibd.log
=============
 
Wed Jan 21 14:28:28 EST 2015  Connect to SNMP agent on the host loopback failed,
will keep trying
Thu Jan 22 11:33:20 EST 2015  Connect to SNMP agent on the host loopback failed,
will keep trying
Fri Jan 30 23:56:20 EST 2015  Connect to SNMP agent on the host loopback failed,
will keep trying
Sun Feb 15 01:15:10 EST 2015  Connect to SNMP agent on the host loopback failed,
will keep trying

hostmibd.log
==============

 01/21/15 02:28:28 PM -  ../../../../../../src/tcpip/usr/sbin/hostmibd/hr_main.C (586) Connect to SNMP agent failed, will keep trying
 01/22/15 11:33:20 AM -  ../../../../../../src/tcpip/usr/sbin/hostmibd/hr_main.C (586) Connect to SNMP agent failed, will keep trying
 01/30/15 11:56:20 PM -  ../../../../../../src/tcpip/usr/sbin/hostmibd/hr_main.C (586) Connect to SNMP agent failed, will keep trying
 02/15/15 01:15:09 AM -  ../../../../../../src/tcpip/usr/sbin/hostmibd/hr_main.C (586) Connect to SNMP agent failed, will keep trying


snmpmibd.log
=============

 01/21/15 02:28:27 PM -  dpi_main.c (790) snmpmibd (4456584) is starting.
 01/22/15 09:15:08 AM -  dpi_main.c (1416) snmpmibd (4456584) is terminating.
 01/22/15 11:33:19 AM -  dpi_main.c (639) snmpmibd: 1473-665  Connect to SNMP agent failed, will keep trying.
 01/22/15 11:33:19 AM -  dpi_main.c (790) snmpmibd (3473408) is starting.
 01/29/15 09:28:57 PM -  dpi_main.c (1416) snmpmibd (3473408) is terminating.
 01/30/15 11:56:19 PM -  dpi_main.c (639) snmpmibd: 1473-665  Connect to SNMP agent failed, will keep trying.
 01/30/15 11:56:19 PM -  dpi_main.c (790) snmpmibd (3801216) is starting.
 02/13/15 05:47:46 PM -  dpi_main.c (1416) snmpmibd (3801216) is terminating.
 02/15/15 01:15:09 AM -  dpi_main.c (639) snmpmibd: 1473-665  Connect to SNMP agent failed, will keep trying.
 02/15/15 01:15:09 AM -  dpi_main.c (790) snmpmibd (3997826) is starting.


* when i setup mail/realy server details in sendmail.cf file ; and i can receive email from aix lpar using sendmail command.

please let me know if you see anything from logs.

thanks much
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sequential execution of job in cron

Hi I have a file say xyz.sh, whose contents are as follows : *************************** #! /bin/ksh set -x . /a.sh . /b.sh . /c.sh ***************************** Now will this execute all the three process simultaneously or sequentially? If it will process simultaneously, is... (3 Replies)
Discussion started by: pankajkrmishra
3 Replies

2. UNIX for Advanced & Expert Users

Job execution through Xming

Hello, Every evening I run few shell scripts on AIX Production Box, One shell script takes about one hour to complete and does some DB updation and application processing etc. The shell scripts are getting launched from prompt and not through cron or any scheduler as they require some manual... (0 Replies)
Discussion started by: panchpan
0 Replies

3. IP Networking

Configuring POSTFIX to receive emails only from localhost

Hello, I am new to POSTFIX. My manager has asked me to configure POSTFIX running on a server to accept mail only from itself(localhost). Can someone tell me how I can go about doing this? (1 Reply)
Discussion started by: mojoman
1 Replies

4. UNIX for Dummies Questions & Answers

Confirm job execution

Hello everybody, Can anybody tell me how do we comfirm the execution of a scheduled job ? In other words, how do I know whether my scheduled script is being executed or not ? Thanks Jitu JK (2 Replies)
Discussion started by: jitu.jk
2 Replies

5. Solaris

Solaris 10.5 perl and cron job execution problem

Hi, I want to run a crontab job on solaris 10.5. I have configured the crontab accordingly 10 * * * * /scripts/dbalter.pl >> /scripts/cronout.txt However this does not work .Then I go to /var/mail/root and find an error in the output: From root@myserver Wed Feb 4 17:02:00 2009... (1 Reply)
Discussion started by: sonu2die4
1 Replies

6. Shell Programming and Scripting

Job Execution in Parallel and Maintain Dependency

All, We need to run multiple jobs in parallel with the dependencies intact. I was trying to use the same with &, but in vain. Is there is any other way to resolve this issue. I need to run Set1 A.sh B.sh C.sh Set2 D.sh E.sh Set3 F.sh (10 Replies)
Discussion started by: anand_msm
10 Replies

7. Shell Programming and Scripting

Parallel Job Execution

Hi All, At present I am using a UNIX Script which is running a set of JOBS. These JOBS are to be repeated for 20 times, means the same set of JOBS are repeated by just passing different arguments (From 1 to 20). Is there any way by which I can execute them parallel? At present its all... (4 Replies)
Discussion started by: Prashantckc
4 Replies

8. Programming

Is it possible to receive emails from my computer?

Could someone help me receive emails sent to my ip address with a c program? (5 Replies)
Discussion started by: Errigour
5 Replies

9. Shell Programming and Scripting

Problem with Job execution using crontab

Hi All, I am facing a problem with crontab.I made an entry in crontab like this 05 07 * * * /afs2/cdwfullacc/current/exe/cdw_generate_special_klant.sh > /afs2/cdwfullacc/current/scratch/cdw_gen_cron.log But job was not getting executed. Entry in crontab was made with same user by whom... (4 Replies)
Discussion started by: krishna_gnv
4 Replies

10. Shell Programming and Scripting

Execution problem with CRON job

HI, I have written an executable file in unix and I was able to execute it successfully but when I called this file with cron job it was giving error like "permission denied" and "No such file or directory". Please help in how cron calls the file and what permission is required on the file... (2 Replies)
Discussion started by: vipin kumar rai
2 Replies
WEDGED(8)						      System Manager's Manual							 WEDGED(8)

NAME
wedged - HylaFAX modem wedged script SYNOPSIS
/var/spool/hylafax/bin/wedged devid device DESCRIPTION
bin/wedged is the command script invoked by the facsimile server when a modem is deemed to be in an irreparable state and requires operator intervention. This decision is based on the setting of the MaxSetupAttempts configuration parameter described in hylafax-config(5). The default wedged script sends electronic mail to the FaxMaster alias. The interval at which emails are sent can be configured in the etc/FaxDispatch file by setting the WEDGED_EMAIL_INTERVAL variable to the desired number of minutes (emails will be sent no more than every WEDGED_EMAIL_INTERVAL minutes, until the wedged condition persists). If the variable WEDGED_DISABLE_FAXGETTY is set in etc/FaxDispatch then the script will attempt to disable any faxgetty processes spawned by the init(8) process for the problematic modem. In addition the faxq(8) process automatically disables use of the modem for servicing outbound jobs. The devid argument is the identifier derived from the name of the modem's device file by substituting ``_'' characters for ``/'' charac- ters; e.g. term_10 for /dev/term/10. The device argument is the name of the character special device associated with the modem. If there exists an executable file /var/spool/hylafax/etc/resetmodem then that file will be executed upon execution of the wedged script in an effort to recover the modem. FILES
/usr/lib/sendmail for delivering mail SEE ALSO
faxq(8), hylafax-config(5) October 3, 1995 WEDGED(8)
All times are GMT -4. The time now is 01:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy