Foren

UnknownHostException

Mr SoA, geändert vor 15 Jahren.

UnknownHostException

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
Hi,

I have freebsd 6.2 and java 1.6 installed in the system.
# !java
java -version
java version "1.6.0_07"
Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
Diablo Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode)

When I typed the command to start up liferay, I got the following message:
# ./startup.sh
Using CATALINA_BASE: /usr/liferay/liferay-portal-5.2.2/tomcat-6.0.18
Using CATALINA_HOME: /usr/liferay/liferay-portal-5.2.2/tomcat-6.0.18
Using CATALINA_TMPDIR: /usr/liferay/liferay-portal-5.2.2/tomcat-6.0.18/temp
Using JRE_HOME:

I don't know whether this JRE_HOME definition setup to none is correct.
Should this line (Using JRE_HOME) not shown up at all?

I have DNS Bind running in the same system (where Liferay/tomcat are installed) as well.

Please see the following error message shown in cataline.out file:

Mar 22, 2009 2:19:11 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
/usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/../lib/i386:/usr/lib:/usr/loc
al/lib
Mar 22, 2009 2:19:11 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 22, 2009 2:19:11 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2319 ms
Mar 22, 2009 2:19:11 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 22, 2009 2:19:11 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Loading jar:file:/usr/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/usr/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/usr/liferay/liferay-portal-5.2.2/tomcat-6.0.18/webapps/ROOT/WEB-INF/classes/portal-ext.properties
02:19:45,509 INFO [DialectDetector:64] Determining dialect for MySQL 5
02:19:45,749 INFO [DialectDetector:97] Using dialect org.hibernate.dialect.MySQLDialect
02:19:47,001 ERROR [Cache:128] Unable to set localhost. This prevents creation of a GUID. Cause was: aussiefinewines.com.au: aussiefinewines.com.au
java.net.UnknownHostException: aussiefinewines.com.au: aussiefinewines.com.au
at java.net.InetAddress.getLocalHost(InetAddress.java:1308)
at net.sf.ehcache.Cache.<clinit>(Cache.java:126)
at net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:418)
at net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:334)
at net.sf.ehcache.CacheManager.configure(CacheManager.java:306)
at net.sf.ehcache.CacheManager.init(CacheManager.java:226)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:187)
at net.sf.ehcache.hibernate.EhCacheProvider.start(EhCacheProvider.java:130)
at com.liferay.portal.dao.orm.hibernate.CacheProviderWrapper.start(CacheProviderWrapper.java:72)

Thanks
thumbnail
steve rieger, geändert vor 15 Jahren.

Re: [Liferay Forums][1. Installation / Deployment / Setup]UnknownHostExcept

Expert Beiträge: 436 Beitrittsdatum: 11.09.06 Neueste Beiträge
Check /etc/hosts and resolv.conf



--
Sent via Blackberry
I can be reached at 310-947-8565
Mr SoA, geändert vor 15 Jahren.

RE: Re: [Liferay Forums][1. Installation / Deployment / Setup]UnknownHostEx

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
My /etc/hosts file is shown as below:

# cat /etc/hosts
#::1 localhost.negraph.com localhost
127.0.0.1 localhost localhost.my.domain

# cat /etc/resolv.conf
domain ip6.com.au
nameserver 10.1.2.2
nameserver 127.0.0.1

Can you please tell me what should be changed in this 2 files?

Thanks
thumbnail
steve rieger, geändert vor 15 Jahren.

Re: Re: [Liferay Forums][1. Installation / Deployment /Setup]UnknownHostEx

Expert Beiträge: 436 Beitrittsdatum: 11.09.06 Neueste Beiträge
Add your real ip to the hosts file

--
Sent via Blackberry
I can be reached at 310-947-8565
Mr SoA, geändert vor 15 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment /Setup]UnknownHos

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
Like this?
125.255.112.202 localhost localhost

here is the output of ifconfig command:

# ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=b<RXCSUM,TXCSUM,VLAN_MTU>
inet 125.255.112.202 netmask 0xfffffff8 broadcast 125.255.112.207
inet 125.255.112.206 netmask 0xfffffff8 broadcast 125.255.112.207
ether 00:06:5b:8b:d9:99
media: Ethernet autoselect (10baseT/UTP <half-duplex>)
status: active
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=b<RXCSUM,TXCSUM,VLAN_MTU>
inet 10.1.2.2 netmask 0xffffff00 broadcast 10.1.2.255
ether 00:06:5b:8b:d9:9a
media: Ethernet autoselect
status: no carrier


Thanks
thumbnail
steve rieger, geändert vor 15 Jahren.

Re: [Liferay Forums][1. Installation / Deployment / Setup] RE: Re: Re:[Life

Expert Beiträge: 436 Beitrittsdatum: 11.09.06 Neueste Beiträge
Is your hostname localhost ?

--
Sent via Blackberry
I can be reached at 310-947-8565
Mr SoA, geändert vor 15 Jahren.

RE: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE: Re: Re:[

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
Here is the output of my hostname command:

# hostname
mail01.ip6.com.au

# ping mail01.ip6.com.au
PING mail01.ip6.com.au (125.255.112.206): 56 data bytes
64 bytes from 125.255.112.206: icmp_seq=0 ttl=64 time=0.054 ms

--- mail01.ip6.com.au ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.054/0.054/0.054/0.000 ms
Mr SoA, geändert vor 15 Jahren.

RE: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE: Re: Re:[

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
Mr SoA:
Here is the output of my hostname command:

# hostname
mail01.ip6.com.au

# ping mail01.ip6.com.au
PING mail01.ip6.com.au (125.255.112.206): 56 data bytes
64 bytes from 125.255.112.206: icmp_seq=0 ttl=64 time=0.054 ms

--- mail01.ip6.com.au ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.054/0.054/0.054/0.000 ms


And all my hosts definition are created in /etc/namedb/named.conf file.
I didn't do any thing in the /etc/hosts file.
Mr SoA, geändert vor 15 Jahren.

RE: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE: Re: Re:[

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
that s why I am asking what is special setup in named or Bind in linux or FreeBSD, to make Liferay/tomcat start up successfully.
In a real production server doing business, everyone is using Bind/Named. No one use /etc/hosts to define host name in a production machine.
thumbnail
steve rieger, geändert vor 15 Jahren.

Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: Re:[

Expert Beiträge: 436 Beitrittsdatum: 11.09.06 Neueste Beiträge
So tomcat didn't start up, from what I saw it did but you have that error, that error will not stop tomcat from starting

--
Sent via Blackberry
I can be reached at 310-947-8565
Mr SoA, geändert vor 15 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
steve rieger:
So tomcat didn't start up, from what I saw it did but you have that error, that error will not stop tomcat from starting

--
Sent via Blackberry
I can be reached at 310-947-8565


But it said:
04:04:49,161 ERROR [ContextLoader:215] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateMBeanExporter' defined in class path resource [META-INF/hibernate-spring.xml]: I
nvocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [com.liferay.portal.dao.orm.hibernat
e.jmx.HibernateStatisticsService@62f7da] with key 'Hibernate:name=statistics'; nested exception is javax.management.InstanceAlreadyExistsException: Hibernate:name=statistics
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

...

Do you know how to change the port number?
I opened server.xml file, and found all the port numbers 8005, 8080, 8009 etc..

I point my firefox to www.ip6.com.au:8080, but got the following error:

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.18
thumbnail
steve rieger, geändert vor 15 Jahren.

Re: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup]RE:Re: R

Expert Beiträge: 436 Beitrittsdatum: 11.09.06 Neueste Beiträge
If you got that error message then tomcat started
However it seems that the liferay portal did not start

Did you download the bundled portal or just the war file ?

--
Sent via Blackberry
I can be reached at 310-947-8565
Mr SoA, geändert vor 15 Jahren.

RE: Re: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup]RE:Re

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
I downloaded liferay-portal-tomcat-6.0-5.2.2.zip

What have it missing?

Thanks
Mr SoA, geändert vor 15 Jahren.

RE: Re: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup]RE:Re

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
does the followning error stopping portal start up?

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
04:04:49,161 ERROR [ContextLoader:215] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateMBeanExporter' defined in class path resource [META-INF
/hibernate-spring.xml]: Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to r
egister MBean [com.liferay.portal.dao.orm.hibernate.jmx.HibernateStatisticsService@62f7da] with key 'Hibernate:name=statistics'; nested exception is jav
ax.management.InstanceAlreadyExistsException: Hibernate:name=statistics
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
Mr SoA, geändert vor 15 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
Anyone out there knows how to solve this problem?

Mr SoA:
steve rieger:
So tomcat didn't start up, from what I saw it did but you have that error, that error will not stop tomcat from starting

--
Sent via Blackberry
I can be reached at 310-947-8565


But it said:
04:04:49,161 ERROR [ContextLoader:215] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateMBeanExporter' defined in class path resource [META-INF/hibernate-spring.xml]: I
nvocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [com.liferay.portal.dao.orm.hibernat
e.jmx.HibernateStatisticsService@62f7da] with key 'Hibernate:name=statistics'; nested exception is javax.management.InstanceAlreadyExistsException: Hibernate:name=statistics
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

...

Do you know how to change the port number?
I opened server.xml file, and found all the port numbers 8005, 8080, 8009 etc..

I point my firefox to www.ip6.com.au:8080, but got the following error:

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.18
Mr SoA, geändert vor 15 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
I don't know how to resolve this problem:

04:04:49,161 ERROR [ContextLoader:215] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateMBeanExporter' defined in class path resource [META-INF/hibernate-spring.xml]: I
nvocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [com.liferay.portal.dao.orm.hibernat
e.jmx.HibernateStatisticsService@62f7da] with key 'Hibernate:name=statistics'; nested exception is javax.management.InstanceAlreadyExistsException: Hibernate:name=statistics
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)


anybody got any idea?

Thanks
Mr SoA, geändert vor 15 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
Hi, can anybody shred some light on me please???

Thanks

Mr SoA:
I don't know how to resolve this problem:

04:04:49,161 ERROR [ContextLoader:215] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateMBeanExporter' defined in class path resource [META-INF/hibernate-spring.xml]: I
nvocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [com.liferay.portal.dao.orm.hibernat
e.jmx.HibernateStatisticsService@62f7da] with key 'Hibernate:name=statistics'; nested exception is javax.management.InstanceAlreadyExistsException: Hibernate:name=statistics
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)


anybody got any idea?

Thanks
Mr SoA, geändert vor 15 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Liferay Master Beiträge: 660 Beitrittsdatum: 03.03.09 Neueste Beiträge
Anyone got any idea about this error?

Mr SoA:
Hi, can anybody shred some light on me please???

Thanks

Mr SoA:
I don't know how to resolve this problem:

04:04:49,161 ERROR [ContextLoader:215] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateMBeanExporter' defined in class path resource [META-INF/hibernate-spring.xml]: I
nvocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [com.liferay.portal.dao.orm.hibernat
e.jmx.HibernateStatisticsService@62f7da] with key 'Hibernate:name=statistics'; nested exception is javax.management.InstanceAlreadyExistsException: Hibernate:name=statistics
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)

Thanks
Koen Cleynhens, geändert vor 13 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Junior Member Beiträge: 83 Beitrittsdatum: 23.02.10 Neueste Beiträge
Did you find the solution?

I have exact the same problem...
Tony Luo, geändert vor 13 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

New Member Beiträge: 20 Beitrittsdatum: 11.12.10 Neueste Beiträge
Me,too.

I tried to deploy the bundle file on my VPS but failed with the same exception.

Help~!
thumbnail
Andrés Cerezo, geändert vor 12 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Junior Member Beiträge: 92 Beitrittsdatum: 11.11.10 Neueste Beiträge
I've the same error. Anyone has found the solution?


Cheers.
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
java.net.UnknownHostException: aussiefinewines.com.au: aussiefinewines.com.


Error seems to be the above. He should have tried the following command to see if his dns is setup properly and if tomcat is using it.

ping aussiefinewines.com.au
thumbnail
Andrés Cerezo, geändert vor 12 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Junior Member Beiträge: 92 Beitrittsdatum: 11.11.10 Neueste Beiträge
Hello, I don't think so, here is my problem complete.

Cheers.
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Are you sure you got the right link?

The link is to "number of stars in rating" and just type: "improvement".
thumbnail
Andrés Cerezo, geändert vor 12 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Junior Member Beiträge: 92 Beitrittsdatum: 11.11.10 Neueste Beiträge
Yes because after doing the improvement ticket I got the error "Error creating bean with name 'hibernateMBeanExporter' " at last I solved it, there was a problem with the permissions of portal.properties. I got this error because I modified the file from Eclipse, I don't know why this happens but modifying this file with gedit the error doesn't happen.
thumbnail
Hitoshi Ozawa, geändert vor 12 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste Beiträge
Sorry, I only looked at the first post. The error messsage seems to have changed in his later post. I'm not able to follow why the error message changed between the first post and the later post.
Seyed Mohammad Hosein Jamali, geändert vor 12 Jahren.

RE: Re: Re: [Liferay Forums][1. Installation / Deployment / Setup] RE:Re: R

Junior Member Beiträge: 77 Beitrittsdatum: 13.12.09 Neueste Beiträge
Sam E:
Anyone got any idea about this error?

Mr SoA:
Hi, can anybody shred some light on me please???

Thanks

Mr SoA:
I don't know how to resolve this problem:

04:04:49,161 ERROR [ContextLoader:215] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateMBeanExporter' defined in class path resource [META-INF/hibernate-spring.xml]: I
nvocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [com.liferay.portal.dao.orm.hibernat
e.jmx.HibernateStatisticsService@62f7da] with key 'Hibernate:name=statistics'; nested exception is javax.management.InstanceAlreadyExistsException: Hibernate:name=statistics
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)

Thanks


Hello all
Im using liferay 6.0.6 and its service builder plugin and liferay-plugin-sdk-6.1.0-snapshot to create a jsf2-portlet. AND i have same problem too. any help appreciated , what is its solution ?
Thanks in advance

S.M.H.Jamali
R@dhe.. .., geändert vor 12 Jahren.

RE: Re: [Liferay Forums][1. Installation / Deployment / Setup]UnknownHostEx

New Member Beiträge: 5 Beitrittsdatum: 24.08.09 Neueste Beiträge
I had same issue

I resolved by
$> hostname
PARHOSTWEB

$> vi /etc/hosts
127.0.0.1 PARHOSTWEB