geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qingtian Wang <qingtian.w...@gmail.com>
Subject Re: how to keep the server process alive on Fedora Linux
Date Fri, 20 Jan 2006 16:30:58 GMT
On 1/19/06, Kevan Miller <kevan.miller@gmail.com> wrote:
> Qingtian,
> Thanks for keeping after this...
>
> What was the date/time of the last log entry in var/log/geronimo.log?

Oh, I didn't record that. But next time I will....

I do remember that the last entry of "geronimo.out" (not .log) said
"server started". Apparently nothing was logged in there when the
server died.


> Are you running the server in the foreground (e.g. geronimo.sh run)
> or background (e.g. geronimo.sh start). Are you putting any load on
> the server?

I used "../bin/startup.sh".

Thanks for the help!
Qingtian


>
> I did run a short 8 hour test on Mac OS X and didn't observe any
> signs of distress (no memory leak, etc). Will set up a longer run on
> Linux, tomorrow...
>
> --kevan
>
> On Jan 19, 2006, at 9:51 PM, Qingtian Wang wrote:
>
> > OK, this time it lived more than one day (more than two days). I found
> > it dead this morning, and "ps" command shows nothing. The process is
> > gone.
> >
> > Looking in geronimo.out and geronimo.log doesn't give much a clue. Is
> > there any other log I could check? I am not real versed with Linux; is
> > there some sys log that would show when and how the process got
> > killed?
> >
> > Thanks!
> > Qingtian
> >
> >
> >
> >
> >
> > On 1/16/06, Paul McMahan <paulmcmahan@gmail.com> wrote:
> >> Intriguing problem..  Could the Geronimo process still be running
> >> but is
> >> just inaccessible?  You can check by waiting until the server has
> >> seemingly
> >> terminated and then type :
> >>
> >>  ps -ef | grep geronimo
> >>
> >>  If you see something like :
> >>
> >>  username  4589     1 11 13:41 pts/2    00:00:39
> >> /usr/java/j2sdk1.4.2_10/bin/java -Djava.endorsed.dirs=
> >> -Dorg.apache.geronimo.base.dir [remainder truncated by me]
> >>
> >>  then geronimo may have become inaccessible due to, perhaps, an IP
> >> address
> >> change (thanks to Leigh Williamson for this suggestion).
> >>
> >>  As a test of this theory I changed the IP address on my redhat
> >> linux system
> >> and was still able to access the admin console. But command line
> >> utilities
> >> such as shutdown.sh and deploy.sh no longer worked:
> >>
> >>  [pmcmahan@frylock geronimo-1.0]$ bin/deploy.sh list-modules
> >>      Error: Unable to connect to server at deployer:geronimo:jmx --
> >>      javax.naming.NameNotFoundException: JMXConnector
> >>
> >>
> >>  Best wishes,
> >>  Paul
> >>
> >>
> >> On 1/16/06, Qingtian Wang <qingtian.wang@gmail.com > wrote:
> >>> Hi,
> >>>
> >>> I am running on Fedora as a normal user. Once started, the server
> >>> runs
> >>> fine until the next day, it is stopped with no clear warning in the
> >>> geronomo.out log file. How can I keep the server alive all the time.
> >>> Do I have to be a root user when starting the server?
> >>>
> >>> Thanks!
> >>> Qingtian
> >>>
> >>
> >>
>
>

Mime
View raw message