Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

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.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-30-2006, 03:00 PM
Starter Member
 
Posts: 2
Angry spell service failure - zmspellctl status fails

I recently noticed that the spell service on our zimbra install is not running. I read up and tried running "sh -x zmspellctl status" in the /opt/zimbra/bin folder but I am getting this error response:

[zimbra@mail bin]$ sh -x zmspellctl status
+ BASE=/opt/zimbra
+ SCRIPTS=zmapachectl
+ case "$1" in
+ STATUS=0
+ for i in '$SCRIPTS'
+ /opt/zimbra/bin/zmapachectl status
/opt/zimbra/bin/zmapachectl: line 51: kill: (9802) - No such process
+ R=1
+ '[' 1 -ne 0 ']'
+ STATUS=1
+ exit 1

I tried running "sh -x zmapachectl status" and it gave the same error for kill 9802 no such process.

Any insight as to what is happening here or where to further my troubleshooting?

Thanks,
Zach
Reply With Quote
  #2 (permalink)  
Old 01-05-2007, 02:39 PM
Zimbra Employee
 
Posts: 515
Default

what's the output of this:
Code:
ps 9802
cat /opt/zimbra/log/httpd.pid 
cat /opt/zimbra/log/httpd_error.log
try this:
Code:
rm /opt/zimbra/log/httpd.pid
sh-x ~/bin/zmspellctl start
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
  #3 (permalink)  
Old 01-05-2007, 02:49 PM
Starter Member
 
Posts: 2
Default

Thanks for the reply. I did the first section:

Code:
# ps 9802
  PID TTY      STAT   TIME COMMAND
# cat /opt/zimbra/log/httpd.pid 
9802
# cat /opt/zimbra/log/httpd_error.log 
[Fri Dec 22 14:39:42 2006] [warn] pid file /opt/zimbra/log/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 22 14:39:42 2006] [error] (13)Permission denied: could not create /opt/zimbra/log/httpd.pid
[Fri Dec 22 14:39:42 2006] [error] httpd: could not log pid to file /opt/zimbra/log/httpd.pid
[Tue Jan 02 09:16:51 2007] [warn] pid file /opt/zimbra/log/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Jan 02 09:16:51 2007] [error] (13)Permission denied: could not create /opt/zimbra/log/httpd.pid
[Tue Jan 02 09:16:51 2007] [error] httpd: could not log pid to file /opt/zimbra/log/httpd.pid
And then rm'ed the httpd.pid and then:

Code:
$ sh -x zmspellctl start
+ BASE=/opt/zimbra
+ SCRIPTS=zmapachectl
+ case "$1" in
+ for i in '$SCRIPTS'
+ /opt/zimbra/bin/zmapachectl start
Now everything works! Thank you!! What was the issue?
Reply With Quote
  #4 (permalink)  
Old 01-18-2007, 03:07 PM
Zimbra Employee
 
Posts: 515
Default

Quote:
>
[Fri Dec 22 14:39:42 2006] [warn] pid file /opt/zimbra/log/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Dec 22 14:39:42 2006] [error] (13)Permission denied: could not create /opt/zimbra/log/httpd.pid
[Fri Dec 22 14:39:42 2006] [error] httpd: could not log pid to file /opt/zimbra/log/httpd.pid
>
maybe the zimbra user didn't have write access to the pid file. did you run zmcontrol or zmspellctl before as root?
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.