download binary files will not uncompress

2020-11-03 Thread James Rome
# Source release: solr-8.6.3-src.tgz 
 
[PGP 
] 
[SHA512 
]
# Binary releases: solr-8.6.3.tgz 
 
[PGP 
] 
[SHA512 
] 
/ solr-8.6.3.zip 
 
[PGP 
] 
[SHA512 
]


 unzip solr-8.6.3.zip
Archive:  solr-8.6.3.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive. In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.


and

# tar -xvf solr-8.6.3.tgz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

--
James A. Rome

https://jamesrome.net



How to raise open file limits

2020-11-04 Thread James Rome
I am new to solr. I have solr installed in my home directory 
(/home/jar/solr).


But when I start the tutorial, I get an open files limit error.

 $ ./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


I made a limits file as follows:

/etc/security/limits.d # cat solr.conf
solr soft    nofile  65000
solr hard    nofile  65000
solr soft    nproc   65000
solr hard    nproc   65000
jar soft    nofile  65000
jar hard    nofile  65000
jar soft    nproc   65000
jar hard    nproc   65000

But this does not seem to solve the issue.

Also, my ultimate goal is to only index one directory and to serve it to 
my Drupal site. Is there a way to run solr as a service so that it 
restarts on boot? Can you please point me to how to do this?


--
James A. Rome
https://jamesrome.net