Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[scott@~] $ grep hosts /etc/nsswitch.conf
hosts: files dns
[scott@~] $ cat /etc/hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server. Just add the names, addresses
# and any aliases to this file...
#
# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
# should NEVER be named with the name of the machine. It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#
# For loopbacking.
127.0.0.1 localhost
127.0.0.1 x1-6-00-00-c5-5f-61-1c 12.209.187.27
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
Make a backup - just in case - for the file "/etc/hosts".
(for example, with "cp -p /etc/hosts /etc/hosts.backup.20030630")
OK, if you've done that, remove the line : "12.209.187.27 x1-6-00-00-c5-5f-61-1c" from the file "/etc/hosts", so that the contents of "/etc/hosts" only look like this :
I took that line out of my hosts file, but it still starts up slow when I restart. And I ran the command:
[scott@~] $ date; killall -s HUP sendmail; tail /var/log/maillog
Mon Jun 30 14:35:08 MDT 2003
sendmail(409): Operation not permitted
sendmail(412): Operation not permitted
sendmail: no process killed
Jun 30 14:28:03 12 sm-mta[409]: restarting /usr/sbin/sendmail due to signal
Jun 30 14:28:04 12 sm-msp-queue[412]: restarting /usr/sbin/sendmail due to signal
Jun 30 14:28:04 12 sm-msp-queue[412]: My unqualified host name (12) unknown; sleeping for retry
Jun 30 14:28:04 12 sm-mta[409]: My unqualified host name (12) unknown; sleeping
for retry
Jun 30 14:30:10 12 sm-mta[408]: My unqualified host name (12) unknown; sleeping
for retry
Jun 30 14:31:10 12 sm-mta[408]: unable to qualify my own domain name (12) -- using short name
Jun 30 14:31:10 12 sm-mta[409]: starting daemon (8.12.8): SMTP+queueing@00:25:00Jun 30 14:31:10 12 sm-msp-queue[410]: My unqualified host name (12) unknown; sleeping for retry
Jun 30 14:32:10 12 sm-msp-queue[410]: unable to qualify my own domain name (12)
-- using short name
Jun 30 14:32:11 12 sm-msp-queue[412]: starting daemon (8.12.8): queueing@00:25:00
I had the same issue about 2 years ago on RH7.0 and eventually it totally brought down the system and I had to do some serious kludging to get it to work again.
In the end? The /var partition had filled up because the log rotation wasn't working efficiently.
Make sure your logs directories aren't filling up too rapidly. If so, you're going to need to screw around with your rotation. I don't know exactly why it stops on sendmail (I could understand if it did that on qpopper or another POP3/IMAP daemon) but it did the same for me. That may very well be your problem.
I'm having the same problem. I just installed a brand spanking new RedHat 9 on a machine I just built. Here's a sample of the errors in /var/log/maillog:
Code:
tango sendmail[1731]: My unqualified host name (tango) unknown; sleeping for retry
tango sendmail[1731]: unable to qualify my own domain name (tango) -- using short name
tango sendmail[1731]: alias database /etc/aliases rebuilt by root
tango sendmail[1731]: /etc/aliases: 63 aliases, longest 10 bytes, 625 bytes total
tango sendmail[1741]: My unqualified host name (tango) unknown; sleeping for retry
tango sendmail[1741]: unable to qualify my own domain name (tango) -- using short name
tango sendmail[1743]: starting daemon (8.12.8): SMTP+queueing@01:00:00
tango sm-msp-queue[1750]: My unqualified host name (tango) unknown; sleeping for retry
tango sm-msp-queue[1750]: unable to qualify my own domain name (tango) -- using short name
tango sm-msp-queue[1752]: starting daemon (8.12.8): queueing@01:00:00
tango spamd[1762]: server started on port 783 (running version 2.44)
It looks like the problem reflects what cropcircle was suggesting, but I guess my networking knowledge is lacking. I can't see anything wrong with these files; here are the files of interest (tango is what I named the host):
If anyone can spot the error, I would really appreciate feedback. Also, I'm not using dhcp, but rather static ip's on the lan. I did not know what to put in the network configuration for [color=dark-blue]DNS Search Path.[/color]
I just resolved the problem.. at least in my case, the problem was that I didn't configure a domain name in the network configuration setup. The network and everything was working fine w/out it, except sendmail.
If anyone is still having this problem, make sure you declare a domain name, which for some reason unknown to me, is the DNS Search Path field in the setup for RedHat. Also- make sure that both the hostname and the domain name are in the /etc/hosts file. Example:
Does it matter what I enter for the domain name? I've got the smae problem with sendmail daemon and MSP queue runner. Do I just need to make any domain name? I've got the computer hooked up to a DSL modem via ethernet, so I don't need to configure the settings manually to connect, just run dhcpcd or have it connected at boot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.