Thanks Bhaskar,

I think this must be a linux problem:

[EMAIL PROTECTED] sysconfig]# hostname -s
hostname: Unknown host
[EMAIL PROTECTED] sysconfig]#

So the "unknown host" not coming from VistA or GT.M

I can't find the files you mention:

[EMAIL PROTECTED] sysconfig]# cat /etc/hostname
cat: /etc/hostname: No such file or directory
[EMAIL PROTECTED] sysconfig]# cat /etc/HOSTNAME
cat: /etc/HOSTNAME: No such file or directory
[EMAIL PROTECTED] sysconfig]# cat
/etc/sysconfig/networks
cat: /etc/sysconfig/networks: No such file or
directory
[EMAIL PROTECTED] sysconfig]# cat /etc/hosts
# Do not remove the following line, or various
programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost
192.168.0.5     laptop  LaptopWireless
192.168.0.10    unix
[EMAIL PROTECTED] sysconfig]#


I am using Redhat 9.  It has a graphical config app
that has a place to set the host name etc.  It shows
the localhost.localdomain name seen above.

Any linux gurus out there?

thanks
Kevin


--- "K.S. Bhaskar" <[EMAIL PROTECTED]> wrote:

> Here is a safe way to change the host name of your
> PC.  I am not sure
> that a reboot is needed (perhaps Crawford or a Linux
> guru on this list
> can opine)?  In this example, the old name of the
> computer is mybox, and
> the new name is ovdemo, and the domain is mydomain.
> 
>       * Edit the file where your Linux distribution
> stores the hostname
>         - e.g,. /etc/HOSTNAME on SuSE,
> /etc/sysconfig/networks on
>         Fedora, etc.  Change the line that reads
> mybox.localdomain to
>         ovdemo.
>       * Edit the file /etc/hosts to reflect the new
> name of the machine.
>       * Use the hostname command - e.g., "hostname
> Morphix" to change
>         the name (this is a temporary name change
> that won't survive a
>         reboot).
>       * Reboot, and confirm that the machine has a
> new name.
> 
> Since Taskman appears to care what the machine name
> is, you should
> ensure that have the correct name (as reported by
> the Linux command
> "hostname -s") in the database (and someone more
> expert in VistA than me
> can advise how best to accomplish this).  For those
> using with the
> OpenVistA VivA live CD, note that the machine name
> is Morphix.
> 
> -- Bhaskar
> 
> On Mon, 2004-09-06 at 12:39, Kevin Toppenberg wrote:
> > I was recently messing around with the linxus
> > hostname,and now it seems to have messed my VistA
> up.
> > 
> > Here is what I get.
> > 
> > GTM>d ^XUP
> > 
> > Setting up programmer environmenthostname: Unknown
> > host
> > 
> > Access Code:
> > hostname: Unknown host
> > 
> > Terminal Type set to: C-VT100
> > 
> > Select OPTION NAME:
> > GTM>
> > 
> > 
> > I tried changing the linux box name to what it was
> > before, but I couldn't remember exactly what it
> was. 
> > Something like "localhost.localdomain"
> > 
> > What's going on?  Why does VistA need the hostname
> to
> > be unchanged?
> > 
> > Thanks
> > Kevin
> 
>
***************************************************************************
> This electronic mail transmission contains
> confidential and/or privileged information intended
> only for the person(s) named.  
> Any use, distribution, copying or disclosure by
> another person is strictly prohibited.
>
***************************************************************************
> 
> NOTE: Ce courriel est destine exclusivement au(x)
> destinataire(s) mentionne(s) ci-dessus et peut
> contenir de l'information privilegiee,
> confidentielle et/ou dispensee de divulgation aux
> termes des lois applicables. Si vous avez recu ce
> message par erreur, ou s'il ne vous est pas destine,
> veuillez le mentionner immediatement a l'expediteur
> et effacer ce courriel.
> 
> 
> 
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic
> Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1
> today.
> http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
> _______________________________________________
> Hardhats-members mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 



                
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Hardhats-members mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to