[ic] Notes for Installing perl module LWP::Simple

Ed LaFrance edl at newmediaems.com
Fri Oct 10 11:37:39 EDT 2003


At 12:58 PM 10/10/2003 -0400, you wrote:
>Hi List,
>   I recently ran into a problem that I wanted to post to the board for
>reference in regards to perl module LWP::Simple.  I had problems with
>installation which would fail during testing.  What I found was that if your
>host name is not resolved correctly via DNS that LWP::Simple will fail.
>
>Ex.)  I had just built the server and named it test1 until I got it up.  So
>in my /etc/sysconfig/network my hostname was posted test1.  It was not till
>I added the full server name and domain  test1.mydomain.com to my DNS server
>and then changed the vi /etc/sysconfig/network hostname from test1 to
>test1.mydomain.com and restarted networking did it finally install.  I hope
>this message will save some people some aggravation looking in other
>directions.
>
>Sam Batschelet
>ExactaSphere Inc

Dear Sam -

DNS improprieties aside, another way around this issue (and generally 
accepted practice anyway) is to add an entry for the server to its own 
/etc/hosts file, i.e.:

127.0.0.1               localhost.localdomain   localhost
real.ip.addr.num        myhost.mydomian.com     myhost

- Ed L.


===============================================================
New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          edl at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
=============================================================== 



More information about the interchange-users mailing list