Troubleshoot and support > Migrate > Application tier migration
Troubleshoot: Errors in log file after starting IBM HTTP Server
After migrating the application tier, you attempt to launch the HTTP server but VirtualHost error messages are logged.
Problem
You are using the IBM HTTP Server. You have completed application tier migration but you have not yet attempted to launch any WebSphere Commerce v7.0 tools (for example, Administration Console). At this point, you receive the following warnings in the IHS_HOME\logs\error.log file:
[warn] VirtualHost host1.domain:8004 overlaps with VirtualHost host2.domain:8004, the first has precedence, perhaps you need a NameVirtualHost directive [warn] VirtualHost host1.domain:8002 overlaps with VirtualHost host2.domain:8002, the first has precedence, perhaps you need a NameVirtualHost directive [warn] VirtualHost host1.domain:8000 overlaps with VirtualHost host2.domain:8000, the first has precedence, perhaps you need a NameVirtualHost directive [warn] VirtualHost host1.domain:443 overlaps with VirtualHost host2.domain:443, the first has precedence, perhaps you need a NameVirtualHost directive [warn] VirtualHost host1.domain:80 overlaps with VirtualHost host2.domain:80, the first has precedence, perhaps you need a NameVirtualHost directive
If you receive these warnings, you might also experience problems launching or logging onto the WebSphere Commerce, version 6.0 tools such as the WebSphere Commerce Accelerator.
Solution
To resolve this problem, you need to change the IBM HTTP Server configuration to use IP-based virtual hosting instead of name-based virtual hosting.
To change the HTTP server configuration...
- Open the IHS_HOME\conf\httpd.conf file.
- Search for the string <VirtualHost hostname and change all occurrences of this string to <VirtualHost IPaddress
where:
- hostname is the Web server host name you entered during instance creation
- IPaddress is the IP address of the host name
For example, if the host name is myhost.mydomain.com with IP address 9.26.27.255, change occurrences of <VirtualHost myhost.mydomain.com VirtualHost myhost.domain.com to VirtualHost 9.26.27.255.
- Repeat the above step for all WebSphere Commerce and WebSphere Commerce Payments instances configuration blocks to update all occurrences of the <VirtualHost hostname string in the httpd.conf file.