Solved

network errors.

Posted on 2000-03-08
10
243 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
  • 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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

759 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

19 Experts available now in Live!

Get 1:1 Help Now