executing "apachectl start" using back-quotes appears to 'hang' with httpd v2.2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





We have several webservers currently running on apache httpd v2.2.3. They
are started and stopped by a wrapper script which at some point simply
calls "apachectl stop" or "apachectl start" to control the webserver. This
is all working fine, we have had no issues with it.

I am currently trying to upgrade to v2.2.6 but have run into a problem. In
the wrapper script, apachectl is called in back quotes. For example we
would call it as follows in order to check the output for errors:

STARTUP=`<path>/apachectl start 2>&1`

When we use this construct to start httpd v2.2.3 it works fine. When we use
it to start httpd v2.2.6 the command simply hangs there without exiting. I
have tried doing this directly on the command line (as opposed to within a
script) and get exactly the same.

However, the webserver process *has* started. I can access the webserver
and if I run "apachectl stop" from another terminal, a few seconds later
the hung command returns to the command prompt (or the script continues if
called within the wrapper script).

I am running this on a Sun sparc V480 with solaris 9 installed (kernel
patch 117171-05). Apache httpd is compiled with Sun Studio 8 (I have tried
Studio 11 as well and get the same results).

Configure line was:

./configure --prefix=<path to install> --enable-so --enable-mods-shared=all
\
    --enable-module=so --with-mpm=worker --enable-nonportable-atomics=yes \
    --enable-proxy=shared --enable-proxy-http=shared --enable-ssl=shared \
    --enable-cache=shared --enable-file-cache=shared \
    --enable-disk-cache=shared --enable-mem-cache=shared

I realise that this may not actually be a problem with apache itself, in
fact it seems unlikely, but the only lead I have to go on at the moment is
that, on my system, it doesn't happen with v2.2.3 and does with v2.2.6 and
after comming up with a total blank on the search engines I am posting here
in the hope someone has encountered something similar.

Regards,

Sean

---
Sean Timmins
Systems Administrator
Web Publishing Systems
John Wiley & Sons Ltd.

----------------------------------------------------------------------
The information contained in this e-mail and any subsequent
correspondence is private and confidential and intended solely 
for the named recipient(s).  If you are not a named recipient, 
you must not copy, distribute, or disseminate the information, 
open any attachment, or take any action in reliance on it.  If you 
have received the e-mail in error, please notify the sender and delete
the e-mail.  
 
Any views or opinions expressed in this e-mail are those of the 
individual sender, unless otherwise stated.  Although this e-mail has 
been scanned for viruses you should rely on your own virus check, as 
the sender accepts no liability for any damage arising out of any bug 
or virus infection.

John Wiley & Sons Limited is a private limited company registered in
England with registered number 641132.

Registered office address: The Atrium, Southern Gate, Chichester,
West Sussex, PO19 8SQ.
----------------------------------------------------------------------

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux