Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
argouml error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
beso_1717
Apprentice
Apprentice


Joined: 19 Jul 2007
Posts: 263

PostPosted: Fri Nov 23, 2007 4:06 pm    Post subject: argouml error Reply with quote

i've installed argouml and then i got this message whenever i try to start it:

Quote:
ERROR: unable to get localhost information.
java.net.UnknownHostException: fujitsu: fujitsu
at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
at org.argouml.application.Main.checkHostsFile(Main.java:436)
at org.argouml.application.Main.main(Main.java:106)
On Unix systems this usually indicates thatyour /etc/hosts file is incorrectly setup.
Stopping execution of ArgoUML.



this is really strange since in /etc/hosts i have only these 2 lines active:
Quote:

127.0.0.1 localhost
::1 localhost


anyone has hints on this?!

also i have some strange warning when compiling kde stuff:
Quote:

Session management error: Could not open network socket

maybe this is somehow related to the above error.
Back to top
View user's profile Send private message
paul555
l33t
l33t


Joined: 22 Nov 2004
Posts: 612
Location: Greece

PostPosted: Fri Mar 28, 2008 3:50 pm    Post subject: Reply with quote

I also ran in this problem.
Code:
paul@medic ~ $ argouml
ERROR: unable to get localhost information.
java.net.UnknownHostException: medic: medic
   at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
   at org.argouml.application.Main.checkHostsFile(Main.java:496)
   at org.argouml.application.Main.main(Main.java:124)
On Unix systems this usually indicates thatyour /etc/hosts file is incorrectly setup.
Stopping execution of ArgoUML.

Does anyone know how to solve this?
_________________
"LINUX, MS-DOS, Windows : known as the Good, the Bad and the Ugly." :)
http://www.gnome.gr
Back to top
View user's profile Send private message
SpectreDragon
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2008
Posts: 92
Location: Germany

PostPosted: Mon Mar 16, 2009 1:47 pm    Post subject: Reply with quote

Had the same problem.

Solved this by adding an entry in /etc/hosts for localhost with my "real" host name:
"127.0.0.1 **your hostname (see error message)**"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum