Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

check-hostname(1m) [opensolaris man page]

check-hostname(1M)					  System Administration Commands					check-hostname(1M)

NAME
check-hostname - check if sendmail can determine the system's fully-qualified host name SYNOPSIS
/usr/sbin/check-hostname DESCRIPTION
The check-hostname script is a migration aid for sendmail(1M). This script tries to determine the local host's fully-qualified host name (FQHN) in a manner similar to sendmail(1M). If check-hostname is able to determine the FQHN of the local host, it reports success. Other- wise, check-hostname reports how to reconfigure the system so that the FQHN can be properly determined. FILES
/etc/hosts Host name database /etc/nsswitch.conf Name service switch configuration file /etc/resolv.conf Configuration file for name server routines ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
domainname(1M), sendmail(1M), hosts(4), attributes(5) SunOS 5.11 8 Mar 2006 check-hostname(1M)

Check Out this Related Man Page

check-hostname(1M)					  System Administration Commands					check-hostname(1M)

NAME
check-hostname - check if sendmail can determine the system's fully-qualified host name SYNOPSIS
/usr/sbin/check-hostname DESCRIPTION
The check-hostname script is a migration aid for sendmail(1M). This script tries to determine the local host's fully-qualified host name (FQHN) in a manner similar to sendmail(1M). If check-hostname is able to determine the FQHN of the local host, it reports success. Other- wise, check-hostname reports how to reconfigure the system so that the FQHN can be properly determined. FILES
/etc/hosts Host name database /etc/nsswitch.conf Name service switch configuration file /etc/resolv.conf Configuration file for name server routines ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
sendmail(1M), hosts(4), attributes(5) SunOS 5.10 10 Nov 2003 check-hostname(1M)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

sendmail : 550 host unknown

Hi I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host? Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Discussion started by: mrsaint
29 Replies

2. UNIX for Dummies Questions & Answers

sendmail error :-(

Hi all, My problem is on : SunOS "MY_HOSTNAME" 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-60 I get the following message on the console login screen: sendmail: MAA 23665: SYSERR: putoutmsg (NO-HOST): error on output channel sending "550 none...User unknown": I/O error. Does anyone... (11 Replies)
Discussion started by: guest100
11 Replies

3. UNIX for Dummies Questions & Answers

dmesg on a sun, unqualified host

Oct 22 01:01:47 sendmail: My unqualified host name unknown; sleeping for retry Oct 22 01:02:47 sendmail: unable to qualify my own domain name -- using short name how to resolve this error thanks (11 Replies)
Discussion started by: yls177
11 Replies

4. Shell Programming and Scripting

Ping script using Redhat and BAsh

Alright, I have being checking out various posting here trying to hack together something for a friend Needed: A script that can run in cron doing: ping of several hosts and notifying via email when they are unavailable. I am not going to post my non working messes (I am a basic... (11 Replies)
Discussion started by: edkung
11 Replies

5. Shell Programming and Scripting

help to ping a host, is it alive or not ...

hello to everyone, i was wondering if you could help me with a script im working on, it's kind of simple but i dont have a lot experience on unix comands: well, here it is: you might apreciate the infinite while loop :D, it is supossed to be running on the server all day scaning it every 5... (12 Replies)
Discussion started by: sx3v1l_1n51de
12 Replies

6. UNIX for Dummies Questions & Answers

process check

does anyone know an easy way that at the beginning of your script you check to see if that process is already running? I think it would have something to do with ps but I may be making it more complicated than it has to be. If you have a script run say, every half hour, you would want to check and... (13 Replies)
Discussion started by: k@ssidy
13 Replies

7. UNIX for Dummies Questions & Answers

sendmail

hi there, not sure if this has been discussed but can't seem to find any thread relating to my question. :confused: i have a AIX server and i'm writing some scripts. inside my script i'm using sendmail/ mailx to send out my output. but it seems i'm having some difficulties sending out. ... (9 Replies)
Discussion started by: lweegp
9 Replies

8. Shell Programming and Scripting

awk doubt..

Hello, Iam trying to get the IP of the hostname of the machine from /etc/hosts. I used the command as below: But the result shows the IP with the hostname.. like 192.168.0.8 test12111.com I need to get only 192.168.0.8 Please help Thanks in advance esham (11 Replies)
Discussion started by: esham
11 Replies

9. Shell Programming and Scripting

replace a string

hello I have a file where an entry needs to be modified. an example of this entry is: install_location=/xena/sybase/ase12_5 I need to replace xena with another hostname (`hostname` output) for example: install_location=/dx1/sybase/ase12_5 how to do that? thanks (11 Replies)
Discussion started by: melanie_pfefer
11 Replies

10. AIX

Debugging a "sendmail" issue

Basically I am trying to track down the cause of a problem when using sendmail. It seems to work fine to the majority of hosts, however there is a problem which one recipient (lets say hick@jimbob.com) is not getting the emails. Something to note, when I tried pinging jimbob.com (domain used in... (13 Replies)
Discussion started by: neil_is_ere
13 Replies

11. Shell Programming and Scripting

sendmail with attachments

Hi, I got the following script from Ygor on this site: #!/usr/bin/ksh export MAILTO="email_address" export CONTENT="/export/home/aisdba/email_body.html" export SUBJECT="subject of email" ( echo "Subject: $SUBJECT" echo "MIME-Version: 1.0" echo "Content-Type: text/html" echo... (9 Replies)
Discussion started by: suthera
9 Replies

12. Solaris

PING broken check

Dear All, Required a script which will check the PING response from my source file(tmp/PingStatus.txt) containing the hostnames. If ping response is not responding(i.e when hostname is not alive) then this cmd to be executed : opcmsg object=PING a=OS msg_grp=win-ping severity=critical... (20 Replies)
Discussion started by: mjoshi87
20 Replies

13. Shell Programming and Scripting

awk script modification

I want the below script to omit every chunk of data that contains a specific hostname. here's the scenario. i have a configuration file that contains the configuration of several hosts. a sample of this configuration file is this: define host { address ... (12 Replies)
Discussion started by: SkySmart
12 Replies

14. Shell Programming and Scripting

Script Shell Extracting hostname

Hi all, Please i have to get hostname of an ip address (172.16.68.4). so i have used the command 'host' host $ipaddr >> iptohostname.txt Here is my file: iptohostname.txt 4.68.16.172.in-addr.arpa domain name pointer g-4.xxx.yyyy.zz. 3.68.16.172.in-addr.arpa domain name pointer... (11 Replies)
Discussion started by: chercheur111
11 Replies

15. UNIX and Linux Applications

Sendmail delay: 3 mins 11 secs... Every time.

Hi all, I would like some help with a sendmail problem: We have a new system comprising of 4 T7-1 servers, each hosting 5 LDOMs, all domains running Solaris 11.3 All emails sent from every one of these domains (including the control domains) sit in the queue for 3 mins 11 secs (sometime 3m 12s,... (11 Replies)
Discussion started by: Mysturji
11 Replies