Sponsored Content
Full Discussion: 127.0.0.1 vs 0.0.0.0
Special Forums IP Networking 127.0.0.1 vs 0.0.0.0 Post 302952367 by fpmurphy on Tuesday 18th of August 2015 10:54:37 AM
Old 08-18-2015
Unfortunately, 0.0.0.0 has different meanings depending on where it's used. The formal definition is given in RFC1122 Section 3.1.2.3, i.e this host on this network. Specifically, all available IP addresses on this host.

Assuming you are talking about a UNIX-like OS and not Microsoft Window, I have never seen 0.0.0.0 defined in /etc/hosts but have nearly always seen 127.0.0.1 defined. There simply is no reason to put 0.0.0.0 in /etc/hosts.
These 2 Users Gave Thanks to fpmurphy For This Post:
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Background processes return 127 sporadically

I have created a shell script that spawns multiple background processes (spawns sqlplus application). I use an array to capture the process id of those background processes. I then loop through the array and issue a 'wait' command to wait on the process id that was captured in the array. I am... (2 Replies)
Discussion started by: max_largo
2 Replies

2. UNIX for Advanced & Expert Users

Serverhost 127.0.0 error message on apache

my apache 2.0 is up and running but after trying to reconfigure it for specifics I ended up with a permanent eror message that I can't seem to get rid of .. when I run the server ( just / */apachect1 start ) the message reads "cannot locate name localhost for server 127.0.0" so far I have tried... (2 Replies)
Discussion started by: moxxx68
2 Replies

3. Shell Programming and Scripting

rc=127 can't fork

I have a script to download a file using wget. It works if I execute it from the command line. But, if I run it in cron, it doesnt work and I am getting the following in the cron log: > CMD: /export/home/username/test > username 23159 c Tue Aug 1 14:40:00 2006 < username 23159 c Tue Aug ... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

4. Solaris

Can't setup gateway other than 127.0.0.1?

I have just installed Solaris 10 X86 today, but I can't use internet at all on it. When I was installing it, it only asked me to create a hostname, without even asking me this computer is "networked" or "non-networked". After I finished installation, I use "netstat -rn" command, and only see... (3 Replies)
Discussion started by: Diamondust
3 Replies

5. HP-UX

logrotate: ALERT exitted abnormally with [127]

HP-UX B.11.23 U 9000/800 636114222 unlimited-user license I see this error in my logs sometimes and have very little info on it... I have searched online for some documentation and haven't been able to find much on this issue. The only thing I found on one site is that if my /tmp folder... (4 Replies)
Discussion started by: zixzix01
4 Replies

6. Shell Programming and Scripting

Execution of shell script returns error 127

Hi All, While running shell script i got following output. interpreter "usr/bin/ksh" not found sh: step1.sh: not found. ldnhpux | oracle >echo $? 127 - Running command "which ksh" retruns "usr/bin/ksh". - I found some information on web stating to remove extra carriage return chars,... (8 Replies)
Discussion started by: RuchirP
8 Replies

7. Solaris

sendmail problem, Connection refused by [127.0.0.1]

one of our sparc servers is having this problem: Jun 27 13:05:00 sparki sendmail: p5: from=root, size=309, class=0, nrcpts=1, msgid=<201106271305.p5@sparki>, relay=root@localhost Jun 27 13:05:00 sparki sendmail: p5: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,... (3 Replies)
Discussion started by: orange47
3 Replies

8. Solaris

multitude of packets from 127.0.0.1

I was checking routing table, and noticed that our server has a lot packets from localhost: Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- .. 127.0.0.1 127.0.0.1 ... (1 Reply)
Discussion started by: orange47
1 Replies

9. UNIX for Advanced & Expert Users

wait - return code 127

Hi All, I am trying to create background processes and then check their status later. But I am getting return codes as 0,127 randomly On checking the return codes for wait, I found the below. Do I need to treat return code of 127 as successful as well?? as we know the process id passed is... (7 Replies)
Discussion started by: tostay2003
7 Replies
gkrellmd(1)							   User's Manual						       gkrellmd(1)

NAME
gkrellmd - The GNU Krell Monitors Server SYNOPSIS
gkrellmd [ --help ] [ --verbose ] [ -u | --update-hz N ] [ -m | --max-clients N ] [ -P | --port N ] [ -a | --allow-host hostname ] DESCRIPTION
gkrellmd Listens for connections from gkrellm clients. When a gkrellm client connects to a gkrellmd server all builtin monitors collect their data from the server. However, the gkrellm process is running on the local machine, so any enabled plugins will run in the local context (Flynn is an example exception to this since it derives its data from the builtin CPU monitor). Also, any command launching will run commands on the local machine. There is no support for file system mounting and local mailbox checking on the machine where the gkrellmd server is running. OPTIONS
-h --help Displays usage information and exits. -v --version Prints gkrellmd version and exits. -V --verbose Prints connection progress. -u, --update-hz f Sets the data update frequency in samples per second for the server. This is independent of and should be less than the gkrellm client update rate. The rate can be from 1 to 10 and should be lower to minimize network traffic. A value of not much more than 1/2 the client update rate is best where it is not important to minimize network traffic. -m, --max-clients N Sets the maximum number of simultaneous clients allowed to connect to the server. -P, --port server_port Use server_port for the network connection. -a, --allow-host hostname Specify hosts which are allowed to connect. Multiple allow-host arguments may be given. If no hosts are specified on the command line or in a gkrellmd.conf file, then all hosts are allowed to connect. Also, if hostname is the keyword ALL then all hosts are allowed. This option is additive and specified hosts will be added to the hostnames listed in gkrellmd.conf files unless the --clear-hosts option is given first. -c, --clear-hosts Clears the current list of allowed hosts. Use this before any --allow-host arguments if you want command line allowed hosts to override and not be additive to those specified in gkrellmd.conf files. FILES
/etc/gkrellmd.conf System server config which is read first. The config file may contain lines similar to the command line args. For example: allow-host localhost allow-host 127.0.0.1 port 19150 max-clients 2 update-hz 2 /usr/local/etc/gkrellmd.conf Local server config file which is read second. ~/.gkrellmd.conf User server config file which is read last. With the exception of --allow-hosts, command line args will override options in gkrellmd.conf files. AUTHOR
Bill Wilson <bill@gkrellm.net>. http://www.gkrellm.net/ GNU
/Linux July 24, 2002 gkrellmd(1)
All times are GMT -4. The time now is 12:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy