doesn't restart the server

Asked by suneel kumra on 2013-08-31

when i try to restart the server it says like this
oot@ebiz123-Vostro-1540:/# sudo /etc/init.d/apache2 restart
 * Restarting web server apache2 [Sat Aug 31 10:55:09 2013] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Warning: DocumentRoot [/var/www/new] does not exist
Warning: DocumentRoot [/var/www/mylocalsite1.com] does not exist
[Sat Aug 31 10:55:09 2013] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Aug 31 10:55:09 2013] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Aug 31 10:55:09 2013] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
 ... waiting [Sat Aug 31 10:55:10 2013] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
Warning: DocumentRoot [/var/www/new] does not exist
Warning: DocumentRoot [/var/www/mylocalsite1.com] does not exist
[Sat Aug 31 10:55:10 2013] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Aug 31 10:55:10 2013] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Aug 31 10:55:10 2013] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apache2 Edit question
Assignee:
No assignee Edit question
Last query:
2013-08-31
Last reply:
2013-08-31

I suggest you post on an Apache forum too, it's more closely related to your issue.

Thomas Kr├╝ger (thkrueger) said : #2

Looks like you have defined two virtual host for the same IP, hostname or wildcard one with * and 80 as port. That is not allowed. Either you use * only or port numbers, not both.

Can you help with this problem?

Provide an answer of your own, or ask suneel kumra for more information if necessary.

To post a message you must log in.