Solved

/usr restored, sendmail still not functioning

Posted on 1998-12-16
3
246 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

777 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