| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
03-12-2009, 01:57 PM
| | Special Member | |
Posts: 108
| | [SOLVED] OSE SearchRequest error Hi All!
Has been a while since posting here as Zimbra has been working so well!
I have a problem though. I recently restored Zimbra from backup following a corrupted memory chip problem.
Now when I try and search or use my saved searches I get the following error: Code: method: SearchRequest
msg: system failure: java.lang.NullPointerException
code: service.FAILURE
detail: soap:Receiver
trace: btpool0-8:1236891164754:1d4675fe49910ec6
request:
Body: {
SearchRequest: {
_jsns: "urn:zimbraMail",
limit: 50,
locale: {
_content: "en_US"
},
offset: 0,
query: "net",
sortBy: "dateDesc",
types: "conversation",
tz: {
id: "(GMT-08.00) Pacific Time (US & Canada)"
}
}
},
Header: {
context: {
_jsns: "urn:zimbra",
account: {
_content: "james@[domain].com",
by: "name"
},
authToken: "(removed)",
format: {
type: "js"
},
notify: {
seq: 90
},
sessionId: {
_content: 12,
id: 12
},
userAgent: {
name: "ZimbraWebClient - FF3.0 (Linux)",
version: "5.0.13_GA_2791.RHEL4"
}
}
} I've tried rebuilding the index and clearing the cache but to no avail. Any ideas where I should be looking?
Thanks!
Last edited by jimbo; 03-13-2009 at 09:02 AM..
| 
03-18-2009, 11:11 AM
| | Special Member | |
Posts: 108
| | bump
Anybody have an idea where I can start on this error?
Thanks!
jimbo | 
03-19-2009, 12:05 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,313
| | Have a look in the log files and see what errors are thrown. Did you also run zmfixperms after you restored the /opt/zimbra directory? Did you also run an upgrade of Zimbra after doing the restore?
Please update your forum profile with the output of the following:
__________________
Regards
Bill
| 
03-19-2009, 11:11 AM
| | Special Member | |
Posts: 108
| | Thanks for the reply!
I did run zmfixperms after the restoration as well as running an upgrade to the latest version but no joy.
After reading the wiki entry about the log files I modified the /opt/zimbra/conf/log4j.properties.in file with the following: Code: log4j.logger.zimbra.soap=DEBUG I don't see any errors thrown in /var/log/messages or /var/log/zimbra.log. Where should I be looking for these errors?
Thanks again for your help. It is MUCH appreciated!
I updated my profile to reflect my current version. | 
03-19-2009, 11:53 AM
| | Special Member | |
Posts: 108
| | OK, I found where the errors are being logged to (mailbox.log).
Here is the output when I try a search: Code: 2009-03-19 11:49:48,266 DEBUG [btpool0-7] [name=james@[domain].com;mid=2;ip=127.0.0.1;ua=ZimbraWebClient - FF3.0 (Win)/5.0.14_GA_2850.RHEL4;] soap - SOAP request:
{
"Body": {
"SearchRequest": {
"locale": {
"_content": "en_US"
},
"types": "conversation",
"limit": 50,
"query": "test",
"tz": {
"id": "(GMT-08.00) Pacific Time (US & Canada)"
},
"sortBy": "dateDesc",
"offset": 0,
"_jsns": "urn:zimbraMail"
}
},
"Header": {
"context": {
"userAgent": {
"name": "ZimbraWebClient - FF3.0 (Win)",
"version": "5.0.14_GA_2850.RHEL4"
},
"account": {
"_content": "james@[domain].com",
"by": "name"
},
"sessionId": {
"_content": 113,
"id": 113
},
"authToken": "(removed)",
"format": {
"type": "js"
},
"_jsns": "urn:zimbra"
}
},
"_jsns": "urn:zimbraSoap"
}
2009-03-19 11:49:48,266 INFO [btpool0-7] [name=james@[domain].com;mid=2;ip=127.0.0.1;ua=ZimbraWebClient - FF3.0 (Win)/5.0.14_GA_2850.RHEL4;] soap - SearchRequest
2009-03-19 11:49:48,267 WARN [btpool0-7] [name=james@[domain].com;mid=2;ip=127.0.0.1;ua=ZimbraWebClient - FF3.0 (Win)/5.0.14_GA_2850.RHEL4;] SoapEngine - handler exception
java.lang.NullPointerException
at com.zimbra.cs.index.ZimbraQuery$TextQuery.getQueryOperation(ZimbraQuery.java:1673)
at com.zimbra.cs.index.ZimbraQuery$ParseTree$ThingNode.getQueryOperation(ZimbraQuery.java:2196)
at com.zimbra.cs.index.ZimbraQuery.<init>(ZimbraQuery.java:2462)
at com.zimbra.cs.index.MailboxIndex.search(MailboxIndex.java:143)
at com.zimbra.cs.mailbox.Mailbox.search(Mailbox.java:3792)
at com.zimbra.cs.service.mail.Search.doSearch(Search.java:136)
at com.zimbra.cs.service.mail.Search.handle(Search.java:108)
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:429)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:286)
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:160)
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:269)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:190)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:716)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:350)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
2009-03-19 11:49:48,267 DEBUG [btpool0-7] [name=james@[domain].com;mid=2;ip=127.0.0.1;ua=ZimbraWebClient - FF3.0 (Win)/5.0.14_GA_2850.RHEL4;] soap - SOAP response:
{
"Body": {
"Fault": {
"Code": {
"Value": "soap:Receiver"
},
"Reason": {
"Text": "system failure: java.lang.NullPointerException"
},
"Detail": {
"Error": {
"Code": "service.FAILURE",
"Trace": "btpool0-7:1237488588267:9ebcc3bc074296cb",
"_jsns": "urn:zimbra"
}
}
}
},
"Header": {
"context": {
"sessionId": [{
"_content": "113",
"id": "113"
}],
"change": {
"token": 258525
},
"_jsns": "urn:zimbra"
}
},
"_jsns": "urn:zimbraSoap"
} Does this give any clues what is going on?
Thanks!
Last edited by jimbo; 03-19-2009 at 11:56 AM..
| 
03-27-2009, 12:02 PM
| | Special Member | |
Posts: 108
| | bump... any ideas? Anybody? | 
04-07-2009, 10:26 AM
| | Special Member | |
Posts: 108
| | I still have not solved this one. All searches return errors.
I'm thinking that I need to overwrite portions of the install that might be bad with files from a new install. Without of course damaging the existing data.
If it is the searches that failing, where is the code for such things stored. I'm assuming it's the soap server that is having the issue. | 
04-07-2009, 10:53 AM
| | Zimbra Consultant & Moderator | |
Posts: 20,313
| | Is this a new install or an upgrade? Which version of Zimbra is this and which operating system? Post the output of the following commands (run on the Zimbra server): Code: cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain mx
dig yourdomain any
host `hostname` <- use backticks not single quotes
__________________
Regards
Bill
| 
04-08-2009, 03:13 PM
| | Special Member | |
Posts: 108
| | This was an upgrade.
ZCS Version: Release 5.0.14_GA_2850.RHEL4_20090303132820 CentOS4 FOSS edition
/etc/hosts Code: root@srv1~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.254 mail.simple-reliable.com srv1.simple-reliable.com srv1 /etc/resolv.conf Code: root@srv1~# cat /etc/resolv.conf
nameserver 192.168.0.254 dig simple-reliable.com mx Code: ; <<>> DiG 9.2.4 <<>> simple-reliable.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40352
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;simple-reliable.com. IN MX
;; ANSWER SECTION:
simple-reliable.com. 10800 IN MX 10 mail.simple-reliable.com.
;; AUTHORITY SECTION:
simple-reliable.com. 10800 IN NS dns.simple-reliable.com.
;; ADDITIONAL SECTION:
mail.simple-reliable.com. 10800 IN A 192.168.0.254
;; Query time: 2 msec
;; SERVER: 192.168.0.254#53(192.168.0.254)
;; WHEN: Wed Apr 8 15:10:57 2009
;; MSG SIZE rcvd: 92 Code: root@srv1~# dig simple-reliable.com any
; <<>> DiG 9.2.4 <<>> simple-reliable.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61533
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;simple-reliable.com. IN ANY
;; ANSWER SECTION:
simple-reliable.com. 10800 IN MX 10 mail.simple-reliable.com.
simple-reliable.com. 10800 IN SOA simple-reliable.com. srv1.simple-reliable.com. 17 28800 7200 604800 10800
simple-reliable.com. 10800 IN NS dns.simple-reliable.com.
simple-reliable.com. 10800 IN A 192.168.0.254
;; ADDITIONAL SECTION:
mail.simple-reliable.com. 10800 IN A 192.168.0.254
;; Query time: 3 msec
;; SERVER: 192.168.0.254#53(192.168.0.254)
;; WHEN: Wed Apr 8 15:11:48 2009
;; MSG SIZE rcvd: 149 host `hostname` Code: srv1.simple-reliable.com has address 192.168.0.254 Thanks! | 
04-12-2009, 03:33 PM
| | | I*have the same problem Hi,
I*have the same problem.
I*migrated a server with 12 domains and 200GB of e-mail data and now search in the e-mails, addressbook and calendar does not work
Any suggestions from zimbra gurus ?
Best regards. | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |