You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Adam Griffiths <ne...@adam-griffiths.co.uk> on 2003/11/05 13:18:52 UTC

[users@httpd] Re: Re: starting httpd as a non-root user

The version of apachectl on my server doesn't work, it fails with:
  line 26: /etc/rc.d/init.d/functions: No such file or directory
However,
  $ http -t
returns:
  Syntax OK

"Dan Trainor" <da...@cavecreek.net> wrote in message
news:1068033954.31076.26.camel@xserv.cavecreek.net...
> apachectl configtest, rather.  graveyard shift, sorry.  heh.
>
> -dant
>
>
> On Wed, 2003-11-05 at 05:02, Adam Griffiths wrote:
> > Here is a transcript running without the &:
> >
> > [...]$ httpd -X -D SSL -D NONROOT
> >
> > [...]$
> >
> > I hit enter and get no error message and there is no error message in
the
> > log either...
> >
> > -Adam
> >
> > "Dan Trainor" <da...@cavecreek.net> wrote in message
> > news:1068033221.31076.22.camel@xserv.cavecreek.net...
> > > Try running that command without the &, it should exit with some sort
of
> > > error, or code.
> > >
> > > -dant
> > >
> > >
> > >
> > > On Wed, 2003-11-05 at 04:46, Adam Griffiths wrote:
> > > > Hi,
> > > > I have been running apache httpd for over three years on a server
> > provided
> > > > to me by an ISP. The server automatically starts httpd from it's
> > /etc/rc.
> > > >
> > > > I have a login, but not root access, I can kill the httpd process
> > (killall
> > > > httpd) and I would like to be able to start it again, without
rebooting
> > my
> > > > server and having /etc/rc do the job. The reason for this is that I
need
> > to
> > > > do some debugging and I would like to be able to stop and start
httpd at
> > > > will from my non-root login account. However try as I might I can't
> > start
> > > > http at  non-root.
> > > >
> > > > I am logging in using ssh, with my non-root account and attempting
to
> > start
> > > > httpd, here is an example of what happens:
> > > >
> > > > [...]$ httpd -X -D SSL -D NONROOT &
> > > > [1] 3548
> > > > [...]$
> > > > [1]+  Exit 1                  httpd -X -D SSL -D NONROOT
> > > > [...]$
> > > >
> > > > httpd exits! but no errors appear in the error log.
> > > >
> > > > I would be very grateful for any suggestions. My httpd.conf is
below.
> > > >
> > > > Kind Regards
> > > >
> > > > Adam
> > > >
> > >
> > > <--------------------- BIG 'OLE SNIP ------------------>
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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