Solved

network errors.

Posted on 2000-03-08
10
252 Views
Last Modified: 2010-04-21
I installed Solaris2.7 on four machines.
two of them are in the inner network of the firewall and the other two are in the dmz.
I look at /var/log/syslog on one of the machines on the dmz and I found there that message:"Unable to qualify my own domain name...". (by sendmail)
I don't care about the message but my problem is that in this log there were these messages for all other three machines. The IP that appeared there was the real IP followed by two more numbers separated by dots. Can someone please explain this?
0
Comment
Question by:mandybird44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
10 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2599157
Solaris 2.7 uses sendmail 8.9, which in turn is very militant about needing a Fully Qualified Domain Name (FQDN). When it starts it takes the IP of the machine it's running on and tries to look up the name bound to that IP.

If the machines names can be resolved via DNS, and dns services have been properly configured (/etc/resolv.conf and the right "hosts" line in /etc/nsswitch.conf, and a route to the nameserver(s) if they aren't local), you won't get the error. If using dns isn't an option, you can change the host definition in /etc/hosts to have the FQDN as well as the short name, something like:

192.168.0.1      chaos.mystery.com chaos

I'm not sure what your question was about the log file is. Are you asking why the messages from the other machines are there? Or what the numbers mean?
0
 

Expert Comment

by:IainWallace
ID: 2600601
I had the same problem when I first installed Solaris 7 on a Sun box.

A quick call to Sun confirmed the above answer from jlevie above.  If you use the full FQDN the problem and error message in the log file goes away.

The Sunsolve Doc 18391 gives full details on how to cure this problem and an in-depth explanation of it's cause.
0
 

Accepted Solution

by:
IainWallace earned 50 total points
ID: 2600647
I had the same problem when I first installed Solaris 7 on a Sun box.

A quick call to Sun confirmed the above answer from jlevie above.  If you use the full FQDN the problem and error message in the log file goes away.

The Sunsolve Doc 18391 gives full details on how to cure this problem and an in-depth explanation of it's cause.
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 40

Expert Comment

by:jlevie
ID: 2600904
For IainWallace...

Hmm, I could have marked my comment as the answer, but the question has two parts, the second part of which requires input from the questioner to complete the answer.

It's  also not quite proper to effectively use someone else's comment as use your answer
0
 

Author Comment

by:mandybird44
ID: 2601000
well thank you but I already know that. What I'm actually asking is the 2 questions jlevie asked in the end of his comments.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2601646
Okay, how about pasting one of the error messages into a comment so I can see it. I log slightly different messages when this situation occurs, which isn't surpising as my naming services are undoubtedly set up differently. I can remember seeing that kind of syslog message, but without seeing it again...

The messages from all of the systems are being logged to that system because it's the "loghost" as far as the other machines are concerned. How you get to this configuration depends on how the machines got set up and what kind of naming services are in use (dns, NIS, NIS+). If you can tell me a bit more about the environment I can tell you where to look and how to change it if you want to.
0
 

Author Comment

by:mandybird44
ID: 2619946
I guess it was because we put as loghost the same computer in each machines /etc/hosts.
10q.
0
 

Author Comment

by:mandybird44
ID: 2619971
sorry jlevie I wanted to give the points to your last comment but I accidently pushed the button already.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2619983
Ah, well... at least it's nice to know that I had the answer.
0
 

Author Comment

by:mandybird44
ID: 2636789
10x again
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

630 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