Question: Can't access to Galaxy - Server Error
0
gravatar for manuel.sb
2.8 years ago by
manuel.sb0
manuel.sb0 wrote:

Hi all,

our local Galaxy environment is down, we can't access to the landing web page at all as it says:

Server error

An error occurred. See the error logs for more information. (Turn debug on to display exception reports here)

I managed to find the logs:

IntegrityError: (IntegrityError) (1062, "Duplicate entry '78255' for key 'PRIMARY'") u'INSERT INTO galaxy_session (create_time, update_time, user_id, remote_host, remote_addr, referer, current_history_id, session_key, is_valid, prev_session_id, disk_usage) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)' [datetime.datetime(2016, 2, 25, 9, 0, 7, 60815), datetime.datetime(2016, 2, 25, 9, 0, 7, 60837), None, '129.94.136.211', '129.94.136.211', None, None, '6dd82420413788204979a80f0e4156cd', 1, None, None]

 

Any idea?

thank you very much

galaxy • 628 views
ADD COMMENTlink modified 2.8 years ago • written 2.8 years ago by manuel.sb0
0
gravatar for Hotz, Hans-Rudolf
2.8 years ago by
Switzerland
Hotz, Hans-Rudolf1.8k wrote:

Hi Manuel

 

How you can check the logs, depends on how you start the server. Are you redirecting the server's output log to a file?

 

Hans-Rudolf

 

 

 

ADD COMMENTlink written 2.8 years ago by Hotz, Hans-Rudolf1.8k

Hi Hotz,

I am not aware of any log redirection, I checked /var/log/messages and var/log/httpd/error_log and couldn't find any issue. That is why I was wondering if there is another location I should check for Galaxy logs and also how to turn debug on. I basically have our galaxy server down and I am out of clues so I need some more information for troubleshooting.

 

ADD REPLYlink written 2.8 years ago by manuel.sb0

what is the command you use to start your Galaxy server?

ADD REPLYlink modified 2.8 years ago • written 2.8 years ago by Hotz, Hans-Rudolf1.8k

./galaxy start

ADD REPLYlink written 2.8 years ago by manuel.sb0
0
gravatar for manuel.sb
2.8 years ago by
manuel.sb0
manuel.sb0 wrote:

This is how I start Galaxy. Looks like Galaxy is working but I still can't access the landing page

pwbcad@pwbcglxdev:init.d$ sudo ./galaxy start
Handling web0 with log file web0.log...
Daemon is already running (PID: 2284 from PID file web0.pid)
Handling manager with log file manager.log...
Daemon is already running (PID: 2287 from PID file manager.pid)
Handling handler0 with log file handler0.log...
Daemon is already running (PID: 2291 from PID file handler0.pid)
Handling handler1 with log file handler1.log...
Daemon is already running (PID: 2294 from PID file handler1.pid)
pwbcad@pwbcglxdev:init.d$ sudo ./galaxy restart
Handling web0 with log file web0.log...
Handling manager with log file manager.log...
Handling handler0 with log file handler0.log...
Handling handler1 with log file handler1.log...
Handling web0 with log file web0.log...
Entering daemon mode
Handling manager with log file manager.log...
Entering daemon mode
Handling handler0 with log file handler0.log...
Entering daemon mode
Handling handler1 with log file handler1.log...
Entering daemon mode
pwbcad@pwbcglxdev:init.d$ sudo ./galaxy status
Galaxy (manager pid 12601) is running...
pwbcad@pwbcglxdev:init.d$
 

ADD COMMENTlink modified 2.8 years ago • written 2.8 years ago by manuel.sb0

looks like 'galaxy' is a script.......starting several servers each with its own log file. Have you looked at those log files?

ADD REPLYlink written 2.8 years ago by Hotz, Hans-Rudolf1.8k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 146 users visited in the last hour