I think you need to put the reference to the machine name back in but
point it at the machine IP not the loop back interface
xxx.xxx.xxx.xxx myMachineName
Kenneth Clark
Developer / Analyst
Rabid Dog Laboratories ^(TM)
Putting the art back into development
*tel:* +27 11 475 7409
*mobile:* +27 82 500 5090
*e-mail:* kenneth_at_rabiddog.co.za
*website:*
http://www.rabiddog.co.za/
Dean Del Ponte wrote:
> I've removed the reference to the machine name from /etc/hosts. The
> following is now contained within the file:
>
> 127.0.0.1 localhost
>
> # The following lines are desirable for IPv6 capable hosts
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
>
>
> but the problem persists. The install message/errors are pasted below:
>
> chmod 755 /usr/share/sunappserver/bin/asadmin
> chmod 755 /usr/share/sunappserver/bin/asant
> chmod 755 /usr/share/sunappserver/bin/appclient
> chmod 755 /usr/share/sunappserver/bin/capture-schema
> chmod 755 /usr/share/sunappserver/bin/jspc
> chmod 755 /usr/share/sunappserver/bin/package-appclient
> chmod 755 /usr/share/sunappserver/bin/verifier
> chmod 755 /usr/share/sunappserver/bin/uninstall
> /bin/sh /usr/share/sunappserver/config/install/asenv
> /usr/share/sunappserver/config /usr/share/sunappserver
> /usr/share/sunappserver /usr/lib/jvm/java-1.5.0-sun
> ASCONFIG_HOME = /usr/share/sunappserver/config
> CLIENT_BASEDIR = /usr/share/sunappserver
> cat /usr/share/sunappserver/config/install/filelista |sh
> /usr/share/sunappserver/config/install/i.asenv
> for i in /usr/share/sunappserver/config/asenv.conf
> /usr/share/sunappserver/bin/wsimport
> /usr/share/sunappserver/bin/wsgen
> /usr/share/sunappserver/bin/xjc
> /usr/share/sunappserver/bin/schemagen
> /usr/share/sunappserver/bin/asapt
> /usr/share/sunappserver/bin/wscompile
> /usr/share/sunappserver/bin/wsdeploy
> chmod 755 /usr/share/sunappserver/config/asenv.conf
> chmod 755 /usr/share/sunappserver/bin/wsimport
> chmod 755 /usr/share/sunappserver/bin/wsgen
> chmod 755 /usr/share/sunappserver/bin/xjc
> chmod 755 /usr/share/sunappserver/bin/schemagen
> chmod 755 /usr/share/sunappserver/bin/asapt
> chmod 755 /usr/share/sunappserver/bin/wscompile
> chmod 755 /usr/share/sunappserver/bin/wsdeploy
> Apr 26, 2007 7:58:31 PM com.sun.enterprise.util.ASenvPropertyReader
> setSystemProperties
> SEVERE: property_reader.unknownHost
> java.net.UnknownHostException: ubuntu64: ubuntu64
> at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
> at
> com.sun.enterprise.util.net.NetUtils.getCanonicalHostName(NetUtils.java:89)
> at
> com.sun.enterprise.util.ASenvPropertyReader.setSystemProperties(ASenvPropertyReader.java:188)
> at
> com.sun.enterprise.cli.commands.S1ASCommand.<init>(S1ASCommand.java:140)
> at
> com.sun.enterprise.cli.commands.BaseLifeCycleCommand.<init>(BaseLifeCycleCommand.java:86)
> at
> com.sun.enterprise.cli.commands.CreateDomainCommand.<init>(CreateDomainCommand.java:84)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at java.lang.Class.newInstance0(Class.java:350)
> at java.lang.Class.newInstance(Class.java:303)
> at
> com.sun.enterprise.cli.framework.CommandFactory.createCommand(CommandFactory.java:76)
> at
> com.sun.enterprise.cli.framework.CLIMain.invokeCommand(CLIMain.java:150)
> at com.sun.enterprise.cli.framework.CLIMain.main(CLIMain.java:63)
> Using default port 7676 for JMS.
> Using default port 3700 for IIOP.
> Using default port 8181 for HTTP_SSL.
> Using default port 3820 for IIOP_SSL.
> Using default port 3920 for IIOP_MUTUALAUTH.
> Using default port 8686 for JMX_ADMIN.
> org.apache.derby.jdbc.EmbeddedDriver
> CLI130 Could not create domain, domain1
> Failed to create domain.
> dpkg: error processing glassfish (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> glassfish
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Any ideas?
>
> Thanks,
>
> Dean
>
> On Apr 26, 2007, at 11:35 AM, Kenneth Clark wrote:
>
>> I had the same issue.
>>
>> Check your host files, makes sure that the name is not resolving to
>> the locahost
>>
>> ie
>> 127.0.0.1 localhost
>> xxx.xxx.xxx.xxx machineName
>>
>> Ubuntu sometimes sets it up
>> 127.0.0.1 localhost
>> 127.0.1.1 machineName
>>
>>
>>
>> Kenneth Clark
>> Developer / Analyst
>>
>> Rabid Dog Laboratories ^(TM)
>> Putting the art back into development
>>
>> *tel:* +27 11 475 7409
>> *mobile:* +27 82 500 5090
>> *e-mail:* kenneth_at_rabiddog.co.za
>> *website:* http://www.rabiddog.co.za/
>>
>>
>> Dean Del Ponte wrote:
>>> I've attempted to install glassfish on the latest release of Ubuntu
>>> (Feisty), but it errors out on me stating that it can't create
>>> domain1 because of an unknown host 'Ubuntu64". The unknown host it
>>> refers to is the proper name of my pc which I entered during install.
>>>
>>> Has anyone encountered this?
>>>
>>> Are there any workarounds?
>>>
>>> Thanks,
>>>
>>> Dean
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>>
>>> --No virus found in this incoming message.
>>> Checked by AVG Free Edition.Version: 7.5.463 / Virus Database:
>>> 269.6.1/776 - Release Date: 25/04/2007 12:19
>>>
>>>
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.463 / Virus Database: 269.6.1/777 - Release Date: 26/04/2007 15:23
>