check if below directories have correct permission.  solr.log file not
created implies some issue

tail: cannot open
'/home/pawasthi/projects/solr_practice/ex1/solr-8.4.1/example/cloud/node1/solr/../logs/solr.log'

Solr home directory
/home/pawasthi/projects/solr_practice/ex1/solr-8.4.1/example/cloud/node1/solr
already exists.
/home/pawasthi/projects/solr_practice/ex1/solr-8.4.1/example/cloud/node2
already exists.

On Thu, Feb 20, 2020 at 8:14 AM Vadim Ivanov <
vadim.iva...@spb.ntk-intourist.ru> wrote:

> Hi
> That seems the reason of solr not starting:
>
> cannot open
>
> '/home/pawasthi/projects/solr_practice/ex1/solr-8.4.1/example/cloud/node1/solr/../logs/solr.log'
> for reading: No such file or directory
>
>
> > -----Original Message-----
> > From: Prabhat Awasthi [mailto:pawasthi.i...@gmail.com]
> > Sent: Wednesday, February 19, 2020 6:34 PM
> > To: solr-user@lucene.apache.org
> > Subject: Unable to start solr server on "Ubuntu 18.04 bash shell on
> Windows
> > 10"
> >
> > Hello,
> >
> > I am using Linux bash sell (Ubuntu app) on Windows 10 to run Solr on
> Ubuntu
> > 18.04.
> >
> > $ lsb_release -a
> > No LSB modules are available.
> > Distributor ID: Ubuntu
> > Description:    Ubuntu 18.04.2 LTS
> > Release:        18.04
> > Codename:       bionic
> >
> > I already installed Java8 (Openjdk) on my Ubuntu environment.
> >
> > $ java -version
> > openjdk version "1.8.0_242"
> > OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~18.04-
> > b08)
> > OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
> >
> > But I face error when I try to start SolrCloud on my Ubuntu system.
> > Could you please help to give me some pointers if I miss anything here ?
> > Please find below the full logs.
> >
> > Thanks in advance.
> > - Prabhat
> >
> >
> ----------------------------------------------------------------------------------------------
> > ---------------------
> > $ bin/solr start -e cloud
> > *** [WARN] *** Your open file limit is currently 1024.
> >  It should be set to 65000 to avoid operational disruption.
> >  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to
> false
> > in your profile or solr.in.sh
> > *** [WARN] ***  Your Max Processes Limit is currently 7823.
> >  It should be set to 65000 to avoid operational disruption.
> >  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to
> false
> > in your profile or solr.in.sh
> >
> > Welcome to the SolrCloud example!
> >
> > This interactive session will help you launch a SolrCloud cluster on
> your local
> > workstation.
> > To begin, how many Solr nodes would you like to run in your local
> cluster?
> > (specify 1-4 nodes) [2]:
> >
> > Ok, let's start up 2 Solr nodes for your example SolrCloud cluster.
> > Please enter the port for node1 [8983]:
> >
> > Please enter the port for node2 [7574]:
> >
> > Solr home directory
> > /home/pawasthi/projects/solr_practice/ex1/solr-
> > 8.4.1/example/cloud/node1/solr
> > already exists.
> > /home/pawasthi/projects/solr_practice/ex1/solr-
> > 8.4.1/example/cloud/node2
> > already exists.
> >
> > Starting up Solr on port 8983 using command:
> > "bin/solr" start -cloud -p 8983 -s "example/cloud/node1/solr"
> >
> > *** [WARN] ***  Your Max Processes Limit is currently 7823.
> >  It should be set to 65000 to avoid operational disruption.
> >  If you no longer wish to see this warning, set SOLR_ULIMIT_CHECKS to
> false
> > in your profile or solr.in.sh *Waiting up to 180 seconds to see Solr
> running on
> > port 8983 [|]  bin/solr:
> > line 664:   293 Aborted                 (core dumped) nohup "$JAVA"
> > "${SOLR_START_OPTS[@]}" $SOLR_ADDL_ARGS -Dsolr.log.muteconsole "-
> > XX:OnOutOfMemoryError=$SOLR_TIP/bin/oom_solr.sh $SOLR_PORT
> > $SOLR_LOGS_DIR" -jar start.jar "${SOLR_JETTY_CONFIG[@]}"
> > $SOLR_JETTY_ADDL_CONFIG > "$SOLR_LOGS_DIR/solr-$SOLR_PORT-
> > console.log" 2>&1*  [|]  Still not seeing Solr listening on 8983 after
> 180
> > seconds!
> > tail: cannot open
> > '/home/pawasthi/projects/solr_practice/ex1/solr-
> > 8.4.1/example/cloud/node1/solr/../logs/solr.log'
> > for reading: No such file or directory
> >
> > ERROR: Did not see Solr at http://localhost:8983/solr come online
> within 30
> >
> ----------------------------------------------------------------------------------------------
> > ---------------------
>
>

Reply via email to