n you may have a permission issue around creating
> that file in the first place.
>
> Basically, I am saying that maybe the issue you have is a symptom of a
> deeper discrepancy rather than the actual issue to solve directly.
>
> Regards,
> Alex.
>
> On Thu, 15 O
I just needed to enable the service with
systemctl enable solr.service
On Thu, Oct 15, 2020 at 4:03 PM Ryan W wrote:
> I didn't realize that to start a systemd service, I need to do...
>
> systemctl start solr
>
> ...and not...
>
> service solr start
>
>
tus=1/FAILURE)
Process: 98871 ExecStart=/etc/rc.d/init.d/solr start (code=exited,
status=0/SUCCESS)
On Thu, Oct 15, 2020 at 3:24 PM Ryan W wrote:
> Does anyone have a simple systemd definition for a solr service?
>
> The things I am finding on the internet don't work. I am not su
Does anyone have a simple systemd definition for a solr service?
The things I am finding on the internet don't work. I am not sure if this
is the kind of thing where there might be some boilerplate that (usually)
works? Or do situations vary so much that no boilerplate is possible?
Here is what
Hi all,
I run solr like this...
service solr start
However, another user of the server can't run solr this way. They are
seeing...
bash: solr: command not found
How do I enable them to run Solr as a service?
Thank you,
Ryan
The .pid file referenced in the "Permission denied" message does not exist.
On Thu, Oct 15, 2020 at 11:01 AM Ryan W wrote:
> I have been starting solr like so...
>
> service solr start
>
>
> On Thu, Oct 15, 2020 at 10:31 AM Joe Doupnik wrote:
>
>> A
. logs) may not
> > be where you expect.
> >
> > The solution is to be consistent in using the service to
> > start/restart/stop your Solr.
> >
> > Regards,
> > Alex.
> >
> > On Thu, 15 Oct 2020 at 09:51, Ryan W wrote:
> >> What is
What is my permissions problem here:
[root@faspbsy0002 bin]# service solr restart
Sending stop command to Solr running on port 8983 ... waiting up to 180
seconds to allow Jetty process 38947 to stop gracefully.
/opt/solr/bin/solr: line 2125: /opt/solr/bin/solr-8983.pid: Permission
denied
What is
derwood.org
> http://observer.wunderwood.org/ (my blog)
>
> > On Oct 13, 2020, at 1:19 PM, Ryan W wrote:
> >
> > I think I have it sorted. At this point I'm using GCG1, I take it,
> because
> > most recently I started Solr as a service...
> >
> > servi
/questions/903354/difference-between-systemctl-and-service-commands
And I can see in the System V script for solr that /etc/default/solr.in.sh
is the relevant config file.
On Tue, Oct 13, 2020 at 11:23 AM Ryan W wrote:
> Or, perhaps if I start solr like so
>
> service solr start
>
Or, perhaps if I start solr like so
service solr start
...it will use the solr.in.sh at /etc/default/solr.in.sh ?
On Tue, Oct 13, 2020 at 11:19 AM Ryan W wrote:
> This is how I start solr:
>
> /opt/solr/bin/solr start
>
> In my /etc/default/solr.in.sh, I have this
On Mon, Oct 12, 2020 at 9:46 PM Shawn Heisey wrote:
> On 10/12/2020 5:11 PM, Ryan W wrote:
> > Thanks. How do I activate the G1GC collector? Do I do this by editing a
> > config file, or by adding a parameter when I start solr?
> >
> > Oracle's docs are pointing me t
t; What’s a “reasonable safety margin”? Unfortunately you have to experiment.
>
> Best,
> Erick
>
> > On Oct 12, 2020, at 10:33 AM, Ryan W wrote:
> >
> > Hi all,
> >
> > What is the meaning of the "memory" line in the output when I run the
>
Hi all,
What is the meaning of the "memory" line in the output when I run the solr
status command? What controls whether that memory gets exhausted? At
times if I run "solr status" over and over, that memory number creeps up
and up and up. Presumably it is not a good thing if it moves all the w
e.
>
> > On Jun 29, 2020, at 1:48 PM, David Hastings <
> hastings.recurs...@gmail.com> wrote:
> >
> > little nit picky note here, use 31gb, never 32.
> >
> > On Mon, Jun 29, 2020 at 1:45 PM Ryan W wrote:
> >
> >> It figures it would ha
sure if this indicates 16GB
isn't enough. Then I ran it again a couple minutes later and it was down
to 598.3 MB. I wonder what accounts for these wide swings. I can't
imagine if a few users are doing searches, suddenly it uses 9 GB of RAM.
On Mon, Jun 29, 2020 at 1:45 PM Ryan W
just throwing money/ram/ssd at the problem is just the best
> > answer.
> >
> > On Mon, Jun 29, 2020 at 11:38 AM Ryan W wrote:
> >
> >> Thanks everyone. Just to give an update on this issue, I bumped the RAM
> >> available to Solr up to 16GB a couple we
this:
> > > -Xms31000m-Xmx31000m
> > >
> > > and the only other thing that runs on them are maria db gallera cluster
> > > nodes that are not in use (aside from replication)
> > >
> > > the 31gb is not an accident either, you dont want 32gb.
>
On Mon, Jun 15, 2020 at 2:00 PM Ryan W wrote:
> What is the Service definition of Solr in Redhat?
>
I think maybe you are talking about systemd.
Maybe a service definition looks something like this?
https://gist.github.com/hammady/3d7b5964c7b0f90997865ebef40bf5e1
I haven't used sys
>
> > Am 15.06.2020 um 19:46 schrieb Ryan W :
> >
> > It happened again today. Again, no other apparent problems on the
> server.
> > Nothing else is stopping. Nothing in the logs that strikes me as useful.
> > I'm using Red Hat Linux 7.8 and Solr 7.7
4, 2020 at 9:41 AM Ryan W wrote:
> Thank you. I pasted those settings at the end of my /etc/default/
> solr.in.sh just now and restarted solr. I will see if that fixes it.
> Previously, I had no settings at all in solr.in.sh except for SOLR_PORT.
>
> On Thu, Jun 11, 2020 at
rg
> http://observer.wunderwood.org/ (my blog)
>
> > On Jun 11, 2020, at 10:52 AM, Ryan W wrote:
> >
> > On Wed, Jun 10, 2020 at 8:35 PM Hup Chen wrote:
> >
> >> I will check "dmesg" first, to find out any hardware error message.
> >>
&
tall some nice
> free monitoring tool into this system, like monit, monitorix, nagios.
> Good luck!
>
>
> From: Ryan W
> Sent: Thursday, June 11, 2020 2:13 AM
> To: solr-user@lucene.apache.org
> Subject: Re: How to determine why solr stops ru
t; reason. At least once or twice a year we will have a disk failure in the
> raid and need to swap in a new one.
> >
> > Good luck though, also solr should be logging it’s failures so it would
> be good to look there too
> >
> >> On Jun 9, 2020, at 2:35 AM, Sh
mple cronjob with /bin/solr status and directory>/bin/solr start should do the trick. There must be a Windows
> equivalent if that’s what you’re using.
>
> From: Ryan W
> Sent: Thursday, June 4, 2020 11:39 AM
> To: solr-user@lucene.apache.org
> Subject: Re: Script to check if sol
,
> Radu
>
> https://sematext.com/
>
> joi, 4 iun. 2020, 19:24 Ryan W a scris:
>
> > Happened again today. Solr stopped running. Apache hasn't stopped in 10
> > days, so this is not due to a server reboot.
> >
> > Solr is not being run with the oom-k
Or is it not much overhead to give the command to start solr if it is
already running? Maybe it's not necessary to check if it's running? Is
there any downside to giving the start command every 15 minutes or so
whether it is running or not?
Thanks.
On Thu, Jun 4, 2020 at 12:36 PM Rya
Does anyone have a script that checks if solr is running and then starts it
if it isn't running? Occasionally my solr stops running even if there has
been no Apache restart. I haven't been able to determine the root cause,
so the next best thing might be to check every 15 minutes or so if it's
ru
om
> * 336-lol-nerd
> /
>
>
> On Mon, May 18, 2020 at 1:39 PM Erick Erickson
> wrote:
>
> > ps aux | grep solr
> >
> > on a *.nix system will show you all the runtime parameters.
> >
> > > On May 18, 2020, at 12:46
but check that you are running with the oom-killer, it'll be in
> your start params.
>
> But absent that, something external will be the culprit, Solr doesn't stop
> by itself. Do look at the Solr log once things stop, it should show if
> someone or something stopped it.
&g
t of memory errors will be in their own -oom log.
>
> I've encountered quite a few solr crashes and usually it's when there's a
> threshold of concurrent users and/or indexing happening.
>
>
>
> On Thu, May 14, 2020, 9:23 AM Ryan W wrote:
>
> > Hi all,
&
Hi all,
I manage a site where solr has stopped running a couple times in the past
week. The server hasn't been rebooted, so that's not the reason. What else
causes solr to stop running? How can I investigate why this is happening?
Thank you,
Ryan
pose Solr, even if secured, to untrusted
> networks and never to the public internet.
>
> Jan
>
> > 16. mar. 2020 kl. 16:46 skrev Ryan W :
> >
> > On Mon, Mar 16, 2020 at 10:51 AM Susheel Kumar
> > wrote:
> >
> >> Basic auth should help you to st
On Mon, Mar 16, 2020 at 10:51 AM Susheel Kumar
wrote:
> Basic auth should help you to start
>
> https://lucene.apache.org/solr/guide/8_1/basic-authentication-plugin.html
Thanks. I think I will give up on the plugin system. I haven't been able
to get the plugin system to work, and it creates
the
> > results etc. if you keep the indexer separate you can tune it
> differently
> > as well as protect the data. also means you can remove the delete/update
> > request handlers from the slave/searcher
> >
> > yes security by obscurity isnt ideal, but the over hea
If you want really, really secure, an stunnel front-end that requires
> client certs that you install in your browsers. For us, we have a load
> balancer with VIPs that restrict access to the internal IP range of the
> building that houses IT, but not everyone has the luxury of hardware
be accessed from an external IP you have much larger issues.
> On Mon, Mar 16, 2020 at 10:44 AM Ryan W wrote:
>
> > How do you, personally, do it? Do you use IPTables? Basic
> Authentication
> > Plugin? Something else?
> >
> > I'm asking in part so I'l ha
ster/slave is. These are new concepts that weren't
required to secure Solr prior to 7x, and this is my first project using a
version after 6x.
Thanks!
>
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/ (my blog)
>
> > On M
nfigure if you work with people that know a bit about those topics in
> your enterprise.
>
> In a Cloud based scenario jwt token can make sense.
>
> Do not do security by obscurity. You owe it to the users that potentially
> also have private data on Solr.
>
> > A
How do you, personally, do it? Do you use IPTables? Basic Authentication
Plugin? Something else?
I'm asking in part so I'l have something to search for. I don't know where
I should begin, so I figured I would ask how others do it.
I haven't been able to find anything that works, so if you can
Does anyone have an example of how InetAccessHandler is implemented? My
jetty version is 9.4.14.
Will I be able to whitelist IP addresses just by dropping a
jetty-inetaccess.xml file in my server/etc directory? Are there other
steps required?
If this is the right way to do it, what is the prope
.
On Wed, Mar 11, 2020 at 6:25 PM Jan Høydahl wrote:
> That should still work if you follow Jetty’s procedures for the version of
> Jetty you’re at.
> In 8.5 this will be much simpler:
> https://issues.apache.org/jira/browse/SOLR-14136
>
> Jan
>
> > 11. mar.
What options do I have for restricting access to the admin UI by IP
address? In Solr 6.x, this could be done with an IPAccessHandler in
jetty.xml, but this doesn't seem to work in Solr 7.x. Is there some other
way to do it?
Thanks!
I upgraded to v7.7.2 and am not having this issue anymore.
On Mon, Mar 9, 2020 at 10:04 AM Ryan W wrote:
> I am using v6.6.6, which is the most recent release in the v6 branch, and
> is the branch commonly used with my app. I have tried on Chrome, Firefox
> and Internet Explorer, and
wrote:
> v6.6.0 is from 2017 and not supported anymore. You are really encouraged
> to upgrade!
>
> Are you by any chance using Internet Explorer? (See
> https://stackoverflow.com/questions/56262704/solr-solrcore-initialization-failures-core-error
> )
>
> Jan
>
> >
Hi all,
On my dev server, in the Solr admin UI, I see...
SolrCore Initialization Failures
{{core}}: {{error}}
Please check your logs for more information
{{exception.msg}}
These appear to be template variables, but they are never populated. They
just dump to the screen. There i
46 matches
Mail list logo