Problem with httpd

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
eXit
Posts: 62
Joined: 2008/05/15 16:20:32

Problem with httpd

Post by eXit » 2008/08/07 21:43:42

Hello. I would like to set up my own http, dns, and dhcp server. DHCP is ok. DNS looks ok but when I tray to run httpd I got this message :

Starting httpd: [Thu Aug 07 22:33:44 2008] [error] (EAI 2)Name or service not known: Could not resolve host name phobus -- ignoring!
[Thu Aug 07 22:33:44 2008] [error] (EAI 2)Name or service not known: Could not resolve host name martin -- ignoring!
[Thu Aug 07 22:33:44 2008] [warn] NameVirtualHost 192.168.10.1:80 has no VirtualHosts

When I run nslookup zzz.mars.av.it.pt I got:
Server: 192.168.10.1
Address: 192.168.10.1#53
** server can't find zzz.mars.av.it.pt: NXDOMAIN

And this [root@phobus ~]# httpd -t -D DUMP_VHOSTS:
[Thu Aug 07 22:39:25 2008] [error] (EAI 2)Name or service not known: Could not resolve host name phobus -- ignoring!
[Thu Aug 07 22:39:25 2008] [error] (EAI 2)Name or service not known: Could not resolve host name martin -- ignoring!
[Thu Aug 07 22:39:25 2008] [warn] NameVirtualHost 192.168.10.1:80 has no VirtualHosts
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
_default_:443 file.example.com (/etc/httpd/conf.d/ssl.conf:81)
Syntax OK

My /etc/resolv.conf:
; generated by /sbin/dhclient-script
#nameserver 194.168.4.100
#nameserver 194.168.8.100
search example.com
nameserver 192.168.10.1

Would you help me please??? If you will need more information's just ask me. Thank you.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Problem with httpd

Post by gerald_clark » 2008/08/08 13:59:49

http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=15576&forum=37

Post Reply