Hi Isaac,

1. How are you running the script? Can you try running it from within the 
"dist" directory?

./scripts/biomart-server.sh restart

I would also check the logs under "dist/logs" for any errors that may have 
occurred. Look for a file starting with stdouterr.

2. The biomart-server.sh script should be running the server as a daemon 
process, so screen is not necessary. Logging out from your SSH session should 
be affect the process. Can you check that the process has indeed been killed? 
"ps aux | grep biomart"

Also, the session.timeout is for a user session in the browser (cookie-based). 
It will not affect server operations. :)

-jack


From: Isaac cano <[email protected]<mailto:[email protected]>>
Date: Tue, 5 Jul 2011 03:50:16 -0400
To: BioMart Users <[email protected]<mailto:[email protected]>>
Subject: [BioMart Users] biomart-server.sh start problem

Dear Biomart Users,

I'm trying to set up a prototype using Biomart over a mysql database and I'm 
facing some problems when starting the server and trying to keep the server up 
for a long time (As an operating system I'm using Suse 10 and the Biomart 
version is 0.8 release candidate 6):

1. The first thing I would like to ask you is why I can run the server through 
martconfigurator (loading the registry file and then starting the server) but 
if I try to do the same using the "biomart-server.sh start/restart" command the 
server doesn't start I get the following message in the web browser:

HTTP ERROR: 404

Problem accessing /. Reason:

    NOT_FOUND

________________________________
Powered by Jetty://

The output of the "biomart-server.sh start" command is the following:

Shutting down BioMart: 24945
Starting BioMart:
nohup: appending output to `nohup.out'
BioMart running pid=25125

I've checked that the application settings point to the correct registry file 
(test):

##################################################
# BIOMART APPLICATION SETTINGS
##################################################
biomart.debug = false
biomart.registry.file=/root/test
biomart.registry.key.file=/root/.test
biomart.sidebar = true

2. The other issue is how to keep the server up. I'm connecting to the server 
via ssh and I'm using the screen command to start the server (via 
martconfigurator) and then I detach the screen to keep the process running. 
Then I realised that when closing the ssh connection (putty) the server is 
usually down. Could you advice me about this issue?
Just one additional thing, I realised that the is a session.timeout setting 
that I commented to prevent the server to go down after the specified amount of 
seconds.

 I really appreciate your help,

Isaac Cano
_______________________________________________
Users mailing list
[email protected]
https://lists.biomart.org/mailman/listinfo/users

Reply via email to