Results 1 to 3 of 3

Thread: Starting zimbra as su

  1. #1
    Join Date
    Sep 2005
    Location
    Calgary
    Posts
    208
    Rep Power
    10

    Default Starting zimbra as su

    I started zimbra as su or root and it seems to have broken a few things is there a way to mostly i get these errors now when i try to stop/start zimbra as the su zimbra user

    [zimbra@shoemasters tmp]$ zmcontrol stop
    Host shoemasters.com
    Stopping antispam...Done
    Stopping antivirus...Done
    Stopping ldap...Done
    Stopping logger...FAILED
    Error: no pid in '/opt/zimbra/logger/db/mysql.pid'
    /opt/zimbra/bin/zmlogswatchctl: line 52: kill: (20360) - No such process


    Stopping mailbox...Done
    Stopping mta...Done
    Stopping snmp...Done
    Stopping spell...Done
    [zimbra@shoemasters tmp]$ zmcontrol start
    Host shoemasters.com
    Starting ldap...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting mta...Done.
    Starting snmp...FAILED
    chmod: changing permissions of `/tmp/swatch.out': Operation not permitted


    Starting spell...Done.


    I was working on a complete remote backup and need to shut down zimbra do back then restart zimbra. I think that bacula can do this but is there commands i can run a other than the one that requires u to be su zimbra

    Also how do i fix what i have broken as starting and stopping zimbra as root can i just fix or erase the the tmp file ??

    What are the correct mods and perms for these files i have changed them to owner and group zimbra like below

    -r--r--r-- 1 root root 1136 Nov 29 04:44 crontab.zimbra
    -rw-r--r-- 1 zimbra zimbra 181084 Dec 11 14:10 gengraphs.out
    drwxr-xr-x 2 root root 4096 Dec 11 14:43 hsperfdata_root
    drwxr-xr-x 2 zimbra zimbra 4096 Dec 11 14:43 hsperfdata_zimbra
    -rw-r--r-- 1 zimbra zimbra 536 Dec 11 14:40 logprocess.out
    -rwxrwxrwx 1 zimbra zimbra 82 Dec 11 14:43 logswatch.out
    drwxrwxrwx 2 root root 4096 Nov 28 13:25 saveconfig.10256
    drwxrwxrwx 2 root root 4096 Nov 29 04:07 saveconfig.11749
    drwxrwxrwx 2 root root 4096 Nov 26 15:44 saveconfig.12254
    drwxrwxrwx 2 root root 4096 Nov 29 04:39 saveconfig.20176
    drwxrwxrwx 2 root root 4096 Nov 26 15:22 saveconfig.4022
    drwxrwxrwx 2 root root 4096 Nov 28 11:25 saveconfig.4064
    drwxrwxrwx 2 root root 4096 Nov 26 15:24 saveconfig.4069
    drwxrwxrwx 2 root root 4096 Nov 28 12:38 saveconfig.4950
    -rwxrwxrwx 1 zimbra zimbra 130 Dec 11 14:42 swatch.out
    -rw-rw-r-- 1 zimbra zimbra 0 Dec 11 14:43 zmcontrol.out.23664

    but i still get this error when stopping zimbra server but it seems to start ok

    Error: no pid in '/opt/zimbra/logger/db/mysql.pid'
    /opt/zimbra/bin/zmlogswatchctl: line 52: kill: (23866) - No such process

    How do i fix this please help
    Computer King

    http://www.computerking.ca

    Sales, Service, and Hosting
    Email, Data, and Web Packages
    Ask about web design specials

    Affiliates
    http://www.computerking.ca/pages/lin...affiliates.htm

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    First stop zimbra. Do a ps -ef and kill any Zimbra process/services. Then remove all the files in /tmp/* Try to start Zimbra as the zimbra user and report any errors here.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Sep 2005
    Location
    Calgary
    Posts
    208
    Rep Power
    10

    Default

    no errors to post

    thanks kevin killing everything seems to have done the trick
    Computer King

    http://www.computerking.ca

    Sales, Service, and Hosting
    Email, Data, and Web Packages
    Ask about web design specials

    Affiliates
    http://www.computerking.ca/pages/lin...affiliates.htm

Similar Threads

  1. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 04:43 AM
  2. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 10:12 AM
  3. Removing hostname from hosts file fixed prob.
    By lemur in forum Installation
    Replies: 10
    Last Post: 06-13-2007, 06:29 PM
  4. Logger
    By jholder in forum Installation
    Replies: 24
    Last Post: 03-31-2006, 10:50 AM
  5. Zimbra Processor Output
    By UltraFlux in forum Installation
    Replies: 3
    Last Post: 02-01-2006, 07:23 AM

Posting Permissions

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