hostname
Posted: 20 Nov 2014, 17:50
I've been playing around with serviio media server but ran into trouble with
alphaos hostname see below.
I got it to work if I doevery time
on a freshly booted alphaos I get
after I do hostname -F /etc/hosts I get
I this only for me?
Is there some trouble woth hostname? /etc/hosts seems to look OK
alphaos hostname see below.
Code: Select all
java.net.UnknownHostException: alphaos: alphaos
at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
at org.serviio.ApplicationInstanceManager.registerInstance(ApplicationInstanceManager.java:68)
at org.serviio.MediaServer.checkForRunningInstances(MediaServer.java:283)
at org.serviio.MediaServer.main(MediaServer.java:106)
I got it to work if I doevery time
Code: Select all
hostname -F /etc/hosts
on a freshly booted alphaos I get
Code: Select all
> hostname
alphaos
> getent hosts alphaos
>
after I do hostname -F /etc/hosts I get
Code: Select all
> hostname
127.0.0.1
I this only for me?
Is there some trouble woth hostname? /etc/hosts seems to look OK