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

Ishan Chattopadhyaya commented on SOLR-17112:
---------------------------------------------

bq. Exactly which version of Linux are you running?

{code}
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
UBUNTU_CODENAME=jammy

Linux c60c0b31eb21 6.1.58+ #1 SMP PREEMPT_DYNAMIC Sat Nov 18 15:31:17 UTC 2023 
x86_64 x86_64 x86_64 GNU/Linux

openjdk version "11.0.21" 2023-10-17
OpenJDK Runtime Environment (build 11.0.21+9-post-Ubuntu-0ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.21+9-post-Ubuntu-0ubuntu122.04, mixed 
mode, sharing)

{code}


bq. In other words, could you give me more infomation about the env and the 
error?

Please see the error here: 
https://colab.research.google.com/gist/chatman/59dbbdfd768ef297745dc84d0597d465/untitled0.ipynb

> bin/solr script doesn't do ps properly on some systems
> ------------------------------------------------------
>
>                 Key: SOLR-17112
>                 URL: https://issues.apache.org/jira/browse/SOLR-17112
>             Project: Solr
>          Issue Type: Bug
>          Components: scripts and tools
>    Affects Versions: 9.4
>            Reporter: Ishan Chattopadhyaya
>            Priority: Major
>              Labels: newdev
>
> On Google's colab, the following fails:
> {code}
> !wget https://dlcdn.apache.org/solr/solr/9.4.0/solr-9.4.0.tgz && tar -xf 
> solr-9.4.0.tgz && cd solr-9.4.0 && echo `pwd`
> !apt update && apt install bc -y && cd solr-9.4.0 && bin/solr stop -p 8983; 
> bin/solr -c -force -Denable.packages=true
> !cd solr-9.4.0 && bin/solr package add-repo data-import-handler 
> "https://raw.githubusercontent.com/searchscale/dataimporthandler/master/repo/";
> {code}
> If I add the following before the last line, it works:
> {code}
> !cat solr-9.4.0/bin/solr|sed -e 's:ps -f -p:ps -fww -p:g' > tmp; cp tmp 
> solr-9.4.0/bin/solr; chmod +x solr-9.4.0/bin/solr
> {code}
> I think that extra "ww" is needed to make sure Solr works fine on all 
> systems. FYI [~dep4b].



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to