Question: installing and starting galaxy in local host
0
gravatar for balaszone
2.5 years ago by
balaszone60
balaszone60 wrote:

Hello,

I installed galaxy on my linux as per instructions and ran the comand

sh run.sh

This is the output I received.(just the last two lines posted here) . . . Starting server in PID 11832. serving on http://127.0.0.1:8080

Looks like it successfully installed everything. I even edited galaxy.ini file to reflect the port address(8080) and admin user(my email address). However, when I open the link(127.0.0.1:8080) it is refusing to connect to the server.

Could somebody guide me as how to proceed from here.

THanks much! B

ADD COMMENTlink written 2.5 years ago by balaszone60

Would you please also share:

  1. 8080 is the default port, so this does not need to be changed and may be the root cause of the problem. What happens when you undo that change, restart the server, and try to connect?
  2. Are you using the complete URL in the browser? Meaning: http://127.0.0.1:8080. Please try if not.
  3. If you are still having problems after this:
    • What master release version are you running?
    • What OS/browser are you using?
    • Is the problem present if other browsers are used? Which ones?
ADD REPLYlink modified 2.5 years ago • written 2.5 years ago by Jennifer Hillman Jackson25k

Hi Jennifer,

I did as you suggested.

1) commented out the line "port=8080 " in galaxy.ini file. CLosed the terminal and restarted galaxy(sh run.sh) 2) I used the complete URL (http://127.0.0.1:8080) 3) Tried in Firefox and KOnqueror

Still not able to connect to the server. Here is the version from the Makefile - "RELEASE_CURR:=16.01"

Help please.

THanks! B

ADD REPLYlink written 2.5 years ago by balaszone60

try using the actual IP address of the server you are running galaxy on, and then (after restarting) use (http://<actual ip="" address="">:8080)

Hans-Rudolf

ADD REPLYlink written 2.5 years ago by Hotz, Hans-Rudolf1.8k

Dear Hans-Rudlof,

I restarted the system. I found the ipaddress by ipaddr=$(hostname -I) and used it(165.xx.xx.xx) instead of 127.0.0.1 in the address bar. Still the same error.

Not sure what else to try. :(

ADD REPLYlink written 2.5 years ago by balaszone60

just double checking: are you running the web browser on the same machine as you run the galaxy server? or do you try to connect to galaxy via a web browser from your PC?

ADD REPLYlink written 2.5 years ago by Hotz, Hans-Rudolf1.8k

Hi Hans-Rudolf,

Haa. FInally, that resolved the issue.

I was ssh'ing into a different server and running galaxy. However, I was using browser(firefox) from my current computer. I even tried opening firefox from the SSH'ed terminal but it was still running it in the local machine. The trick was to open firefox like this

firefox -no-remote

Working fine now! THanks so much for the help! B

ADD REPLYlink written 2.4 years ago by balaszone60

also please note you must not kill that terminal in which you are running sh run.sh (nor interrupt the command itself)

ADD REPLYlink written 2.5 years ago by Martin Čech ♦♦ 4.9k

I didnot kill that terminal. I let it run while accessing the browser

ADD REPLYlink written 2.5 years ago by balaszone60
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: 166 users visited in the last hour