[ome-devel] Launching VisBio from the OME web interface

Curtis Rueden ctrueden at wisc.edu
Wed Apr 13 17:31:55 BST 2005


Chris Allan wrote:

>It has nothing to do with Perl interpreter paths it has to do with the
>Apache user's lack of PATH elements.
>  
>

That makes sense.

>>Also, "hostname -f" returns "localhost" on my machine. "dnsdomainname" 
>>returns nothing, and "dnsdomainname -f" also returns "localhost." I'm 
>>starting to feel like I must have installed "Debian: Defective Edition." :-)
>>    
>>
>
>No, you have the defective /etc/hosts file edition. :) Machines don't
>magically guess their hostnames and FQDN's guys. /etc/hosts or your
>authoritative DNS server has to have something better in it than:
>
>127.0.0.1	localhost
>
>A proper /etc/hosts file for Linux:
>
>callan at runemaster callan $ cat /etc/hosts
>127.0.0.1       localhost
>10.2.1.11       runemaster.openmicroscopy.org.uk        runemaster
>callan at runemaster callan $ hostname -f
>runemaster.openmicroscopy.org.uk
>callan at runemaster callan $ hostname
>runemaster
>callan at runemaster callan $ dnsdomainname 
>openmicroscopy.org.uk
>  
>

The first two lines of my /etc/hosts file:

127.0.0.1       localhost       skyking.microscopy.wisc.edu     skyking
144.92.48.158   skyking.microscopy.wisc.edu     skyking

Once I changed my first line to match yours above (i.e., removed 
everything after "localhost"), "hostname -f" worked.

Thanks Chris!

-Curtis



More information about the ome-devel mailing list