Sponsored Content
Operating Systems Solaris loghost could not be resolved Post 302553026 by Mack1982 on Tuesday 6th of September 2011 11:46:52 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
sys-unconfig(1M)					  System Administration Commands					  sys-unconfig(1M)

NAME
sys-unconfig - undo a system's configuration SYNOPSIS
/usr/sbin/sys-unconfig DESCRIPTION
The sys-unconfig command is used to restore a system's configuration to an "as-manufactured" state, ready to be reconfigured again. The system's configuration consists of hostname, Network Information Service (NIS) domain name, timezone, IP address, IP subnet mask, and root password. This operation is the inverse of those performed by the sysidnet(1M), sysidns(1M), and sysidsys(1M) programs run at boot. See sysidtool(1M). sys-unconfig does the following: o Saves current /etc/inet/hosts file information in /etc/inet/hosts.saved. o If the current /etc/vfstab file contains NFS mount entries, saves the /etc/vfstab file to /etc/vfstab.orig. o Restores the default /etc/inet/hosts file. o Removes the default hostname in /etc/hostname.interface files for all interfaces configured when this command is run. To determine which interfaces are configured, run the command 'ifconfig-a'. The /etc/hostname.interface files corresponding to all of the inter- faces listed in the resulting output, with the exception of the loopback interface (lo0), will be removed. o Removes the default domainname in /etc/defaultdomain. o Restores the timezone to PST8PDT in /etc/TIMEZONE. o Disables the Network Information Service (NIS) and Network Information Service Plus (NIS+) if either NIS or NIS+ was configured. o Removes the file /etc/inet/netmasks. o Removes the file /etc/defaultrouter. o Removes the password set for root in /etc/shadow. o Removes the file /etc/.rootkey. o Executes all system configuration applications. These applications are defined by prior executions of a sysidconfig -a application. (See sysidconfig(1M)). When sys-unconfig is run, all system configuration applications are passed one argument, -u. o Removes the file /etc/resolv.conf. o Disables LDAP by removing /var/ldap/ldap_client_cache, /var/ldap/ldap_client_file, /var/ldap/ldap_client_cred, and /var/ldap/cachemgr.log. o Regenerates keys for sshd(1M). When sys-unconfig is finished, it performs a system shutdown. sys-unconfig is a potentially dangerous utility and can only be run by the super user. FILES
/etc/default/init process control initialization /etc/defaultdomain /etc/defaultrouter /etc/hostname.interface /etc/inet/hosts host name database /etc/inet/netmasks network mask database /etc/nodename /etc/.rootkey super-user's secret key /etc/shadow shadow password file /etc/vfstab virtual file system table /var/nis/NIS_COLD_START /var/yp/binding/*/ypservers ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWadmap | +-----------------------------+-----------------------------+ SEE ALSO
init(1M), kdmconfig(1M), sshd(1M), sysidconfig(1M), sysidtool(1M), hosts(4), netmasks(4), shadow(4), attributes(5) NOTES
sys-unconfig is not available on diskless clients. SunOS 5.10 4 Jun 2004 sys-unconfig(1M)
All times are GMT -4. The time now is 09:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy