You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by sy...@eluminoustechnologies.com on 2003/01/23 18:49:17 UTC

[users@httpd] Doing graceful restart

Hello All,

I am using Rehdhat Linux 7.2 on my server. After every 15 - 20 mins. my apache server restarts gracefully. I could see following error in my error_log. Can anyone pls. tell me if this is somtheing happening because of mis-configuration in httpd.conf or something else.

[Thu Jan 23 00:52:00 2003] [notice] SIGUSR1 received.  Doing graceful restart
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
[Thu Jan 23 00:06:17 2003] [notice] Apache/1.3.23 (Unix) mod_bwlimited/1.0 PHP/4.1.2 mod_log_bytes/0.3 FrontPa
ge/5.0.2.2510 mod_ssl/2.8.6 OpenSSL/0.9.6b configured -- resuming normal operations
[Thu Jan 23 00:06:17 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Thu Jan 23 00:06:17 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)

Thank you,

Mitul...



Re: [users@httpd] Doing graceful restart

Posted by sy...@eluminoustechnologies.com.
Hello All,
I found  2064 entries for NameVirtualHost xxx.xxx.xxx.xxx:80
and  1684 entries Name VirtualHost xxx.xxx.xxx.xxx:80  enteries in
httpd.conf.

The warnings in my error_log are the exact difference of 2064 - 1684 = 380
warnings as follows

[Thu Jan 23 22:48:49 2003] [warn] NameVirtualHost xxx.xxx.xxx:80 has no
VrtualHosts
[Thu Jan 23 22:48:49 2003] [warn] NameVirtualHost xxx.xxx.xxx:80 has no
VrtualHosts

So i may have to comment or delete the 380 entries from my httpd.conf file.
Or if any one could sugget me more simpler solution so the my httpd
shouldn't start after regular Intervals.

Regards,

Vishal.

----- Original Message -----
From: <sy...@eluminoustechnologies.com>
To: <us...@httpd.apache.org>
Sent: Friday, January 24, 2003 5:26 PM
Subject: Re: [users@httpd] Doing graceful restart


> Hello,
> And Thank you for your response.
>  Really very sorry some are commented and some are not.
> But if they are commented then it shouldn't make any difference in httpd
> restarting. and I cannot Delete the <VirtualHost> Block as they contain
> entries the websites.
>
> This is what the actual error is
> [Thu Jan 23 22:48:49 2003] [warn] NameVirtualHost xxx.xxx.xxx:80 has no
> VirtualHosts
> [Thu Jan 23 22:48:49 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
no
> VirtualHosts
>
>
> > If they're all commented and all in that style (ie, not in use for
> > anything), just delete them all, including the <VirtualHost> blocks :)
> >
> > Chris Taylor - chris@x-bb.org - The guy with the PS2 WebServer -
> > http://www.x-bb.org/chris.asc
> >
> > ----- Original Message -----
> > From: <sy...@eluminoustechnologies.com>
> > To: <us...@httpd.apache.org>
> > Sent: Friday, January 24, 2003 9:09 AM
> > Subject: Re: [users@httpd] Doing graceful restart
> >
> >
> > > Hello All,
> > >
> > > I have around 500++  entries for NameVirtualHost xxx.xxx.xxx.xxx:80
but
> > all
> > > of them are Commented still it says Doing gracefull retstart.
> > >
> > > > > Looks like you have an unnecessary VirtualHost directive somewhere
> in
> > > > > httpd.conf, go over it by hand to check (should be near the end of
> the
> > > > file
> > > > > if there is one).
> > > > >
> > > >  Thank you.
> > > >
> > > > This how my httpd.conf looks like
> > > >
> > > > #NameVirtualHost xxx.xxx.xxx.xxx
> > > >
> > > > <VirtualHost xxx.xxx.xxx.xxx:80>
> > > > ServerName
> > > > ServerAlias
> > > > ServerAdmin
> > > > DocumentRoot
> > > >
> > > > </VirtualHost>
> > > > (the above syntax my differ a little in the Order or Case of
> > characters).
> > > >
> > > > I have the entry  #NameVirtualHost xxx.xxx.xxx.xxx repeated many
times
> > in
> > > my
> > > > httpd.conf some are commented and some r not.
> > > >
> > > > I don't find any virtual host entry at the end of httpd.conf file.
> > > >
> > > > Help me.
> > > >
> > > > Regards,
> > > > Vishal.
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> > >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
>



---------------------------------------------------------------------
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] Doing graceful restart

Posted by sy...@eluminoustechnologies.com.
Hello,
And Thank you for your response.
 Really very sorry some are commented and some are not.
But if they are commented then it shouldn't make any difference in httpd
restarting. and I cannot Delete the <VirtualHost> Block as they contain
entries the websites.

