Solved

/usr restored, sendmail still not functioning

Posted on 1998-12-16
3
242 Views
Last Modified: 2013-12-16
With a little work, I restored the /usr directory, but I now receive the following message:  
unable to qualify my own domain (hostname) -- using short name

Thanks in advance

PS Thanks for the quick response.
0
Comment
Question by:qcoles
  • 2
3 Comments
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1812497
 Have you specified your own domain name, using the domainname command, and also by specify the default domain in /etc/resolv.conf?
  Also, make sure you have both the short and full names for your host on the same line in /etc/hosts

e.g.

134.148.224.157  qed   qed.newcastle.edu.au
0
 
LVL 1

Accepted Solution

by:
essuu earned 50 total points
ID: 1812498
To fix immediately, type

domainname -s <yourdomainname>

To maintain this fix across reboots, edit the file /etc/defaultdomain so that it contains your domain name.
0
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1812499
I will point out I already advised the domainname command ...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now