Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache graceful restart vs vserver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
SerjVarshavskiy
n00b
n00b


Joined: 28 Jun 2005
Posts: 26

PostPosted: Thu Jul 14, 2005 8:54 am    Post subject: apache graceful restart vs vserver Reply with quote

root:
kernel linux-2.6.11.6-vserver-1.9.5
make.profile /usr/portage/profiles/default-linux/x86/2005.0

variant "ALL options to grsecur OFF" Yields the same results

make.conf root server:
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-X -kde -alsa cdr dvd"
FEATURES="buildpkg ccache fixpackages"
PKGDIR="/usr/packages"
DISTDIR="/usr/distfiles"

make.conf for vservers:
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="hardened pic -X -kde -alsa cdr dvd"
MAKEOPTS="-j2"
PKGDIR="/usr/packages"
DISTDIR="/usr/distfiles"

in vserver Apache/1.3.33 (Unix) (Gentoo/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e PHP/4.3.11

graceful restart not corrected

vserver vxxx exec /etc/init.d/apache reload
and connect client to server:

[Thu Jul 14 13:20:31 2005] [notice] SIGUSR1 received. Doing graceful restart
[Thu Jul 14 13:20:31 2005] [notice] Apache/1.3.33 (Unix) (Gentoo/Linux) mod_ssl/2.8.22 OpenSSL/0.9.7e PHP/4.3.11 configured -- resuming normal operations
[Thu Jul 14 13:20:31 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 14 13:20:31 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Jul 14 13:20:43 2005] [notice] child pid 11349 exit signal Segmentation fault (11)

if vserver vxxx exec /etc/init.d/apache stop
vserver vxxx exec /etc/init.d/apache start

to all works OK

It is very necessary such graceful restart a apache server
pls HELP (sorry bad english)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum