Re: RBL with stock Dovecot 2.2.15 (was Re: IP drop list)
Am 05.03.2015 um 22:45 schrieb Steffen: Steffen Kaiser wrote: passdb { driver = ipdeny args = /matchpattern/action *** } With next passdb{} as 1st in chain: passdb { driver = checkpassword args = "/tmp/chktst ip=%r service=%s" result_success = continue result_failure = return-fail } and this script BEGIN /tmp/chktst #!/bin/bash echo "$@" >>/tmp/chktst.log # return OK exit 0 # return FAIL exit 1 END I get the log entry: ip=127.0.0.1 service=imap /usr/local/dovecot-2.2.15/libexec/dovecot/checkpassword-reply and with exit 0, the next passdb{} let me login, and with exit 1, all logins fail. So, with the current stock Dovecot you can make RBL calls and decissions with a script. ;-) * with a terrible overhead starting a full process * no handling for DNS temp errors and so on * i don't see any RBL handling above, you just call a random script signature.asc Description: OpenPGP digital signature
RBL with stock Dovecot 2.2.15 (was Re: IP drop list)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steffen Kaiser wrote: > passdb { driver = ipdeny args = /matchpattern/action > *** } > With next passdb{} as 1st in chain: passdb { driver = checkpassword args = "/tmp/chktst ip=%r service=%s" result_success = continue result_failure = return-fail } and this script BEGIN /tmp/chktst #!/bin/bash echo "$@" >>/tmp/chktst.log # return OK exit 0 # return FAIL exit 1 END I get the log entry: ip=127.0.0.1 service=imap /usr/local/dovecot-2.2.15/libexec/dovecot/checkpassword-reply and with exit 0, the next passdb{} let me login, and with exit 1, all logins fail. So, with the current stock Dovecot you can make RBL calls and decissions with a script. ;-) - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Darwin) iQEVAwUBVPjOlXz1H7kL/d9rAQIDFggAtDGl8rgN3zpOa8QQ1JVgVne5alAzBShN JfWm/4rDLBqPfAeqLX8OGUja19dxru0rJFAZPr673v7I4GfGVu2XHgEFV7qWag/m r32B//ADgvyBc0hwYOy2IQ4Zc2BW7K7Xx9hvbA5ZzmlDwbkIg1fBQ8SDHP7EoPso Io/OD8ADvyGJf0RC6lDF+shhpu1mPGg9YVx+jiUD2EOlnq06JDo51sbaQ0BUGfK3 3TmiWr+yFLALrJAYTkoNbonGioGwPPfSqGwmj5/l0ch4N/k9vAf06IbNyFYTzqh+ apjDUNrTVzTnlUeeadoFNDpqkNCGpZDfEe/C/OImxsmNwQoe9fXjbg== =NQ5g -END PGP SIGNATURE-
Re: IP drop list
Am 05.03.2015 um 20:23 schrieb @lbutlr: > On 04 Mar 2015, at 21:46 , Jim Pazarena wrote: >> On 2015-03-02 2:02 AM, Jochen Bern wrote: >>> On 03/01/2015 08:53 AM, Jim Pazarena wrote: I wonder if there is an easy way to provide dovecot a flat text file of ipv4 #'s which should be ignored or dropped? I have accumulated 45,000+ IPs which routinely try dictionary and 12345678 password attempts. The file is too big to create firewall drops [...] >>> >>> The inherent assumption here is that dovecot, using a "flat file", will >>> be able to process the block list more effectively than the firewall, >>> which is a tool written for the *purpose* but supposedly unable to even >>> *try* due to the list's size. That sounds ... counterintuitive. >> >> I am the original poster and just came back to this thread. When the >> first couple replies were "fail2ban" I lost interest. > > Why? Fail2ban is simple to install, simple to setup, and then (and here’s the > best part) then you never have to look at it again. > I like fail2ban, but related to its design it is slow, i.e it was never fast enough to drop massive smtp botnets in time at one of my servers. Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein
Re: IP drop list
Am 05.03.2015 um 20:23 schrieb @lbutlr: On 04 Mar 2015, at 21:46 , Jim Pazarena wrote: On 2015-03-02 2:02 AM, Jochen Bern wrote: On 03/01/2015 08:53 AM, Jim Pazarena wrote: I wonder if there is an easy way to provide dovecot a flat text file of ipv4 #'s which should be ignored or dropped? I have accumulated 45,000+ IPs which routinely try dictionary and 12345678 password attempts. The file is too big to create firewall drops [...] The inherent assumption here is that dovecot, using a "flat file", will be able to process the block list more effectively than the firewall, which is a tool written for the *purpose* but supposedly unable to even *try* due to the list's size. That sounds ... counterintuitive. I am the original poster and just came back to this thread. When the first couple replies were "fail2ban" I lost interest. Why? Fail2ban is simple to install, simple to setup, and then (and here’s the best part) then you never have to look at it again fail2ban is simple to install and to setup? *lol* yes if you have 99% out-of-the-box distribution configurations, igave it a try not so long ago and honestly the whole config snippets and log-parsing is a mess where i call it insane to give that stuff root permissions even on my private testserver signature.asc Description: OpenPGP digital signature
Re: IP drop list
On 04 Mar 2015, at 21:46 , Jim Pazarena wrote: > On 2015-03-02 2:02 AM, Jochen Bern wrote: >> On 03/01/2015 08:53 AM, Jim Pazarena wrote: >>> I wonder if there is an easy way to provide dovecot a flat text file of >>> ipv4 #'s which should be ignored or dropped? >>> >>> I have accumulated 45,000+ IPs which routinely try dictionary and >>> 12345678 password attempts. The file is too big to create firewall >>> drops [...] >> >> The inherent assumption here is that dovecot, using a "flat file", will >> be able to process the block list more effectively than the firewall, >> which is a tool written for the *purpose* but supposedly unable to even >> *try* due to the list's size. That sounds ... counterintuitive. > > I am the original poster and just came back to this thread. When the > first couple replies were "fail2ban" I lost interest. Why? Fail2ban is simple to install, simple to setup, and then (and here’s the best part) then you never have to look at it again. -- Death is caused by swallowing small amounts of saliva over a long period of time.
Re: Receiving emails problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 5 Mar 2015, Gintare Ragaisiene wrote: I have DirectAdmin system installed with CentOS OS. I created a user and a user email account. Then I tried to send email from my website (which is written on PHP5) to my mailbox. Everything seemed ok, but I did not Check the logs of your MTA. - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQEVAwUBVPh4Xnz1H7kL/d9rAQIN5wgAo6hyMHe9ZsIOPMOchYQejYugmmsC8Ub2 DFxPwb7BzhpNaGmZv2I7KAIrfWffMNhw39Y1JZ0lGjPNfyAibpu+CCAyqDXKFJpF 17uJ6RGH70U4RDydKb1/d4Q3SRcGXNkyYc/v3dGuew7fRb39h8Y+P9VohqoCuYyE b1hLlah3VYgWMg5Ki5jSP7ooU5STK/W3eMV6bIreKTbYjD+x4tfYBPg/9Gt3/J4Z OJX5eVtcYfk+CfcOOJBM4J6ckieycW/mnLTY2Abrbv4q8eda8GYWW3ZWmcspmoed kpuvaaYztO8KmmkxSAupnt3Bi4+gVDuQ92RD/AOtOYeTKGSKns7mgA== =yQ6H -END PGP SIGNATURE-
Receiving emails problem
Hello, I have DirectAdmin system installed with CentOS OS. I created a user and a user email account. Then I tried to send email from my website (which is written on PHP5) to my mailbox. Everything seemed ok, but I did not received letter on the mailbox. The same is wehen I am trying to send through webmail SquirrelMail. I got a record on var/log/mailog: Mar 5 17:07:15 432282 dovecot[535]: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7134, secured, session= Mar 5 17:07:15 432282 dovecot[535]: imap(gintare): Disconnected: Logged out in=79 out=766 Please, help me. Versions: DirectAdmin - 1.4 CentOS - 6.6 Dovecot - 2.2.15 SquirrelMail (wbmail) - 1.4.23 Thanks, Gintare
Re: Dovecot Full Text Search: HTTP 500 : Unknown fieldType 'text_general' specified on field text. [SERIOUS]
Make that *text* instead of *text_general* On 5 March 2015 at 12:14, Kevin Laurie wrote: > Hi Muzzafer, > I get the error as specified below when i try to added it in as a field:- > I dont think text_general is a valid field? > > HTTP ERROR 500 > > Problem accessing /solr/. Reason: > > {msg=SolrCore 'collection1' is not available due to init failure: > Could not load conf for core collection1: Unknown fieldType > 'text_general' specified on field text. Schema file is > > /opt/solr/solr/collection1/conf/schema.xml,trace=org.apache.solr.common.SolrException: > SolrCore 'collection1' is not available due to init failure: Could not > load conf for core collection1: Unknown fieldType 'text_general' > specified on field text. Schema file is > /opt/solr/solr/collection1/conf/schema.xml > at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:307) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) > at org.eclipse.jetty.server.Server.handle(Server.java:368) > at > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) > at > org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) > at > org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) > at > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) > at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) > at > org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) > at > org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.solr.common.SolrException: Could not load conf > for core collection1: Unknown fieldType 'text_general' specified on > field text. Schema file is /opt/solr/solr/collection1/conf/schema.xml > at > org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66) > at org.apache.solr.core.CoreContainer.create(CoreContainer.java:489) > at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255) > at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > ... 1 more > Caused by: org.apache.solr.common.SolrException: Unknown fieldType > 'text_general' specified on field text. Schema file is > /opt/solr/solr/collection1/conf/schema.xml > at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:595) > at org.apache.solr.schema.IndexSchema.(IndexSchema.java:166) > at > org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:55) > at > org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:69) > at > org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:90) > at > org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:62) > ... 7 more > Caused by: org.apache.solr.common.SolrException: Unknown fieldType > 'text_general' specified on field text > at org.apache.solr.schema.IndexSchema.loadFields(IndexSchema.java:638) > at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:489) > ... 12 more > ,code=500} > > > On Thu, Mar 5, 2015 at 5:04 PM, Muzaffer Tol
Re: Weird sub-folder error
Hi, > On 03 Mar 2015, at 09:55, Christian Theune wrote: > > Hi, > > interesting idea about “/“ being in the folder name. I’ll ask whether that > was the case. Feedback from the user was “probably not”. Anything I can help debugging this further? Christian — Christian Theune · c...@flyingcircus.io · +49 345 219401 0 Flying Circus Internet Operations GmbH · http://flyingcircus.io Forsterstraße 29 · 06112 Halle (Saale) · Deutschland HR Stendal HRB 21169 · Geschäftsführer: Christian. Theune, Christian. Zagrodnick signature.asc Description: Message signed with OpenPGP using GPGMail
fast sync vs. full sync
Hi everyone, can anybody explain the difference between Dovecots fast sync and full sync in replication mode? Regards Patrick
Re: Dovecot Full Text Search: HTTP 500 : Unknown fieldType 'text_general' specified on field text. [SERIOUS]
Anyone here can enlighten me on this? On Thu, Mar 5, 2015 at 5:14 PM, Kevin Laurie wrote: > Hi Muzzafer, > I get the error as specified below when i try to added it in as a field:- > I dont think text_general is a valid field? > > HTTP ERROR 500 > > Problem accessing /solr/. Reason: > > {msg=SolrCore 'collection1' is not available due to init failure: > Could not load conf for core collection1: Unknown fieldType > 'text_general' specified on field text. Schema file is > /opt/solr/solr/collection1/conf/schema.xml,trace=org.apache.solr.common.SolrException: > SolrCore 'collection1' is not available due to init failure: Could not > load conf for core collection1: Unknown fieldType 'text_general' > specified on field text. Schema file is > /opt/solr/solr/collection1/conf/schema.xml > at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:307) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) > at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) > at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) > at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) > at org.eclipse.jetty.server.Server.handle(Server.java:368) > at > org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) > at > org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) > at > org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) > at > org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) > at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) > at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) > at > org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) > at > org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) > at > org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) > at > org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) > at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.solr.common.SolrException: Could not load conf > for core collection1: Unknown fieldType 'text_general' specified on > field text. Schema file is /opt/solr/solr/collection1/conf/schema.xml > at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66) > at org.apache.solr.core.CoreContainer.create(CoreContainer.java:489) > at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255) > at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > ... 1 more > Caused by: org.apache.solr.common.SolrException: Unknown fieldType > 'text_general' specified on field text. Schema file is > /opt/solr/solr/collection1/conf/schema.xml > at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:595) > at org.apache.solr.schema.IndexSchema.(IndexSchema.java:166) > at > org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:55) > at > org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:69) > at > org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:90) > at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:62) > ... 7 more > Caused by: org.apache.solr.common.SolrException: Unknown fieldType > 'text_general' specified on field text > at org.apache.solr.schema.IndexSchema.loadFields(IndexSchema.java:638) > at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:489) > ... 12 more > ,code=500} > > > On Thu, Mar 5, 2015 at 5:04 PM,
Dovecot Full Text Search: HTTP 500 : Unknown fieldType 'text_general' specified on field text. [SERIOUS]
Hi Muzzafer, I get the error as specified below when i try to added it in as a field:- I dont think text_general is a valid field? HTTP ERROR 500 Problem accessing /solr/. Reason: {msg=SolrCore 'collection1' is not available due to init failure: Could not load conf for core collection1: Unknown fieldType 'text_general' specified on field text. Schema file is /opt/solr/solr/collection1/conf/schema.xml,trace=org.apache.solr.common.SolrException: SolrCore 'collection1' is not available due to init failure: Could not load conf for core collection1: Unknown fieldType 'text_general' specified on field text. Schema file is /opt/solr/solr/collection1/conf/schema.xml at org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:307) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.solr.common.SolrException: Could not load conf for core collection1: Unknown fieldType 'text_general' specified on field text. Schema file is /opt/solr/solr/collection1/conf/schema.xml at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:489) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ... 1 more Caused by: org.apache.solr.common.SolrException: Unknown fieldType 'text_general' specified on field text. Schema file is /opt/solr/solr/collection1/conf/schema.xml at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:595) at org.apache.solr.schema.IndexSchema.(IndexSchema.java:166) at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:55) at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:69) at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:90) at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:62) ... 7 more Caused by: org.apache.solr.common.SolrException: Unknown fieldType 'text_general' specified on field text at org.apache.solr.schema.IndexSchema.loadFields(IndexSchema.java:638) at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:489) ... 12 more ,code=500} On Thu, Mar 5, 2015 at 5:04 PM, Muzaffer Tolga Ozses wrote: > Sure thing > > On 5 March 2015 at 11:52, Kevin Laurie wrote: >> >> No i dont have it. >> there is body field though. I think text is needed. Let me add it in and >> see. >> Thanks >> >> >> On Thu, Mar 5, 2015 at 4:42 PM, Muzaffer Tolga Ozses >> wrote: >>
Re: Dovecot Full Text Search results in SolrException: undefined field text [SERIOUS]
Below is my schema.xml id body On Thu, Mar 5, 2015 at 3:48 PM, Leon Kyneur wrote: > In your schema.XML check you have defined: > > multiValued="true"/> > > On 05/03/2015 7:11 PM, "Kevin Laurie" wrote: >> >> Hello, >> My dovecot constantly runs into this error. >> I want to fix this one last time, I am tired of troubleshooting so >> please someone give me a lasting and proper solution for this error. I >> think its a problem with the dovecot-solr module. >> >> Please tell me how do I find the root of this problem with Dovecot. >> There is a problem with the body search text field. It always >> fails(with no result), other searches work(ie. search date, subject >> etc, ) The field-text I believe is missing. Please help. Desperate >> here! >> >> >> >> >> 2/25/2015, 11:32:30 PM ERROR SolrCore >> org.apache.solr.common. >> SolrException: undefined field text >> >> org.apache.solr.common.SolrException: undefined field text >> at >> org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1269) >> at >> org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getWrappedAnalyzer(IndexSchema.java:434) >> at >> org.apache.lucene.analysis.DelegatingAnalyzerWrapper$DelegatingReuseStrategy.getReusableComponents(DelegatingAnalyzerWrapper.java:74) >> at org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:175) >> at >> org.apache.lucene.util.QueryBuilder.createFieldQuery(QueryBuilder.java:207) >> at >> org.apache.solr.parser.SolrQueryParserBase.newFieldQuery(SolrQueryParserBase.java:374) >> at >> org.apache.solr.parser.SolrQueryParserBase.getFieldQuery(SolrQueryParserBase.java:742) >> at >> org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:541) >> at org.apache.solr.parser.QueryParser.Term(QueryParser.java:299) >> at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:185) >> at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107) >> at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96) >> at >> org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:151) >> at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50) >> at org.apache.solr.search.QParser.getQuery(QParser.java:141) >> at >> org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:148) >> at >> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197) >> at >> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) >> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967) >> at >> org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:64) >> at org.apache.solr.core.SolrCore$5.call(SolrCore.java:1739) >> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:745)
Re: Dovecot Full Text Search results in SolrException: undefined field text [SERIOUS]
In your schema.XML check you have defined: On 05/03/2015 7:11 PM, "Kevin Laurie" wrote: > Hello, > My dovecot constantly runs into this error. > I want to fix this one last time, I am tired of troubleshooting so > please someone give me a lasting and proper solution for this error. I > think its a problem with the dovecot-solr module. > > Please tell me how do I find the root of this problem with Dovecot. > There is a problem with the body search text field. It always > fails(with no result), other searches work(ie. search date, subject > etc, ) The field-text I believe is missing. Please help. Desperate > here! > > > > > 2/25/2015, 11:32:30 PM ERROR SolrCore > org.apache.solr.common. > SolrException: undefined field text > > org.apache.solr.common.SolrException: undefined field text > at > org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1269) > at > org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getWrappedAnalyzer(IndexSchema.java:434) > at > org.apache.lucene.analysis.DelegatingAnalyzerWrapper$DelegatingReuseStrategy.getReusableComponents(DelegatingAnalyzerWrapper.java:74) > at org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:175) > at > org.apache.lucene.util.QueryBuilder.createFieldQuery(QueryBuilder.java:207) > at > org.apache.solr.parser.SolrQueryParserBase.newFieldQuery(SolrQueryParserBase.java:374) > at > org.apache.solr.parser.SolrQueryParserBase.getFieldQuery(SolrQueryParserBase.java:742) > at > org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:541) > at org.apache.solr.parser.QueryParser.Term(QueryParser.java:299) > at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:185) > at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107) > at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96) > at > org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:151) > at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50) > at org.apache.solr.search.QParser.getQuery(QParser.java:141) > at > org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:148) > at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197) > at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967) > at > org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:64) > at org.apache.solr.core.SolrCore$5.call(SolrCore.java:1739) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) >
Re: Dovecot Full Text Search results in SolrException: undefined field text [SERIOUS]
Paste your xml file here. On 5 March 2015 at 10:11, Kevin Laurie wrote: > Hello, > My dovecot constantly runs into this error. > I want to fix this one last time, I am tired of troubleshooting so > please someone give me a lasting and proper solution for this error. I > think its a problem with the dovecot-solr module. > > Please tell me how do I find the root of this problem with Dovecot. > There is a problem with the body search text field. It always > fails(with no result), other searches work(ie. search date, subject > etc, ) The field-text I believe is missing. Please help. Desperate > here! > > > > > 2/25/2015, 11:32:30 PM ERROR SolrCore > org.apache.solr.common. > SolrException: undefined field text > > org.apache.solr.common.SolrException: undefined field text > at > org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1269) > at > org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getWrappedAnalyzer(IndexSchema.java:434) > at > org.apache.lucene.analysis.DelegatingAnalyzerWrapper$DelegatingReuseStrategy.getReusableComponents(DelegatingAnalyzerWrapper.java:74) > at org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:175) > at > org.apache.lucene.util.QueryBuilder.createFieldQuery(QueryBuilder.java:207) > at > org.apache.solr.parser.SolrQueryParserBase.newFieldQuery(SolrQueryParserBase.java:374) > at > org.apache.solr.parser.SolrQueryParserBase.getFieldQuery(SolrQueryParserBase.java:742) > at > org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:541) > at org.apache.solr.parser.QueryParser.Term(QueryParser.java:299) > at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:185) > at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107) > at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96) > at > org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:151) > at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50) > at org.apache.solr.search.QParser.getQuery(QParser.java:141) > at > org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:148) > at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197) > at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967) > at > org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:64) > at org.apache.solr.core.SolrCore$5.call(SolrCore.java:1739) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > -- mto
Dovecot Full Text Search results in SolrException: undefined field text [SERIOUS]
Hello, My dovecot constantly runs into this error. I want to fix this one last time, I am tired of troubleshooting so please someone give me a lasting and proper solution for this error. I think its a problem with the dovecot-solr module. Please tell me how do I find the root of this problem with Dovecot. There is a problem with the body search text field. It always fails(with no result), other searches work(ie. search date, subject etc, ) The field-text I believe is missing. Please help. Desperate here! 2/25/2015, 11:32:30 PM ERROR SolrCore org.apache.solr.common. SolrException: undefined field text org.apache.solr.common.SolrException: undefined field text at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1269) at org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getWrappedAnalyzer(IndexSchema.java:434) at org.apache.lucene.analysis.DelegatingAnalyzerWrapper$DelegatingReuseStrategy.getReusableComponents(DelegatingAnalyzerWrapper.java:74) at org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:175) at org.apache.lucene.util.QueryBuilder.createFieldQuery(QueryBuilder.java:207) at org.apache.solr.parser.SolrQueryParserBase.newFieldQuery(SolrQueryParserBase.java:374) at org.apache.solr.parser.SolrQueryParserBase.getFieldQuery(SolrQueryParserBase.java:742) at org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:541) at org.apache.solr.parser.QueryParser.Term(QueryParser.java:299) at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:185) at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107) at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96) at org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:151) at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50) at org.apache.solr.search.QParser.getQuery(QParser.java:141) at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:148) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967) at org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:64) at org.apache.solr.core.SolrCore$5.call(SolrCore.java:1739) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)