Re: FW: [users@httpd] Apache dies unexpectedly

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

 



On 6/27/05, Boyle Owen <Owen.Boyle@xxxxxxx> wrote:
> 
> 
> > -----Original Message-----
> > From: AussieJohn [mailto:aussiejohn@xxxxxxxxx]
> > Sent: Montag, 27. Juni 2005 13:29
> >
> > > > Could it be a CGI program? Does apache start as root?
> > > >
> > -----
> > it could indeed be a cgi (PHP) program - allthough quite
> > often I am not
> > using the webserver, and will still die, hence suggesting to
> > me that it is
> > not a CGI script causing this.
> 
> You say "... I am not using the webserver ..."
> 
> Eh? It is the clients on the WWW who use the webserver - or do you mean that it is not connected to the internet?
> 
> To be clear, what I'm wondering is whether someone has written a script somewhere which is causing a restart when it gets requested.
> 
> This is why I asked if apache is started as root. If not, then a CGI script may be able to issue a restart directly. Howver, even if apache is started as root, the CGi could touch a file somewhere and if make were running on the root crontab with the touch file as a dependency it could make a restart (this is a common ploy to restart automatically after some file has been touched).
> 

---
Oh, sorry for not clarifying this earlier, but the webserver runs on my 
development machine, and thus does not get any traffic from the outside world.
I have been manually starting apache as root (either when logged in to a 
root shell, or thru 'sudo').

Though I do remember setting apache to run as its 'own' user and group
(apache and htdocs respectively) ... this user and group have access
to read/write/exec on the webservers document root.

anyway - i may get some sleep - and maybe when i get to work tomorrow the
magix tux-fairies will have fixed my problem - if not I'm sure I will
reply with some more
details on the server config and what not...

john


---
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
> 
> 
> >
> > also what might be interesting to note, is that I did to a
> > reboot of my system,
> > as I figured this may clear out zombified processes and other nasty
> > things that may have ended up in memory/in apache thread.
> >
> > Alas, to no avail, approximately 10/15 mins after reboot the
> > server died again.
> >
> > -----
> >
> > > > Rgds,
> > > > Owen Boyle
> > > > Disclaimer: Any disclaimer attached to this message may
> > be ignored.
> > > >
> > > >
> > > > > This is extremely odd, as the webserver
> > > > > ofcourse doesn't
> > > > > get used on the weekend as it is my workstation (I'm a web
> > > > developer).
> > > > > the only thing I could think of was a misbehaving profiler
> > > > or module.
> > > > > The only things I added before the server started dying was a
> > > > > virtualhost
> > > > > and mod_auth.
> > > > > I have tested with disabling the vhost, mod_auth and
> > > > > Xdebug (PHP profiler/debugger).
> > > > >
> > > > > None of these seem to give me a solution. So I am still
> > stuck with a
> > > > > sporadically
> > > > > dying webserver.
> > > > > When I get back to work in the morning I will however make
> > > > sure that
> > > > > there are no crontabs set. I am 99.9 % sure there
> > aren;t as I am the
> > > > > only one that
> > > > > uses my machine.
> > > > >
> > > > > Would their be any other way to find out what exactly happens
> > > > > that would kill
> > > > > the server ?
> > > > > -------------
> > > > > > Rgds,
> > > > > > Owen Boyle
> > > > > > Disclaimer: Any disclaimer attached to this message may
> > > > be ignored.
> > > > > >
> > > > > <snip>
> > > > >
> > > > >
> > > > > --
> > > > > "If you really want something in this life, you have to
> > work for it.
> > > > > Now, quiet! They're about to announce the lottery numbers..."
> > > > > - Homer Simpson
> > > > >
> > > >
> > >
> > >
> > > This message is for the named person's use only. It may
> > contain confidential, proprietary or legally privileged
> > information. No confidentiality or privilege is waived or
> > lost by any mistransmission. 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. You must not, directly or indirectly, use, disclose,
> > distribute, print, or copy any part of this message if you
> > are not the intended recipient. The sender's company reserves
> > the right to monitor all e-mail communications through their
> > networks. Any views expressed in this message are those of
> > the individual sender, except where the message states
> > otherwise and the sender is authorised to state them to be
> > the views of the sender's company.
> > >
> > >
> > ---------------------------------------------------------------------
> > > 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
> > >
> > >
> >
> >
> > --
> > "If you really want something in this life, you have to work for it.
> > Now, quiet! They're about to announce the lottery numbers..."
> > - Homer Simpson
> >
> > ---------------------------------------------------------------------
> > 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
> >
> >
> 
> ---------------------------------------------------------------------
> 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
> 
> 


-- 
"If you really want something in this life, you have to work for it.
Now, quiet! They're about to announce the lottery numbers..."
- Homer Simpson

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