Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

able to start one virtual host but not all of them!!!

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


khalidtouati at gmail

Oct 22, 2009, 6:16 AM

Post #1 of 7 (555 views)
Permalink
able to start one virtual host but not all of them!!!

Hi Guys,
i am able to start one virtual host but not all of them, and these are the
module when i type:
/usr/sbin/apache2 -l
Compiled in modules:
core.c
worker.c
http_core.c
mod_so.c
i'm realyy stuck, any idea!!

--
Abdullah


covener at gmail

Oct 22, 2009, 6:21 AM

Post #2 of 7 (539 views)
Permalink
Re: able to start one virtual host but not all of them!!! [In reply to]

On Thu, Oct 22, 2009 at 9:16 AM, khalid touati <khalidtouati [at] gmail> wrote:
> Hi Guys,
> i am able to start one virtual host but not all of them, and these are the
> module when i type:
> /usr/sbin/apache2 -l
> Compiled in modules:
>   core.c
>   worker.c
>   http_core.c
>   mod_so.c
> i'm realyy stuck, any idea!!

How do you start one virtual host? Don't they all start together?
Are you changing your configuration as you go? Do you get an error
message if you include the "bad" virtual host? How about your
errorlog? What are the contents of the virtualhost? Did you make it
this far in my followup? Do you think this was reasonable info to
provide in a request for help?


--
Eric Covener
covener [at] gmail

---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


rbowen at rcbowen

Oct 22, 2009, 6:26 AM

Post #3 of 7 (536 views)
Permalink
Re: able to start one virtual host but not all of them!!! [In reply to]

On Oct 22, 2009, at 09:16 , khalid touati wrote:

> Hi Guys,
> i am able to start one virtual host but not all of them, and these
> are the module when i type:
> /usr/sbin/apache2 -l
> Compiled in modules:
> core.c
> worker.c
> http_core.c
> mod_so.c
> i'm realyy stuck, any idea!!
>


The usual reason for this is that you have mismatched NameVirtualHost
and <VirtualHost> lines. Please see http://onlamp.com/pub/a/apache/2004/01/08/apacheckbk.html
for a detailed discussion of your problem and the solutions for it.

--
Rich Bowen
rbowen [at] rcbowen




---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


m.watts at eris

Oct 22, 2009, 6:27 AM

Post #4 of 7 (535 views)
Permalink
Re: able to start one virtual host but not all of them!!! [In reply to]

On Thu, 2009-10-22 at 09:16 -0400, khalid touati wrote:
> Hi Guys,
> i am able to start one virtual host but not all of them, and these are
> the module when i type:
> /usr/sbin/apache2 -l
> Compiled in modules:
> core.c
> worker.c
> http_core.c
> mod_so.c
> i'm realyy stuck, any idea!!

A list of compiled-in modules is pretty useless.

Please provide a better description of your problem, including error
messages, configuration information and anything else relevant.

Mark.

--
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, Managed Services Manpower
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg
Attachments: signature.asc (0.19 KB)


khalidtouati at gmail

Oct 22, 2009, 11:50 AM

Post #5 of 7 (536 views)
Permalink
Re: able to start one virtual host but not all of them!!! [In reply to]

thanks for all of you guys, actually i was doing a big mistake (as i am not
too familiar with apche on linux) i was starting the service using this
/usr/sbin/apache2 -k start, but when using /etc/init.d/apache2 start, all my
problem are gone, i still wondering though wht's the difference but i am all
set anyway!
tahnk you

2009/10/22 Mark Watts <m.watts [at] eris>

> On Thu, 2009-10-22 at 09:16 -0400, khalid touati wrote:
> > Hi Guys,
> > i am able to start one virtual host but not all of them, and these are
> > the module when i type:
> > /usr/sbin/apache2 -l
> > Compiled in modules:
> > core.c
> > worker.c
> > http_core.c
> > mod_so.c
> > i'm realyy stuck, any idea!!
>
> A list of compiled-in modules is pretty useless.
>
> Please provide a better description of your problem, including error
> messages, configuration information and anything else relevant.
>
> Mark.
>
> --
> Mark Watts BSc RHCE MBCS
> Senior Systems Engineer, Managed Services Manpower
> www.QinetiQ.com <http://www.qinetiq.com/>
> QinetiQ - Delivering customer-focused solutions
> GPG Key: http://www.linux-corner.info/mwatts.gpg
>



--
Abdullah


Owen.Boyle at six-group

Oct 23, 2009, 12:37 AM

Post #6 of 7 (521 views)
Permalink
RE: able to start one virtual host but not all of them!!! [In reply to]

I'm not familiar with your linux distro, but I suspect that
/usr/sbin/apache2 is the apache binary and that by starting it directly
you get a default config (do "/usr/sbin/apache2 -V" to find out where).

On the other hand, /etc/init.d/apache2 is probably a shell-script that
defines a different config file when it starts apache (look inside
/etc/init.d/apache2 to see what it does).

So each method loads a different config and that's why you get different
results...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.


________________________________

From: khalid touati [mailto:khalidtouati [at] gmail]
Sent: Thursday, October 22, 2009 8:51 PM
To: users [at] httpd
Subject: Re: [users [at] http] able to start one virtual host but
not all of them!!!


thanks for all of you guys, actually i was doing a big mistake
(as i am not too familiar with apche on linux) i was starting the
service using this /usr/sbin/apache2 -k start, but when using
/etc/init.d/apache2 start, all my problem are gone, i still wondering
though wht's the difference but i am all set anyway!
tahnk you


2009/10/22 Mark Watts <m.watts [at] eris>


On Thu, 2009-10-22 at 09:16 -0400, khalid touati wrote:
> Hi Guys,
> i am able to start one virtual host but not all of
them, and these are
> the module when i type:
> /usr/sbin/apache2 -l
> Compiled in modules:
> core.c
> worker.c
> http_core.c
> mod_so.c
> i'm realyy stuck, any idea!!


A list of compiled-in modules is pretty useless.

Please provide a better description of your problem,
including error
messages, configuration information and anything else
relevant.

Mark.

--
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, Managed Services Manpower
www.QinetiQ.com <http://www.qinetiq.com/>
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg





--
Abdullah

This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message.
The sender's company reserves the right to monitor all e-mail communications through their networks.

---------------------------------------------------------------------
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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


khalidtouati at gmail

Oct 23, 2009, 7:21 AM

Post #7 of 7 (517 views)
Permalink
Re: able to start one virtual host but not all of them!!! [In reply to]

Thanks owen!!

2009/10/23 Boyle Owen <Owen.Boyle [at] six-group>

> I'm not familiar with your linux distro, but I suspect that
> /usr/sbin/apache2 is the apache binary and that by starting it directly
> you get a default config (do "/usr/sbin/apache2 -V" to find out where).
>
> On the other hand, /etc/init.d/apache2 is probably a shell-script that
> defines a different config file when it starts apache (look inside
> /etc/init.d/apache2 to see what it does).
>
> So each method loads a different config and that's why you get different
> results...
>
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
>
>
> ________________________________
>
> From: khalid touati [mailto:khalidtouati [at] gmail]
> Sent: Thursday, October 22, 2009 8:51 PM
> To: users [at] httpd
> Subject: Re: [users [at] http] able to start one virtual host but
> not all of them!!!
>
>
> thanks for all of you guys, actually i was doing a big mistake
> (as i am not too familiar with apche on linux) i was starting the
> service using this /usr/sbin/apache2 -k start, but when using
> /etc/init.d/apache2 start, all my problem are gone, i still wondering
> though wht's the difference but i am all set anyway!
> tahnk you
>
>
> 2009/10/22 Mark Watts <m.watts [at] eris>
>
>
> On Thu, 2009-10-22 at 09:16 -0400, khalid touati wrote:
> > Hi Guys,
> > i am able to start one virtual host but not all of
> them, and these are
> > the module when i type:
> > /usr/sbin/apache2 -l
> > Compiled in modules:
> > core.c
> > worker.c
> > http_core.c
> > mod_so.c
> > i'm realyy stuck, any idea!!
>
>
> A list of compiled-in modules is pretty useless.
>
> Please provide a better description of your problem,
> including error
> messages, configuration information and anything else
> relevant.
>
> Mark.
>
> --
> Mark Watts BSc RHCE MBCS
> Senior Systems Engineer, Managed Services Manpower
> www.QinetiQ.com <http://www.qinetiq.com/> <
> http://www.qinetiq.com/>
> QinetiQ - Delivering customer-focused solutions
> GPG Key: http://www.linux-corner.info/mwatts.gpg
>
>
>
>
>
> --
> Abdullah
>
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. If you receive
> this message in error, please notify the sender urgently and then
> immediately delete the message and any copies of it from your system. Please
> also immediately destroy any hardcopies of the message.
> The sender's company reserves the right to monitor all e-mail
> communications through their networks.
>
> ---------------------------------------------------------------------
> 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 [at] httpd
> " from the digest: users-digest-unsubscribe [at] httpd
> For additional commands, e-mail: users-help [at] httpd
>
>


--
Abdullah

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.