Results 1 to 4 of 4

Thread: spell service failure - zmspellctl status fails

  1. #1
    Join Date
    Oct 2006
    Posts
    2
    Rep Power
    9

    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

  2. #2
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    11

    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

  3. #3
    Join Date
    Oct 2006
    Posts
    2
    Rep Power
    9

    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?

  4. #4
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    11

    Default

    >
    [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?

Similar Threads

  1. mysql.server is not running
    By Oswald-Kolle in forum Installation
    Replies: 27
    Last Post: 05-01-2007, 09:28 AM
  2. Trouble sending mail from Outlook
    By czaveri in forum Users
    Replies: 15
    Last Post: 07-24-2006, 12:01 PM
  3. Upgrade Trouble woooo
    By RobertW in forum Installation
    Replies: 3
    Last Post: 06-15-2006, 06:24 PM
  4. Tomcat hanging
    By Morg0 in forum Administrators
    Replies: 42
    Last Post: 04-19-2006, 09:06 PM
  5. The mailbox and mta dies in FC4 GA version
    By meikka in forum Installation
    Replies: 72
    Last Post: 03-16-2006, 05:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •