<div style="font:14px/1.5 'Lucida Grande', '微软雅黑';color:#333;">Hi Andy,<div><br></div><div>Thank you very much!</div><div>Yes, it woks when I changed the port. The port 9000 is occupied by php on Ubuntu.</div><div><br></div><div>Thanks again and all the best,</div><div>Ge<br><span style="font: 14px/1.5 'Lucida Grande';color:#333;"><br></span><div class="foxmail_blockquote_fromhere_element" style="font: 12px/1.5 'Lucida Grande';padding:2px 0 2px 0;"><span style="color:#333;text-decoration:line-through;white-space:pre-wrap;"> </span> Original Message <span style="color:#333;text-decoration:line-through;white-space:pre-wrap;"> </span></div><div style="font: 12px/1.5 'Lucida Grande';background:#efefef;color:#666666;padding:8px;"><div><b style="color:#999;">Sender:</b> Andy Jenkinson<andy.jenkinson@ebi.ac.uk></div><div><b style="color:#999;">Recipient:</b> 184523479<184523479@qq.com></div><div><b style="color:#999;">Cc:</b> das<das@lists.open-bio.org></div><div><b style="color:#999;">Date:</b> Tuesday, Apr 16, 2013 09:02</div><div><b style="color:#999;">Subject:</b> Re: [DAS] ProServer on Ubuntu 12.04 server</div></div><br><div class="mail_quote_11D2EFA1AE874C31850E4C32032A5B08" style="font: 14px/1.5 'Lucida Grande';color:#333;"><pre style="white-space:pre-wrap;">Hi Ge,
The log output you show looks like the normal operation, except the -x option should prevent it from forking to the background. However, if there is already an application listening on port 9000 (e.g. another instance of proserver) then it may exit like this.
Can you please check to see if there is another proserver instance already running, and kill it. If there is some other application on port 9000 you will need to choose another port:
eg/proserver -port 9090 -x
Cheers,
Andy
On 15 Apr 2013, at 16:28, 184523479 <184523479@qq.com> wrote:
> Hi,
> I want to ask whether any tried ProServer on Ubuntu.
> I just follow the intruction on <a href="http://www.ebi.ac.uk/~aj/das_workshop_2012/proserver/tutorial1.html" title="http://www.ebi.ac.uk/~aj/das_workshop_2012/proserver/tutorial1.html">http://www.ebi.ac.uk/~aj/das_workshop_2012/proserver/tutorial1.html</a>
>
> And finally I tried to run the proserver with
> $ eg/proserver -x
>
> The output on the terminal is
> gtan@hg-2140 proserver$ eg/proserver -x
> ##############################################################################
> # ProServer DAS Server v756 (c) GRL 2007 #
> # <a href="http://www.sanger.ac.uk/proserver/" title="http://www.sanger.ac.uk/proserver/">http://www.sanger.ac.uk/proserver/</a> #
> # #
> # Please cite: #
> # ProServer: A simple, extensible Perl DAS server. #
> # Finn RD, Stalker JW, Jackson DK, Kulesha E, Clements J, Pettett R. #
> # Bioinformatics 2007; doi: 10.1093/bioinformatics/btl650; PMID: 17237073 #
> ##############################################################################
>
> [2013-04-15 16:21:27] Using default 'eg/proserver.ini' file.
> [2013-04-15 16:21:27] hostname => localhost
> [2013-04-15 16:21:27] port => 9000
> [2013-04-15 16:21:27] response_hostname =>
> [2013-04-15 16:21:27] response_port =>
> [2013-04-15 16:21:27] response_protocol =>
> [2013-04-15 16:21:27] response_baseuri =>
> [2013-04-15 16:21:27] interface => *
> [2013-04-15 16:21:27] prefork =>
> [2013-04-15 16:21:27] maxclients => 10
> [2013-04-15 16:21:27] pidfile =>
> [2013-04-15 16:21:27] logfile =>
> [2013-04-15 16:21:27] ensemblhome =>
> [2013-04-15 16:21:27] oraclehome =>
> [2013-04-15 16:21:27] bioperlhome =>
> [2013-04-15 16:21:27] coordshome =>
> [2013-04-15 16:21:27] styleshome =>
> [2013-04-15 16:21:27] http_proxy =>
> [2013-04-15 16:21:27] serverroot =>
> [2013-04-15 16:21:27] maintainer =>
> [2013-04-15 16:21:27] strict_boundaries =>
> [2013-04-15 16:21:27] logformat =>
> [2013-04-15 16:21:27] Configuring Adaptor mysimple on
> [2013-04-15 16:21:27] Configuring Adaptor mygff on
> [2013-04-15 16:21:27] Configuring Adaptor mygetz off
> [2013-04-15 16:21:27] Configuring Adaptor mysimpledb off
> [2013-04-15 16:21:27] Configuring Adaptor myembl off
> [2013-04-15 16:21:27] Configuring Adaptor hydra001 off
> [2013-04-15 16:21:27] Loaded 614 co-ordinate systems from coordinates/registry_coordinates.xml
> [2013-04-15 16:21:27] Writing pidfile eg/proserver.hg-2140.pid
> [2013-04-15 16:21:27] Proserver started
> Server 8520 has begun listening on *:9000 at /usr/local/share/perl/5.14.2/POE/Session.pm line 464
> Exited fork at /usr/local/share/perl/5.14.2/POE/Session.pm line 464
> gtan@hg-2140 proserver$
>
> I pointed the browser to <a href="http://localhost:9000" title="http://localhost:9000">http://localhost:9000</a> and it's not working. It looks like the server started first and then exited.
> I tried the same procedure on Mac and it works fine.
> My os version: Linux hg-2140 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:15:33 UTC 2013 i686 i686 i386 GNU/Linux
>
> Any clue? Thanks.
>
> Ge
>
>
> _______________________________________________
> DAS mailing list
> <a href="mailto:DAS@lists.open-bio.org" title="mailto:DAS@lists.open-bio.org">DAS@lists.open-bio.org</a>
> <a href="http://lists.open-bio.org/mailman/listinfo/das" title="http://lists.open-bio.org/mailman/listinfo/das">http://lists.open-bio.org/mailman/listinfo/das</a>
!        
</pre></div></div></div>