Sponsored Content
Full Discussion: sendmail -q hangs
Top Forums UNIX for Advanced & Expert Users sendmail -q hangs Post 85229 by chaandana on Monday 3rd of October 2005 11:08:14 PM
Old 10-04-2005
sendmail -q hangs

Hi,

I have a system where sendmail deamon not running.
(And I have lot of jobs under crontab).
But I have whole lot of sendmail processes started-up by cron process, eating up its CPU resources. (for a sample - see below)
$ ps -ef|grep 248
root 248 1 0 Aug 12 ? 0:56 /usr/sbin/cron
root 11861 248 0 Sep 26 ? 0:00 sh -c if [ -x /usr/lib/sendmail ]; then /usr/lib/sendmail -q; fi
root 7328 248 0 Oct 02 ? 0:00 sh -c if [ -x /usr/lib/sendmail ]; then /usr/lib/sendmail -q; fi
root 14735 248 0 Sep 26 ? 0:00 sh -c if [ -x /usr/lib/sendmail ]; then /usr/lib/sendmail -q; fi
root 25825 248 0 Oct 03 ? 0:00 sh -c if [ -x /usr/lib/sendmail ]; then /usr/lib/sendmail -q; fi
root 16386 248 0 Sep 30 ? 0:00 sh -c if [ -x /usr/lib/sendmail ]; then /usr/lib/sendmail -q; fi

When I tried to startup the deamon as used in the cron executable like:
"/usr/lib/sendmail -q" I get errors: (see below)
# /usr/lib/sendmail -q
hash map "Alias0": missing map file /etc/aliases.db: No such file or directory
dbm map "Alias0": missing map file /etc/aliases
Operating system error
Operating system error

But If I run the command like this: "/usr/lib/sendmail -q15m", then it works fine.

1. How to get rid of following type of processes:
"root 14735 248 0 Sep 26 ? 0:00 sh -c if [ -x /usr/lib/sendmail ]; then /usr/lib/sendmail -q; fi"

My system details:
$ uname -i
SUNW,Ultra-60
$ uname -a
SunOS stib2 5.8 Generic_117350-26 sun4u sparc SUNW,Ultra-60s:

Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. AIX

HMC Hangs

Hi Gurus ; I have few SP Nodes running and alongwith that there is a console. All running Aix 4.3. The console system use to monitor activities for other SP nodes but at a sudden the console stops responding without logging any error. We have to reboot everytime sometimes twice or thrice in... (0 Replies)
Discussion started by: yadwendrav
0 Replies

2. AIX

sysback hangs

I've set sysback to run in the cron daily to backup my servers to a nim servers SAN storage. Every once and a while the backup process hangs and the backup doesn't complete. When I check the processes the sysback processes are still running hours after sysback would normally end. I don't see any... (1 Reply)
Discussion started by: daveisme
1 Replies

3. Shell Programming and Scripting

Script Hangs!

Hi, I have script which is based on TCL and expect. It is written to test my code. It usually runs fine for a while and hangs after sometime. Code snippet set l_temp_timeout $timeout OUTPUT_LOG2 2 >>>$expect_out(buffer)<<< OUTPUT_LOG2 2... (2 Replies)
Discussion started by: naveenpn
2 Replies

4. Solaris

System hangs

Hi, today when i started the OS Sun Solaris 10 it hangs on initialization. Following was shown in the end of the screen Initializing system Please wait.... * Please help? (3 Replies)
Discussion started by: malikshahid85
3 Replies

5. UNIX for Advanced & Expert Users

SSH hangs

Hi all, At a little bit of loss here. I have a Linux box (Redhat Enterprise 4) that has been working flawlessly for a while, that is until late Tuesday when none of the users could ssh into it. The machine is in a DMZ over which I have no control of the network settings. Here is the debug output... (6 Replies)
Discussion started by: ccj4467
6 Replies

6. Red Hat

Xrdp hangs

Hi, I'm trying to get xrdp to work. I installed xrdp 0.5.0 from EPEL and the Desktop group. Now I can connect to the server with rdesktop, but I can't do any input... there is an authentication window asking the root password "to set the network proxy used for downloading packages" and I can't... (0 Replies)
Discussion started by: FrankVanDamme
0 Replies

7. IP Networking

SFTP hangs

Ok sftp connects but hangs after I enter the password manually The ssh version is 1.0 bash-2.05$ ssh -V SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0. When I go from solaris 9 to sftp to another server with latest proftpd version it hangs after the password. proftpd -V Compile-time... (6 Replies)
Discussion started by: slufoot80
6 Replies

8. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

9. Programming

Program Hangs

I have two programs, DriverScale.c and scale9.c. DriverScale.c calls scale 9.c which sends a W and a carraige return to the scale which SHOULD return the weight to DriverScale. However scale 9 hangs for at least 10 min, and then finally returns the weight. Compilation: ... (8 Replies)
Discussion started by: Meow613
8 Replies

10. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
wwsetup(8)						      System Manager's Manual							wwsetup(8)

NAME
wwsetup, wnn - Sets up the 8-bit option for sendmail and the Wnn character-cell input method for Japanese SYNOPSIS
/usr/sbin/wwsetup DESCRIPTION
The wwsetup script performs one or both of the following tasks: Enables or disables 8-bit transmission code, which is an option supported by sendmail software By default, sendmail uses the 7-bit SMTP mail transmission protocol that is the standard for sending mail over a TCP/IP network. Note that enabling the 8-bit option is not generally recommended because it violates the SMTP mail transmission protocol. Config- ures the Wnn software that supports a character-cell input method that is widely used in Japan If the Tru64 UNIX IOSJPWNNnnn subset is installed, the wwsetup script asks if you want to create the following links if they do not already exist on the system: /usr/local/bin/Wnn4 --> /usr/i18n/bin/Wnn4 /usr/local/bin/wnn --> /usr/i18n/lib/wnn The script also prompts you to enter the password for Wnn dictionaries if they do not already exist on the system. Both the links and the dictionary password must be in place before Wnn software can be used. SEE ALSO
Commands: sendmail(8), jserver(1wnn) Note that the jserver(1wnn) reference page is available only in Japanese and is included in the subset that contains Japanese translations of reference pages. Others: i18n_intro(5), Japanese(5), l10n_intro(5) wwsetup(8)
All times are GMT -4. The time now is 04:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy