On Sun, Dec 27, 2009 at 9:35 PM, godefroy montegommery <dunkell...@hotmail.com> wrote: > Hi, > > I hope it is the correct place to post this. > > I have created a zone to run Apache 2 on it. After having installed the > packages for apache, I have tried to start it, without any success : > > r...@zoneapache:/usr/apache2/2.2/bin# ./apachectl start > r...@zoneapache:/usr/apache2/2.2/bin# ./apachectl stop > [b]httpd (no pid file) not running[/b] > > Here is what i found in the error log : > r...@zoneapache:/var/apache2/2.2/logs# cat error_log > [Sun Dec 27 18:45:21 2009] [alert] (EAI 8)node name or service name not > known: mod_unique_id: unable to find IPv4 address of "zoneApache" > Configuration Failed > > What could be the cause of this error?
Looks to me like something in mod_unique_id.so is calling gethostbyname() to find the IP address or fully qualified name for zoneApache. My guess is that if you try "getent hosts zoneApache" it will return nothing, suggesting a DNS or /etc/{hosts,nsswitch.conf,resolv.conf} configuration problem. Do your debugging in the zone, not in the global zone. -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ zones-discuss mailing list zones-discuss@opensolaris.org