This is what the actual error is
[Thu Jan 23 22:48:49 2003] [warn] NameVirtualHost xxx.xxx.xxx:80 has no
VirtualHosts
[Thu Jan 23 22:48:49 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no
VirtualHosts


> If they're all commented and all in that style (ie, not in use for
> anything), just delete them all, including the <VirtualHost> blocks :)
>
> Chris Taylor - chris@x-bb.org - The guy with the PS2 WebServer -
> http://www.x-bb.org/chris.asc
>
> ----- Original Message -----
> From: <sy...@eluminoustechnologies.com>
> To: <us...@httpd.apache.org>
> Sent: Friday, January 24, 2003 9:09 AM
> Subject: Re: [users@httpd] Doing graceful restart
>
>
> > Hello All,
> >
> > I have around 500++  entries for NameVirtualHost xxx.xxx.xxx.xxx:80 but
> all
> > of them are Commented still it says Doing gracefull retstart.
> >
> > > > Looks like you have an unnecessary VirtualHost directive somewhere
in
> > > > httpd.conf, go over it by hand to check (should be near the end of
the
> > > file
> > > > if there is one).
> > > >
> > >  Thank you.
> > >
> > > This how my httpd.conf looks like
> > >
> > > #NameVirtualHost xxx.xxx.xxx.xxx
> > >
> > > <VirtualHost xxx.xxx.xxx.xxx:80>
> > > ServerName
> > > ServerAlias
> > > ServerAdmin
> > > DocumentRoot
> > >
> > > </VirtualHost>
> > > (the above syntax my differ a little in the Order or Case of
> characters).
> > >
> > > I have the entry  #NameVirtualHost xxx.xxx.xxx.xxx repeated many times
> in
> > my
> > > httpd.conf some are commented and some r not.
> > >
> > > I don't find any virtual host entry at the end of httpd.conf file.
> > >
> > > Help me.
> > >
> > > Regards,
> > > Vishal.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> > >
> > >
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
>



---------------------------------------------------------------------
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] Doing graceful restart

Posted by Chris Taylor <ch...@x-bb.org>.
If they're all commented and all in that style (ie, not in use for
anything), just delete them all, including the <VirtualHost> blocks :)

Chris Taylor - chris@x-bb.org - The guy with the PS2 WebServer -
http://www.x-bb.org/chris.asc

----- Original Message -----
From: <sy...@eluminoustechnologies.com>
To: <us...@httpd.apache.org>
Sent: Friday, January 24, 2003 9:09 AM
Subject: Re: [users@httpd] Doing graceful restart


> Hello All,
>
> I have around 500++  entries for NameVirtualHost xxx.xxx.xxx.xxx:80 but
all
> of them are Commented still it says Doing gracefull retstart.
>
> > > Looks like you have an unnecessary VirtualHost directive somewhere in
> > > httpd.conf, go over it by hand to check (should be near the end of the
> > file
> > > if there is one).
> > >
> >  Thank you.
> >
> > This how my httpd.conf looks like
> >
> > #NameVirtualHost xxx.xxx.xxx.xxx
> >
> > <VirtualHost xxx.xxx.xxx.xxx:80>
> > ServerName
> > ServerAlias
> > ServerAdmin
> > DocumentRoot
> >
> > </VirtualHost>
> > (the above syntax my differ a little in the Order or Case of
characters).
> >
> > I have the entry  #NameVirtualHost xxx.xxx.xxx.xxx repeated many times
in
> my
> > httpd.conf some are commented and some r not.
> >
> > I don't find any virtual host entry at the end of httpd.conf file.
> >
> > Help me.
> >
> > Regards,
> > Vishal.
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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] Doing graceful restart

Posted by sy...@eluminoustechnologies.com.
Hello All,

I have around 500++  entries for NameVirtualHost xxx.xxx.xxx.xxx:80 but all
of them are Commented still it says Doing gracefull retstart.

> > Looks like you have an unnecessary VirtualHost directive somewhere in
> > httpd.conf, go over it by hand to check (should be near the end of the
> file
> > if there is one).
> >
>  Thank you.
>
> This how my httpd.conf looks like
>
> #NameVirtualHost xxx.xxx.xxx.xxx
>
> <VirtualHost xxx.xxx.xxx.xxx:80>
> ServerName
> ServerAlias
> ServerAdmin
> DocumentRoot
>
> </VirtualHost>
> (the above syntax my differ a little in the Order or Case of characters).
>
> I have the entry  #NameVirtualHost xxx.xxx.xxx.xxx repeated many times in
my
> httpd.conf some are commented and some r not.
>
> I don't find any virtual host entry at the end of httpd.conf file.
>
> Help me.
>
> Regards,
> Vishal.
>
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
>



