loghost could not be resolved


 
Thread Tools Search this Thread
Operating Systems Solaris loghost could not be resolved
# 1  
Old 09-06-2011
loghost could not be resolved

Hi friends,
I have seen some really annoying error messages since I have installed Solaris, and solved a few of them, with your help. Now, another message pops up in the middle of my work, and says "loghost could not be resolved" Please help me with it. Here are the details for my solaris installation.
My solaris machine gets it's ip address from a dsl router, with hostname as "hostname unknown". I changed my hostname to

As root
Code:
 
echo virtual-solaris > /etc/nodename

And my /etc/hosts file says,

Code:
 
$ cat /etc/hosts
#
# Internet host table
#
::1             localhost
127.0.0.1       localhost
10.0.2.15       virtual-solaris # Added by DHCP

I also added the word loghost in /etc/hosts file which read as,

Code:
 
$ cat /etc/hosts
#
# Internet host table
#
::1 localhost
127.0.0.1 localhost
10.0.2.15 virtual-solaris loghost # Added by DHCP

but when I rebooted the machine, it reverted back and loghost was removed, and I am facing the same error.
Please help me.!
# 2  
Old 09-06-2011
Every time you reboot, the solaris server will contact the router dhcp and get the unknown hostname and ip associated with it.
you can simply use the sys-unconfig command and disable dhcp
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

Resolved: Issue in Server Data Center

Dear All, There was a problem in the data center data, which caused the server to be unreachable for about an hour. Server logs show the server did not crash or go down. Hence, I assume there was a networking issue at the data center. Still waiting for final word on what happened. ... (4 Replies)
Discussion started by: Neo
4 Replies

2. Shell Programming and Scripting

Parameter value is not getting resolved

Hi, I am using below command and its working fine: $ zcat abc.dat.gz | awk -F\| 'NF==102{print NR,$0}' but when I am using above command in script as below then temp_var2 is not getting resolved. zcat "$1" | awk -F "$2" 'NF==$temp_var2{print NR,$0}' Here, $1 and $2 are parameters which... (2 Replies)
Discussion started by: Prashant298
2 Replies

3. Solaris

[Resolved] Strange Issue with user logins

Ok got a strange one here. None of my user accounts are able to login into the system. When trying to ssh to the server i get the following. Could not chdir to home directory /home/<homedir>: Permission denied /bin/sh: Permission denied I checked the permissions on the home directory and even... (7 Replies)
Discussion started by: JoeDirte
7 Replies

4. Red Hat

RHEL 5.5, /etc/hosts, multiple loghost entries?

Greetings everyone. I am currently required by company policy to point our servers to a corporate syslog server, so that causes us to have one loghost entry. However the vendor whose software we install on these servers, for their EMS requires us to include another loghost entry. I have searched... (1 Reply)
Discussion started by: msarro
1 Replies

5. Red Hat

loghost in etc hosts

Hi, I configure the /etc/hosts in red aht ES 5.4 I want to ask what is the function of "loghost ".. If I miss it , any different or problem ??/ Below is the etc/hosts file 127.0.0.1 localhost 192.168.59.10 A.abc.com A loghost 192.168.59.12 B.abc.com B 192.168.59.13 C.abc.com C (1 Reply)
Discussion started by: chuikingman
1 Replies

6. UNIX and Linux Applications

Loghost as DNS alias

We have about 5000 unix servers and currently loghost is listed in the /etc/host on all of the 5000 servers. Since the loghost server is not using SAN storage, the server was never implemented in GeoVLAN either. We are going to implement DR instance for loghost with local storage ( as advise by... (2 Replies)
Discussion started by: mohzub
2 Replies

7. UNIX for Dummies Questions & Answers

Resolved: htpasswd issues (-b) on FreeBSD

I wrote a script to batch-create directories with .htaccess and .htpasswd files. I am using the following line to create the .htpasswd file: htpasswd -cb .htpasswd $USER $PASS However, I keep getting this message in return: Usage: htpasswd passwordfile username The -c flag creates a new... (1 Reply)
Discussion started by: Spetnik
1 Replies

8. Shell Programming and Scripting

Resolved: Building a string with a path in it

I know this is probably simple, but the brain cells that originally stored my shell scripting classes from 10+ years ago have long since been drowned in beer. I need to create a string (to append to a file) containing a path derived from the current path. Basically, I want to append "/something"... (3 Replies)
Discussion started by: Spetnik
3 Replies

9. UNIX for Advanced & Expert Users

Loghost

I need to configure a LOGHOST. have several machines reporting to it (SOL 2.6 to 2.8) for each host that reports to the LOGHOST I need a spearte directory/and log, instead of of big log. Any ideas? (1 Reply)
Discussion started by: richardjhowlett
1 Replies
Login or Register to Ask a Question