Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2008 21:13:04 -0700
From:      "Tim Judd" <tajudd@gmail.com>
To:        "matt donovan" <kitchetech@gmail.com>
Cc:        Joseph Simmons <josephdsimmons@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: starting Tomcat6
Message-ID:  <ade45ae90812242013x19cf31d3odd419d5bd607af07@mail.gmail.com>
In-Reply-To: <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com>
References:  <1ba9cd9a0812231036y1270eeecm5d7c0961bc2dfcf8@mail.gmail.com> <49513618.8090107@infracaninophile.co.uk> <1ba9cd9a0812231115t416a0002gaab47bc8459720e0@mail.gmail.com> <28283d910812231123r606ed3e7y2900152c34ba1bd2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 23, 2008 at 12:23 PM, matt donovan <kitchetech@gmail.com> wrote:

> On Tue, Dec 23, 2008 at 2:15 PM, Joseph Simmons <josephdsimmons@gmail.com
> >wrote:
>
> > It is now :), but that should only effect things when the computer
> > starts up. I'm still not able to start tomcat from it's rc.d script.
> >
> > On Tue, Dec 23, 2008 at 1:03 PM, Matthew Seaman
> > <m.seaman@infracaninophile.co.uk> wrote:
> > > Joseph Simmons wrote:
> > >>
> > >> uname -a gives:
> > >> 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
> > >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> > >>
> > >> I installed Apache Tomcat from the ports collection
> > >> (/usr/ports/www/tomcat6) without error. From the documentation that
> > >> I've seen, starting tomcat is done with the following command
> > >>
> > >> /usr/local/etc/rc.d/tomcat6 start
> > >>
> > >> But when I do this (as root or otherwise), the tomcat process doesn't
> > >> seem to start. Should there be some other way of starting the process?
> > >
> > > Did you put:
> > >
> > >  tomcat6_enable="YES"
> > >
> > > into /etc/rc.conf ?
> > >
> > >        Cheers,
> > >
> > >        Matthew
> > >
> > > --
> > > Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
> > >                                                 Flat 3
> > > PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
> > >                                                 Kent, CT11 9PW
> > >
> > >
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > freebsd-questions-unsubscribe@freebsd.org"
> >
>
> no you must have tomcat_enable="yes"  in your rc.conf to even run the
> script
> unless you forcestart it. so ps aux does not show tomcat as running?
>

Forcestart isn't a good idea.  To bypass the rc.conf setting, use the one
prefix (onestart, onestop, onerestart)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ade45ae90812242013x19cf31d3odd419d5bd607af07>