---------------------------------------------------------------------
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] Doing graceful restart

Posted by sy...@eluminoustechnologies.com.
> Looks like you have an unnecessary VirtualHost directive somewhere in
> httpd.conf, go over it by hand to check (should be near the end of the
file
> if there is one).
>
 Thank you.

This how my httpd.conf looks like

#NameVirtualHost xxx.xxx.xxx.xxx

<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName
ServerAlias
ServerAdmin
DocumentRoot

</VirtualHost>
(the above syntax my differ a little in the Order or Case of characters).

I have the entry  #NameVirtualHost xxx.xxx.xxx.xxx repeated many times in my
httpd.conf some are commented and some r not.

I don't find any virtual host entry at the end of httpd.conf file.

Help me.

Regards,
Vishal.



---------------------------------------------------------------------
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] Doing graceful restart

Posted by Chris Taylor <ch...@x-bb.org>.
Well, if you're using VirtualHosts, and the "abc" parts are just
replacements for real domains you don't want to disclose then yes, you need
them. However, if they're just test code (which it looks like) then you
simply remove them and restart Apache.

I presume you are the actual administrator of the server here, if not, I
suggest you contact the admin before changing things.

HTH,

Chris Taylor - chris@x-bb.org - The guy with the PS2 WebServer -
http://www.x-bb.org/chris.asc

----- Original Message -----
From: <sy...@eluminoustechnologies.com>
To: <us...@httpd.apache.org>
Sent: Thursday, January 23, 2003 6:28 PM
Subject: Re: [users@httpd] Doing graceful restart


> Thank you for your reply. I could see the "Name VirtualHost" entry in my
> httpd.conf. Is this necessary? Such entry is been repeated several times.
>
> #NameVirtualHost xxx.xxx.xxx.xxx:80
>
> NameVirtualHost xxx.xxx.xxx.xxx:80
>
> <VirtualHost xxx.xxx.xxx.xxx>
> ServerAlias www.abc.com abc.com
> ServerAdmin webmaster@abc.com
> DocumentRoot /home/abc/public_html
> BytesLog domlogs/abc.com-bytes_log
> User abc
> Group abc
> ServerName www.abc.com
> CustomLog domlogs/abc.com combined
> ScriptAlias /cgi-bin/ /home/cardways/public_html/cgi-bin/
> </VirtualHost>
>
>
>
> ----- Original Message -----
> From: "Chris Taylor" <ch...@x-bb.org>
> To: <us...@httpd.apache.org>
> Sent: Thursday, January 23, 2003 11:24 PM
> Subject: Re: [users@httpd] Doing graceful restart
>
>
> > Looks like you have an unnecessary VirtualHost directive somewhere in
> > httpd.conf, go over it by hand to check (should be near the end of the
> file
> > if there is one).
> >
> > HTH,
> >
> > Chris Taylor - chris@x-bb.org - The guy with the PS2 WebServer -
> > http://www.x-bb.org/chris.asc
> >
> > ----- Original Message -----
> > From: <sy...@eluminoustechnologies.com>
> > To: <us...@httpd.apache.org>
> > Sent: Thursday, January 23, 2003 5:49 PM
> > Subject: [users@httpd] Doing graceful restart
> >
> >
> > Hello All,
> >
> > I am using Rehdhat Linux 7.2 on my server. After every 15 - 20 mins. my
> > apache server restarts gracefully. I could see following error in my
> > error_log. Can anyone pls. tell me if this is somtheing happening
because
> of
> > mis-configuration in httpd.conf or something else.
> >
> > [Thu Jan 23 00:52:00 2003] [notice] SIGUSR1 received.  Doing graceful
> > restart
> > [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
> no
> > VirtualHosts
> > [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
> no
> > VirtualHosts
> > [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
> no
> > VirtualHosts
> > [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
> no
> > VirtualHosts
> > [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
> no
> > VirtualHosts
> > [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
> no
> > VirtualHosts
> > [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
> no
> > VirtualHosts
> > [Thu Jan 23 00:06:17 2003] [notice] Apache/1.3.23 (Unix)
mod_bwlimited/1.0
> > PHP/4.1.2 mod_log_bytes/0.3 FrontPa
> > ge/5.0.2.2510 mod_ssl/2.8.6 OpenSSL/0.9.6b configured -- resuming normal
> > operations
> > [Thu Jan 23 00:06:17 2003] [notice] suEXEC mechanism enabled (wrapper:
> > /usr/local/apache/bin/suexec)
> > [Thu Jan 23 00:06:17 2003] [notice] Accept mutex: sysvsem (Default:
> sysvsem)
> >
> > Thank you,
> >
> > Mitul...
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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] Doing graceful restart

Posted by sy...@eluminoustechnologies.com.
Thank you for your reply. I could see the "Name VirtualHost" entry in my
httpd.conf. Is this necessary? Such entry is been repeated several times.

#NameVirtualHost xxx.xxx.xxx.xxx:80

NameVirtualHost xxx.xxx.xxx.xxx:80

<VirtualHost xxx.xxx.xxx.xxx>
ServerAlias www.abc.com abc.com
ServerAdmin webmaster@abc.com
DocumentRoot /home/abc/public_html
BytesLog domlogs/abc.com-bytes_log
User abc
Group abc
ServerName www.abc.com
CustomLog domlogs/abc.com combined
ScriptAlias /cgi-bin/ /home/cardways/public_html/cgi-bin/
</VirtualHost>



----- Original Message -----
From: "Chris Taylor" <ch...@x-bb.org>
To: <us...@httpd.apache.org>
Sent: Thursday, January 23, 2003 11:24 PM
Subject: Re: [users@httpd] Doing graceful restart


> Looks like you have an unnecessary VirtualHost directive somewhere in
> httpd.conf, go over it by hand to check (should be near the end of the
file
> if there is one).
>
> HTH,
>
> Chris Taylor - chris@x-bb.org - The guy with the PS2 WebServer -
> http://www.x-bb.org/chris.asc
>
> ----- Original Message -----
> From: <sy...@eluminoustechnologies.com>
> To: <us...@httpd.apache.org>
> Sent: Thursday, January 23, 2003 5:49 PM
> Subject: [users@httpd] Doing graceful restart
>
>
> Hello All,
>
> I am using Rehdhat Linux 7.2 on my server. After every 15 - 20 mins. my
> apache server restarts gracefully. I could see following error in my
> error_log. Can anyone pls. tell me if this is somtheing happening because
of
> mis-configuration in httpd.conf or something else.
>
> [Thu Jan 23 00:52:00 2003] [notice] SIGUSR1 received.  Doing graceful
> restart
> [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
no
> VirtualHosts
> [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
no
> VirtualHosts
> [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
no
> VirtualHosts
> [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
no
> VirtualHosts
> [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
no
> VirtualHosts
> [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
no
> VirtualHosts
> [Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has
no
> VirtualHosts
> [Thu Jan 23 00:06:17 2003] [notice] Apache/1.3.23 (Unix) mod_bwlimited/1.0
> PHP/4.1.2 mod_log_bytes/0.3 FrontPa
> ge/5.0.2.2510 mod_ssl/2.8.6 OpenSSL/0.9.6b configured -- resuming normal
> operations
> [Thu Jan 23 00:06:17 2003] [notice] suEXEC mechanism enabled (wrapper:
> /usr/local/apache/bin/suexec)
> [Thu Jan 23 00:06:17 2003] [notice] Accept mutex: sysvsem (Default:
sysvsem)
>
> Thank you,
>
> Mitul...
>
>
>
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
>



---------------------------------------------------------------------
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] Doing graceful restart

Posted by Chris Taylor <ch...@x-bb.org>.
Looks like you have an unnecessary VirtualHost directive somewhere in
httpd.conf, go over it by hand to check (should be near the end of the file
if there is one).

HTH,

Chris Taylor - chris@x-bb.org - The guy with the PS2 WebServer -
http://www.x-bb.org/chris.asc

----- Original Message -----
From: <sy...@eluminoustechnologies.com>
To: <us...@httpd.apache.org>
Sent: Thursday, January 23, 2003 5:49 PM
Subject: [users@httpd] Doing graceful restart


Hello All,

I am using Rehdhat Linux 7.2 on my server. After every 15 - 20 mins. my
apache server restarts gracefully. I could see following error in my
error_log. Can anyone pls. tell me if this is somtheing happening because of
mis-configuration in httpd.conf or something else.

[Thu Jan 23 00:52:00 2003] [notice] SIGUSR1 received.  Doing graceful
restart
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no
VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no
VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no
VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no
VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no
VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no
VirtualHosts
[Thu Jan 23 00:06:17 2003] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no
VirtualHosts
[Thu Jan 23 00:06:17 2003] [notice] Apache/1.3.23 (Unix) mod_bwlimited/1.0
PHP/4.1.2 mod_log_bytes/0.3 FrontPa
ge/5.0.2.2510 mod_ssl/2.8.6 OpenSSL/0.9.6b configured -- resuming normal
operations
[Thu Jan 23 00:06:17 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/local/apache/bin/suexec)
[Thu Jan 23 00:06:17 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)

Thank you,

Mitul...





---------------------------------------------------------------------
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