Sponsored Content
Full Discussion: DNS server /var/spool issue
Operating Systems Solaris DNS server /var/spool issue Post 302774743 by Junaid Subhani on Sunday 3rd of March 2013 03:38:45 AM
Old 03-03-2013
DNS server /var/spool issue

Hello all
Currently I am working in a live production environment with 100+ Solaris servers . The environment has one DNS server and one SMTP server.

The problem that I am facing since the past 2 months is that the /var/spool/mqueue on my DNS server keeps getting full i.e. mails with name starting with qfr & dfr keeping on gathering up and I have to manually go and delete these mails.
Some sample outputs of these mail files are given below:

Code:
root@opaldn0: /var/spool/mqueue $ cat dfr238L5KN024487
Your "cron" job on mercury0 couldn't be run
can't change directory to your home directory.
Your commands will not be executed.
The error was "No such file or directory"

Code:
root@opaldn0: /var/spool/mqueue $ cat dfr237i8iY018725
Your "cron" job on mercury1
/med/appl/debmed/bin/runReadgFileS1.sh

produced the following output:

create_log_dir.sh is already running.


Code:
root@opaldn0: /var/spool/mqueue $ cat qfr237oAtK019510
V8
T1362297010
K1362297460
N1
P120613
I0/0/16374
MDeferred: Connection timed out with mercury1.waridtel.com.
Fbs
$_mercury1.waridtel.com [172.21.5.14]
$rESMTP
$smercury1.waridtel.com
${daemon_flags}
${if_addr}172.16.2.28
S<debmed@mercury1.waridtel.com>
MDeferred: Connection timed out with mercury1.waridtel.com.
rRFC822; debmed@mercury1.waridtel.com
RPFD:<debmed@mercury1.waridtel.com>
H?P?Return-Path: <g>
H??Received: from mercury1.waridtel.com (mercury1.waridtel.com [172.21.5.14])
        by opaldn0.waridtel.com (8.13.8+Sun/8.13.8) with ESMTP id r237oAtK019510
        for <debmed@mercury1.waridtel.com>; Sun, 3 Mar 2013 12:50:10 +0500 (PKT)
H??Received: (from debmed@localhost)
        by mercury1.waridtel.com (8.14.4+Sun/8.13.8/Submit) id r237o5Dc026496
        for debmed; Sun, 3 Mar 2013 12:50:05 +0500 (PKT)
H??Date: Sun, 3 Mar 2013 12:50:05 +0500 (PKT)
H??From: Backend BINs operator for mediation <debmed@mercury1.waridtel.com>
H??Message-Id: <201303030750.r237o5Dc026496@mercury1.waridtel.com>
H??To: debmed@mercury1.waridtel.com
H??Subject: Output from "cron" command
H??MIME-Version: 1.0
H??Content-Type: text/plain


It seems that the issue is somewhat related to crons.

Does anyone know how I can get rid of such mails ? I have to empty the /var/spool/mqueue directory every 7-8 hours since the number of mails reaches 50,000 +
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

/var/spool/mqueue !!!

I keep having this msg on my SunOS console : Jun 29 08:57:40 bersimis sendmail: NOQUEUE: low on space (have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue) I tried to make some space by deleting the files in it, but the msg came back ... Any tips ? Thanks (3 Replies)
Discussion started by: Wingman21
3 Replies

2. UNIX for Dummies Questions & Answers

/VAR/SPOOL/MAIL question

Hi, We have all the user account in a home direcory where their mail is stored and retrieved by email clients. We do however have /var/spool/mail with all the user accounts in it as well Our sendmail.cf is configured to use /var/spool/mqueue as the queue so .what is /var/spool/mail being used... (3 Replies)
Discussion started by: mojoman
3 Replies

3. UNIX for Dummies Questions & Answers

/var/spool/mail

Hi, How can i get my mail on either /var/spool/mail or /var/mail? I use mail and sendmail command to send mail. But everytime I send mail it comes to my outlook inbox and when I check with mail command I get the message "No mail for siba". (Note siba is my user Id.) (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

4. UNIX for Advanced & Expert Users

Mail going to /var/spool/mqueue instead of being sent

Hello, I have a bunch of cron jobs in the crontab. For some reason mail from the cron jobs started going to /var/spool/mqueue instead of being sent. Does anyone know why mail from cron jobs would go to the queue instead of being sent? (9 Replies)
Discussion started by: xadamz23
9 Replies

5. Solaris

Solaris 9, /var/spool/clientmqueue/

Hi, We have some 2-3 Solaris 9 servers with the following issue. For every cron job which has email notifications, it is sending the emails, but it create files at /var/spool/clientmqueue/ which has similar contents. " V6 T1271362260 K1271362260 N1 P30359 MDeferred: Connection refused... (1 Reply)
Discussion started by: uxadmin007
1 Replies

6. Solaris

/var/spool/clientmqueue

Hi, solaris : 9 can we delete the files from this location /var/spool/clientmqueue . I found around 40K files lying in this location. Regards (1 Reply)
Discussion started by: maooah
1 Replies

7. AIX

/var/spool/mail/ issues

Hi My box is running with AIX 6100-06 and Im the root user of this box My /var gets filled up often to 100% When I investigate I find that it is the below file which increases rapidly /var/spool/mail/pdgadmin I dont know why this file is growing up. Can any one assist me on this.... (2 Replies)
Discussion started by: samsungsamsung
2 Replies

8. Solaris

BIND DNS Server issue on Solaris 10

Hi all, I have some sort of problem with BIND DNS server my environment as follows. bash-3.00# cat /etc/release Solaris 10 6/06 s10s_u2wos_09a SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

9. Solaris

/var/spool/mqueue issue

Hi guys . I have a solaris machine serving as a DNS server for my environment. Everytime I go into /var/spool/mqueue , there are an aweful lot of emails with names likes: qfqB6ChrpL006644. When I cat the file , I get the following output: H??Received: from machine.domain.com... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies

10. UNIX for Dummies Questions & Answers

DNS server - /etc/resolv.conf file issue

Hi, Am trying to configure DNS server and trying to keep the information in /etc/resolv.conf file as: search server nameserver 192.168.0.10 when i restart the network service with #service network restart, resolv.conf file is changing as: nameserver 192.168.0.10 search server -... (5 Replies)
Discussion started by: raosr020
5 Replies
CRON(8) 						      System Manager's Manual							   CRON(8)

NAME
cron - daemon to execute scheduled commands (Vixie Cron) SYNOPSIS
cron DESCRIPTION
Cron should be started from /etc/rc or /etc/rc.local. It will return immediately, so you don't need to start it with '&'. Cron searches /var/spool/cron for crontab files which are named after accounts in /etc/passwd; crontabs found are loaded into memory. Cron also searches for /etc/crontab and the files in the /etc/cron.d/ directory, which are in a different format (see crontab(5)). Cron then wakes up every minute, examining all stored crontabs, checking each command to see if it should be run in the current minute. When execut- ing commands, any output is mailed to the owner of the crontab (or to the user named in the MAILTO environment variable in the crontab, if such exists). Additionally, cron checks each minute to see if its spool directory's modtime (or the modtime on /etc/crontab) has changed, and if it has, cron will then examine the modtime on all crontabs and reload those which have changed. Thus cron need not be restarted whenever a crontab file is modified. Note that the Crontab(1) command updates the modtime of the spool directory whenever it changes a crontab. SEE ALSO
crontab(1), crontab(5) AUTHOR
Paul Vixie <paul@vix.com> 4th Berkeley Distribution 20 December 1993 CRON(8)
All times are GMT -4. The time now is 12:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy