[Plain]
127.0.0.1 localhost
Server Operating System: Red Hat Enterprise Linux Server release 5.3
JDK: 1.6.0 _ 31
AAS: 7.0
Run./startapusic directly on the linux Command Line. The following exception occurs during running:
[Java]
11:04:09 error [apusic. service. Muxer] startup failed
Java.net. UnknownHostException: localhost. localdomain: localhost. localdomain
At java.net. InetAddress. getLocalHost (InetAddress. java: 1360)
At com.apusic.net. Muxer. startService (Unknown Source)
At com. apusic. service. Service. start (Unknown Source)
At sun. reflect. NativeMethodAccessorImpl. invoke0 (Native Method)
At sun. reflect. NativeMethodAccessorImpl. invoke (NativeMethodAccessorImpl. java: 39)
At sun. reflect. DelegatingMethodAccessorImpl. invoke (DelegatingMethodAccessorImpl. java: 25)
At java. lang. reflect. Method. invoke (Method. java: 597)
At com. apusic. jmx. MBeanDescriptor. invoke (Unknown Source)
At com. apusic. jmx. DynamicMBeanSupport. invoke (Unknown Source)
At com. sun. jmx. interceptor. DefaultMBeanServerInterceptor. invoke (DefaultMBeanServerInterceptor. java: 836)
At com. sun. jmx. mbeanserver. JmxMBeanServer. invoke (JmxMBeanServer. java: 761)
At com. apusic. server. J2EEServer. start (Unknown Source)
At com. apusic. server. J2EEServer. startup (Unknown Source)
At com. apusic. server. Main. main (Unknown Source)
Check that "java.net. UnknownHostException" is caused by incorrect hosts file configuration.
Open the current/etc/hosts file with the following content:
[Plain]
127.0.0.1 localhost
The exception information looks like the domain name localhost. localdomain cannot be recognized. Remember that the "host name" under DNS in the NIC configuration is configured as: localhost. localdomain, but the hosts file is not added to localhost. therefore, you can either adjust the host name, modify the/etc/hosts file, and modify the hosts file. Therefore, modify the/etc/hosts file as follows:
[Plain]
127.0.0.1 localhost. localdomain localhost
Restart AAS, OK!
From the far-reaching column of tranquility