You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hannes Reinauer (JIRA)" <ji...@apache.org> on 2015/10/27 17:24:27 UTC

[jira] [Commented] (SOLR-7998) Solr start/stop script is currently incompatible with SUSE 11

    [ https://issues.apache.org/jira/browse/SOLR-7998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14976651#comment-14976651 ] 

Hannes Reinauer commented on SOLR-7998:
---------------------------------------

There are two lines in the bin/solr script that have changed since 5.1 or 5.2 that make the start incompatible with SLES 11 (up to SLES 11.3) as the lsof Version does not support the option "-sPROTOCOL:PORT".

In the script in the line 1321 the lsof call changed from "lsof -PniTCP:$SOLR_PORT" to "lsof -PniTCP:$SOLR_PORT -sTCP:LISTEN", I assume to only listen the listening ports of TCP. As a workaround you can change the script if there is no outgoing communication to a port like the $SOLR_PORT.
Also you could update your SLES version as in SLES 12 the version of lsof changes to 4.84.

Hannes

> Solr start/stop script is currently incompatible with SUSE 11
> -------------------------------------------------------------
>
>                 Key: SOLR-7998
>                 URL: https://issues.apache.org/jira/browse/SOLR-7998
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 5.3
>         Environment: SUSE (SLES 11 SP2)
>            Reporter: gilles lafargue
>
> result of the command 'lsof -PniTCP:$SOLR_PORT -sTCP:LISTEN' in script bin/solr
> lsof: unsupported TCP/TPI info selection: C
> lsof: unsupported TCP/TPI info selection: P
> lsof: unsupported TCP/TPI info selection: :
> lsof: unsupported TCP/TPI info selection: L
> lsof: unsupported TCP/TPI info selection: I
> lsof: unsupported TCP/TPI info selection: S
> lsof: unsupported TCP/TPI info selection: T
> lsof: unsupported TCP/TPI info selection: E
> lsof: unsupported TCP/TPI info selection: N
> lsof 4.80
> latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
> latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
> latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
> usage: [-?abhlnNoOPRstUvVX] [+|-c c] [+|-d s] [+D D] [+|-f[gG]]
> [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]]
> [-p s] [+|-r [t]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
> Use the ``-h'' option to get more help information.
> it seems that option "-sTCP:LISTEN" is not correct for lsof v4.80



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org