Hi Helen,

Is Apache listening to port 31135? This is not a standard port so you would 
probably need to configure Apache to listen to it. I am not sure how this is 
handled in Windows, unfortunately. 

Perhaps another user knows? 

Thanks,
Ted

--- In [email protected], "helen_geb" <helen_geb@...> wrote:
>
> Hi Ted,
> 
> Thanks for responding promptly.The problem seems with starting the server. 
> Here is the error I am getting when I started the server.
> I opened the port 31135 in windows firewall but that haven't solved it.
> 
> 
> C:\Users\Administrator>umls_similarity_server
> Error log = <none>
> Local port = 31135
> Maxchild = 4
> Loading modules... done.
> Starting server... going into background.
> Could not bind to network port: An attempt was made to access a socket in a 
> way forbidden by its access permissions.
> 
> 
> Let me know if anyone on the windows users know the solution to this.
> 
> Regards,
> Helen
> 
> 
> --- In [email protected], Ted Pedersen <duluthted@> wrote:
> >
> > Hi Helen,
> > 
> > See my responses inline...
> > 
> > On Fri, Apr 20, 2012 at 12:34 PM, helen_geb <helen_geb@> wrote:
> > 
> > > **
> > >
> > >
> > >
> > > I have deployed UMLs similarity in apache using the instructions in the
> > > README located in
> > >
> > > $perlpath\cpan\build\UMLS-Similarity-1.21-HrzcSr\web
> > >
> > > The first question is about rditing the umls_similarity_server.pl as per
> > > the readme instructions.
> > >
> > > Question 1: After I installed UMLS-Similarity and Interface I have
> > > multiple copies of that file inside my perl folder
> > >
> > > one is in blib\script\umls_similarity_server.pl
> > > second one is in utils
> > > and third one is in bin
> > > Do I have to make the changes requested in the README in all the 3 files?
> > >
> > You would only need to change the one in bin.
> > 
> > blib/script is a leftover directory from the installation process, and
> > utils is the source code copy. The one in bin is most likely the one that
> > you are running (so do double check that this is the case).
> > 
> > >
> > 
> > > Question 2:
> > >
> > > I went to
> > > http://localhost/cgi-bin/umls_similarity/umls_similarity.cgi
> > >
> > > I entered Term 1 and Term 2 and clicked compute similarity , I got 
> > > nothing.
> > >
> > > when I clicked view errors I get this
> > >
> > > Warnings/Errors:
> > >
> > > Error: received strange message from server ` '
> > > Error: received strange message from server ` '
> > > Error: received strange message from server ` '
> > > Error: received strange message from server ` '
> > > Error: received strange message from server `
> > >
> > > My user to the DB is root and my password is "xxx".
> > > Could that be the issue?
> > >
> > >
> > Have you started the umls_similarity_server.pl program? If so, how did you
> > do that (what options, etc. did you use)?
> > 
> > If you have started it with the --log option, could you post the contents
> > of the log?
> > 
> > FYI:
> > > Running UMLS similarity from command prompt works fine
> > > Here is how I am running it:
> > >
> > > C:\Strawberry\perl\site\bin>perl umls-similarity.pl --username=root
> > > --password=xxx --database=umls fever temperature
> > >
> > >
> > Great! Glad it is working!
> > 
> > Good luck,
> > Ted
> > 
> > 
> > >  
> > >
> > 
> > 
> > 
> > -- 
> > Ted Pedersen
> > http://www.d.umn.edu/~tpederse
> >
>


Reply via email to