after ./build all d httpd start with error

FleroviumUranus

Verified User
Joined
Aug 28, 2012
Messages
94
Location
everwhere
Starting httpd: [Tue Sep 18 07:53:18 2012] [error] VirtualHost 00.000.00.000:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
 
Did you change the IP in the error or is exactly like this?

If is like this you got something bad-configured cause that ip is totally not valid.

Regards
 
Actually i dont see a good point to hide it... a domain name would show the ip aswell.

Beside that have you edited virtual_host2.conf template? Have you added a custom virtual host?

Regards
 
no i do not made any change in virtual_host2.conf template or custom virtual host
i simply run this command
./build all d

and after finish this i got this error

when i stop httpd it stop normally
when i start it gave this error

also i have one question if i delete the /etc/httpd/conf/ips.conf that is this auto generated again
as it look like the issue with ips.conf but a bit bit afraid to delete that file
 
last time when i got not the same but similer error that time i delete this file and my problem solved
just want to try :)
i am not sure that it help me
so you also suggest some other way
 
Last time you did had a warning, and a warning is not an error and wasnt necessary to remove ips file.

Check your template, if you have a custom copy in /usr/local/directadmin/data/templates/custom/

Also check apache configuration in /etc/httpd/conf/extra/

Regards
 
apachectl -S
[Tue Sep 18 08:59:26 2012] [warn] NameVirtualHost xx.xxx.xx.xx:443 has no VirtualHosts
[Tue Sep 18 08:59:26 2012] [warn] NameVirtualHost xx.xxx.xx.xxx:443 has no VirtualHosts
[Tue Sep 18 08:59:26 2012] [warn] NameVirtualHost xx.xxx.xx.xxx:443 has no VirtualHosts
[Tue Sep 18 08:59:26 2012] [warn] NameVirtualHost xx.xxx.xx.xxx:443 has no VirtualHosts
[Tue Sep 18 08:59:26 2012] [warn] NameVirtualHost xx.xxx.xx.xxx:443 has no VirtualHosts
[Tue Sep 18 08:59:26 2012] [warn] NameVirtualHost xx.xxx.xx.xxx:443 has no VirtualHosts
[Tue Sep 18 08:59:26 2012] [warn] NameVirtualHost xx.xxx.xx.xxx:80 has no VirtualHosts
[Tue Sep 18 08:59:26 2012] [warn] NameVirtualHost xx.xxx.xx.xxx:443 has no VirtualHosts
VirtualHost configuration:
79.142.78.111:80 is a NameVirtualHost
default server www.domain1.org (/usr/local/directadmin/data/users/user1/httpd.conf:16)
port 80 namevhost www.domain1.org (/usr/local/directadmin/data/users/user1/httpd.conf:16)
79.142.78.110:80 is a NameVirtualHost
default server www.domain2.org (/usr/local/directadmin/data/users/user2/httpd.conf:16)
port 80 namevhost www.domain2.org (/usr/local/directadmin/data/users/user2/httpd.conf:16)
79.142.78.109:80 is a NameVirtualHost
default server www.domain3.org (/usr/local/directadmin/data/users/user3/httpd.conf:16)
port 80 namevhost www.domain3.org (/usr/local/directadmin/data/users/user3/httpd.conf:16)
79.142.78.107:80 is a NameVirtualHost
default server www.domain4.org (/usr/local/directadmin/data/users/user4/httpd.conf:16)
port 80 namevhost www.domain4.org (/usr/local/directadmin/data/users/user4/httpd.conf:16)
79.142.78.102:80 is a NameVirtualHost
default server www.domain5.org (/usr/local/directadmin/data/users/user5/httpd.conf:16)
port 80 namevhost www.domain5.org (/usr/local/directadmin/data/user5/fiserve/httpd.conf:16)
79.142.78.101:80 is a NameVirtualHost
default server www.domain6.org (/usr/local/directadmin/data/users/user6/httpd.conf:16)
port 80 namevhost www.domain6.org (/usr/local/directadmin/data/users/user6/httpd.conf:16)
79.142.78.112:80 is a NameVirtualHost
default server shared.domain (/etc/httpd/conf/ips.conf:24)
port 80 namevhost shared.domain (/etc/httpd/conf/ips.conf:24)
79.142.78.112:443 is a NameVirtualHost
default server shared.domain (/etc/httpd/conf/ips.conf:35)
port 443 namevhost shared.domain (/etc/httpd/conf/ips.conf:35)
wildcard NameVirtualHosts and _default_ servers:
*:80 localhost (/etc/httpd/conf/extra/httpd-vhosts.conf:29)
_default_:443 www.example.com (/etc/httpd/conf/extra/httpd-ssl.conf:77)
Syntax OK
 
So you can simply ignore the warnings.

There is written in the error on httpd restart which virtualhost is wrong?

Can you paste file /etc/httpd/conf/extra/httpd-vhosts.conf

?

Regards
 
Back
Top