Hi Sean,

It's pretty standard that if you close a terminal window with a process running in it, that process doesn't necessarily shut down properly, though after a while it will clean itself up. Shutting the browser or not will have absolutely no impact. So you can either leave open the terminal window with Galaxy running, or stop the server before exiting the terminal window. Alternatively, you can also run Galaxy as a background process if you don't want to bother with leaving the terminal window open ("sh run.sh --daemon" to start it and "sh run.sh --stop-daemon" to stop it). Just bear in mind that if you run it as a background process, you won't see any error messages unless you inspect the paster log.

As far as which port number to use, 8080 is a very common default, but anything higher than that is a good bet. It's usually good to just choose an arbitrary "odd" number (8976 rather than 9000, for instance). There's always a small chance you'll run into a conflict with another program, so if you ever see an error referencing a port number, just try changing Galaxy's.

For moving it to another directory, I think that should be okay. You may need to rerun setup.sh. 

Regards,
Kelly


On Dec 10, 2010, at 9:50 AM, Sean Rogers wrote:

I shut quit the terminal and safari which were both running from yesterday. Galaxy opened through the new terminal command using the default port. This is semi-inconvenient. Any suggestions as to which port number to change to? Do I pull a number from a hat or are there only certain numbered ports available?

I installed galaxy in my home directory. Can I move it to  /usr/local/  with the mv command and still have everything work? 

Thanks again,Sean




Quoting Kelly Vincent <kpvincent@bx.psu.edu>:

> Sean,
>
> This message means that the port specified in universe_wsgi.ini is
> being used by something else (or possibly Galaxy if you never stopped
> the server you started yesterday). You should probably change port
> from the default 8080 if you haven't already. Let us know if you have
> any further questions.
>
> Regards,
> Kelly
>
>
>
> On Dec 10, 2010, at 9:01 AM, Sean Rogers wrote:
>
>> Hello,
>>
>> I downloaded and set up galaxy yesterday. It opened up the local
>> host fine at that time. I went to reopen galaxy today by using
>> run.sh from the command line. Galaxy did not open and I got the
>> message:
>>
>> File
>> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SocketServer.py", line 413, in
>> server_bind
>>
>>    self.socket.bind(self.server_address)
>>
>>  File "<string>", line 1, in bind
>>
>> socket.error: [Errno 48] Address already in use
>>
>>
>>
>>
>>
>> Sean A. Rogers
>>
>> **************************************
>> Visiting Research Associate
>> Department of Horticulture
>> A314 - Plant & Soil Sciences Building
>> Michigan State University
>> East Lansing, MI  48824-1325
>>
>> Phone: (517) 355-5191 x1373
>> **************************************_______________________________________________
>> galaxy-dev mailing list
>> galaxy-dev@lists.bx.psu.edu
>> http://lists.bx.psu.edu/listinfo/galaxy-dev
>
>
 

Sean A. Rogers

**************************************
Visiting Research Associate
Department of Horticulture
A314 - Plant & Soil Sciences Building
Michigan State University
East Lansing, MI  48824-1325

Phone: (517) 355-5191 x1373
**************************************