You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Kumar Ranjan <Ku...@oracle.com> on 2003/09/24 14:53:36 UTC

[users@httpd] problems during apache start up

Hi,
I'm getting the following error when starting Apache.

./apachectl start
[Wed Sep 24 08:50:46 2003] [warn] _default_ VirtualHost overlap on port 3340, the
first has precedence
[Wed Sep 24 08:50:46 2003] [warn] _default_ VirtualHost overlap on port 3340, the
first has precedence
./apachectl start: httpd started

It shows that httpd is started yet I cannot connect to the server from any
browser.
Does anyone know of a solution to fix this?
Ritesh

Re: [users@httpd] problems during apache start up

Posted by Robert Andersson <ro...@profundis.nu>.
Kumar Ranjan wrote:
> I'm not trying to do any virtual hosting.

You obviously are, as the error log entries let us know.

> I've installed an enterprise edition of Oracle 9201 and am just trying to
> start Apache.

I have no idea what this means. Is Apache bundled in the Oracle
distribution? If so, and you are using their httpd.conf, I suggest you talk
with them.

It is really hard to suggest how you should modify your configuration
without knowing what you configuration is.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] problems during apache start up

Posted by Kumar Ranjan <Ku...@oracle.com>.
I'm not trying to do any virtual hosting.
I've installed an enterprise edition of Oracle 9201 and am just trying to start
Apache.

Robert Andersson wrote:

> Kumar Ranjan wrote:
> > ./apachectl start
> > [Wed Sep 24 08:50:46 2003] [warn] _default_ VirtualHost overlap on port
> 3340, the
> > first has precedence
> > [Wed Sep 24 08:50:46 2003] [warn] _default_ VirtualHost overlap on port
> 3340, the
> > first has precedence
> > ./apachectl start: httpd started
>
> Are you doing namebased or IP virtual hosting? I think this error indicate
> that you have defined two VirtualHosts on the same IP/port pair, while
> forgetting to set NameVirtualHost accordingly.
>
> In order to have two namebased vhosts on the same IP and port 3340, you'll
> need to have this in your httpd.conf:
>
>     Listen 3340
>     NameVirtualHost *:3340
>     <VirtualHost *:3340>
>         ServerName yourhost1
>         ...
>     </VirtualHost>
>     <VirtualHost *:3340>
>         ServerName yourhost2
>         ...
>     </VirtualHost>
>
> > It shows that httpd is started yet I cannot connect to the server from any
> > browser.
>
> When using a non-standard port, you must access it like:
> http://yourhost1:3340/
>
> Regards,
> Robert Andersson
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

Re: [users@httpd] problems during apache start up

Posted by Robert Andersson <ro...@profundis.nu>.
Kumar Ranjan wrote:
> ./apachectl start
> [Wed Sep 24 08:50:46 2003] [warn] _default_ VirtualHost overlap on port
3340, the
> first has precedence
> [Wed Sep 24 08:50:46 2003] [warn] _default_ VirtualHost overlap on port
3340, the
> first has precedence
> ./apachectl start: httpd started

Are you doing namebased or IP virtual hosting? I think this error indicate
that you have defined two VirtualHosts on the same IP/port pair, while
forgetting to set NameVirtualHost accordingly.

In order to have two namebased vhosts on the same IP and port 3340, you'll
need to have this in your httpd.conf:

    Listen 3340
    NameVirtualHost *:3340
    <VirtualHost *:3340>
        ServerName yourhost1
        ...
    </VirtualHost>
    <VirtualHost *:3340>
        ServerName yourhost2
        ...
    </VirtualHost>

> It shows that httpd is started yet I cannot connect to the server from any
> browser.

When using a non-standard port, you must access it like:
http://yourhost1:3340/


Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org