If your plans to re-install the software in an attempt to correct the current problems with reporting uploaded jobs, and in some cases downloading new work, it won't help. If you fell like the stats are incorrect, I would wait until sometime in the next millinium before uploading any additional data when they will hopefully by that time give us some word as to how we should proceed.
F. Prefect
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.....Douglas Adams
Your machine is actually crunching very well at the moment. The hostname issue is not affecting it at all in terms of its contribution to the project. You have a nice cache of work that is likely to be wasted unless you take some precautions. Reinstallation is like using a sledgehammer to crush a cottonball :).
If you could just run the programs I asked you to and let us know the output I'm sure your problem is easily solvable. I've asked a number of questions in previous messages. Without some answers I can't help as I have no access to any machine running any version of a Mac OS. If you do a "man hostname" it will probably tell you where the hostname is supposed to be stored. You have a perfect opportunity to learn a little bit about your system by working out how to fix this.
If your plans to re-install the software in an attempt to correct the current problems with reporting uploaded jobs ...
Please try reading the entire thread before making silly assumptions. This problem has absolutely nothing to do with the current server issues. Please do not hijack someone else's thread which is trying to deal with a genuine problem in order to further your own particular (unrelated) rant.
AFAICT the etc/hosts files are absolutely identical between the system on which BOINC says “gethostbyname failed� and another on the same LAN that reports its name correctly. The content of the files seems very generic; it certainly makes no reference to the systems’ actual IP addresses or names: ##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
This was copy-&-pasted from the system I’m on now, which AFAIK has always shown its name on project sites and has never logged the “gethostbyname failed� error.
Just adding that my G5 at home, running OS 10.4.8, has an identical “hosts� file to the above. Its name is also recognized by BOINC and all project websites.
Just adding that my G5 at home, running OS 10.4.8, has an identical “hosts� file....
I'd really appreciate it if you could do a "man hostname" on one of your "Unix" systems. Here's the relevant portion of what I get on a FreeBSD 6.1 system:-
Quote:
The hostname utility prints the name of the current host. The super-user can set the hostname by supplying an argument; this is usually done in the network initialization script /etc/rc.d/hostname, normally run at boot time. This script uses the hostname variable in /etc/rc.conf.
This was why I mentioned the rc.conf file in an earlier message. There must be an equivalent file somewhere on the Mac and hopefully the manual page will document exactly what happens at boot time just like the above snippet does for FreeBSD.
I'd really appreciate it if you could do a "man hostname" […] hopefully the manual page will document exactly what happens at boot time just like the above snippet does for FreeBSD.
Here’s the whole thing FWIW; it doesn’t look terrbly helpful.
HOSTNAME(1) BSD General Commands Manual HOSTNAME(1)
NAME
hostname -- set or print name of current host system
SYNOPSIS
hostname [-s] [name-of-host]
DESCRIPTION
The hostname utility prints the name of the current host. The super-user
can set the hostname by supplying an argument.
Options:
-s Trim off any domain information from the printed name.
SEE ALSO
gethostname(3)
HISTORY
The hostname command appeared in 4.2BSD.
BSD April 28, 1995 BSD
I did some hunting in the system Help files, but couldn’t find a reference to anything ‘under the hood’—typical of Apple’s approach—they say how to check or set the system’s name through the GUI (System Preferences – Sharing) but nothing about where it’s stored.
I typed “hostname� and “hostname -s� into the Terminal on this G5 and got the expected responses. When I’m at work tomorrow I’ll try doing the same on the G4 server that doesn’t tell BOINC its name.
Your machine is actually crunching very well at the moment. The hostname issue is not affecting it at all in terms of its contribution to the project. You have a nice cache of work that is likely to be wasted unless you take some precautions.
i know BOINCManager is working. my pending credit is rising faster than my granted credit.
i talked to someone at apple. i need to re-install the system software because i replaced the two folders improperly. i do not have to erase the disc. i can re-install but save everything already on the disc and keep what i want.
NAME
gethostname, sethostname -- get/set name of current host
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include
int
gethostname(char *name, size_t namelen);
int
sethostname(const char *name, int namelen);
DESCRIPTION
The gethostname() function returns the standard host name for the current
processor, as previously set by sethostname(). The namelen argument
specifies the size of the name array. The returned name is null-termi-
nated unless insufficient space is provided.
i do see a file called "rc" in the "etc" folder, but when i try to open it, i get "There is no default application specified to open the document 'rc'."
incidentally, which should i do with the other computer on my account, merge or delete?
RE: i will re-install the
)
If your plans to re-install the software in an attempt to correct the current problems with reporting uploaded jobs, and in some cases downloading new work, it won't help. If you fell like the stats are incorrect, I would wait until sometime in the next millinium before uploading any additional data when they will hopefully by that time give us some word as to how we should proceed.
F. Prefect
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move.....Douglas Adams
RE: i will re-install the
)
Your machine is actually crunching very well at the moment. The hostname issue is not affecting it at all in terms of its contribution to the project. You have a nice cache of work that is likely to be wasted unless you take some precautions. Reinstallation is like using a sledgehammer to crush a cottonball :).
If you could just run the programs I asked you to and let us know the output I'm sure your problem is easily solvable. I've asked a number of questions in previous messages. Without some answers I can't help as I have no access to any machine running any version of a Mac OS. If you do a "man hostname" it will probably tell you where the hostname is supposed to be stored. You have a perfect opportunity to learn a little bit about your system by working out how to fix this.
Cheers,
Gary.
RE: If your plans to
)
Please try reading the entire thread before making silly assumptions. This problem has absolutely nothing to do with the current server issues. Please do not hijack someone else's thread which is trying to deal with a genuine problem in order to further your own particular (unrelated) rant.
Cheers,
Gary.
RE: AFAICT the etc/hosts
)
Just adding that my G5 at home, running OS 10.4.8, has an identical “hosts� file to the above. Its name is also recognized by BOINC and all project websites.
RE: Just adding that my G5
)
I'd really appreciate it if you could do a "man hostname" on one of your "Unix" systems. Here's the relevant portion of what I get on a FreeBSD 6.1 system:-
This was why I mentioned the rc.conf file in an earlier message. There must be an equivalent file somewhere on the Mac and hopefully the manual page will document exactly what happens at boot time just like the above snippet does for FreeBSD.
Thanks for your assistance.
Cheers,
Gary.
RE: I'd really appreciate
)
Here’s the whole thing FWIW; it doesn’t look terrbly helpful.
HOSTNAME(1) BSD General Commands Manual HOSTNAME(1)
NAME
hostname -- set or print name of current host system
SYNOPSIS
hostname [-s] [name-of-host]
DESCRIPTION
The hostname utility prints the name of the current host. The super-user
can set the hostname by supplying an argument.
Options:
-s Trim off any domain information from the printed name.
SEE ALSO
gethostname(3)
HISTORY
The hostname command appeared in 4.2BSD.
BSD April 28, 1995 BSD
I did some hunting in the system Help files, but couldn’t find a reference to anything ‘under the hood’—typical of Apple’s approach—they say how to check or set the system’s name through the GUI (System Preferences – Sharing) but nothing about where it’s stored.
I typed “hostname� and “hostname -s� into the Terminal on this G5 and got the expected responses. When I’m at work tomorrow I’ll try doing the same on the G4 server that doesn’t tell BOINC its name.
RE: I'd really appreciate
)
HOSTNAME(1) BSD General Commands Manual HOSTNAME(1)
NAME
hostname -- set or print name of current host system
SYNOPSIS
hostname [-s] [name-of-host]
DESCRIPTION
The hostname utility prints the name of the current host. The super-user
can set the hostname by supplying an argument.
Options:
-s Trim off any domain information from the printed name.
SEE ALSO
gethostname(3)
HISTORY
The hostname command appeared in 4.2BSD.
BSD April 28, 1995 BSD
RE: Your machine is
)
i know BOINCManager is working. my pending credit is rising faster than my granted credit.
i talked to someone at apple. i need to re-install the system software because i replaced the two folders improperly. i do not have to erase the disc. i can re-install but save everything already on the disc and keep what i want.
GETHOSTNAME(3) BSD
)
GETHOSTNAME(3) BSD Library Functions Manual GETHOSTNAME(3)
NAME
gethostname, sethostname -- get/set name of current host
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include
int
gethostname(char *name, size_t namelen);
int
sethostname(const char *name, int namelen);
DESCRIPTION
The gethostname() function returns the standard host name for the current
processor, as previously set by sethostname(). The namelen argument
specifies the size of the name array. The returned name is null-termi-
nated unless insufficient space is provided.
i do see a file called "rc"
)
i do see a file called "rc" in the "etc" folder, but when i try to open it, i get "There is no default application specified to open the document 'rc'."
incidentally, which should i do with the other computer on my account, merge or delete?