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 07-15-2007, 07:58 PM
Junior Member
 
Posts: 9
Question imapproxy requiring root password to start?

Server: OS X 10.4.9 server
Zimbra: Updated to 4.5.6. 1044

After backing up and updating to 4.5.6, when the config.pl was starting the services, it stopped on 'starting imapproxyPassword: ' and was asking for the root pw like it's using sudo.

I entered it and it just kept asking for the pw, so I hit return thinking that it would at least kick me out an error message and I got the standard sudo warning about passwords.

And then it kept running the config.pl and said all was well. Except imapproxy won't start.

I've reinstalled and rerun the config script, and tried everything I can think of.

Any thoughts?
Reply With Quote
  #2 (permalink)  
Old 07-15-2007, 08:50 PM
Junior Member
 
Posts: 9
Default

Here's what it looks like when I run zmcontrol start:

Code:
server:/Users/admin zimbra$ zmcontrol start 
Host server.purebrand.com
        Starting ldap...Done.
        Starting logger...Done.
        Starting mailbox...Done.
        Starting imapproxy...Password:
Password:
Password:
Password:
FAILED
Starting imap4

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Starting imap4s

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Starting pop3

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Starting pop3s

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

imap4 is not running
imap4s is not running
pop3 is not running
pop3s is not running


        Starting antispam...Done.
        Starting antivirus...Done.
        Starting snmp...Done.
        Starting spell...Done.
        Starting mta...Done.
server:/Users/admin zimbra$
Reply With Quote
  #3 (permalink)  
Old 07-15-2007, 10:48 PM
Zimbra Employee
 
Posts: 604
Default

Looks like the perdition entry didn't get added to /etc/sudoers.

As root run visudo and add a line like this

Code:
%zimbra ALL=NOPASSWD:/opt/zimbra/perdition/sbin/perdition
With this entry added to /etc/suoders you should not get prompted for a passwd when running zmsetup.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!

Last edited by brian; 07-15-2007 at 10:51 PM..
Reply With Quote
  #4 (permalink)  
Old 07-16-2007, 09:05 AM
Junior Member
 
Posts: 9
Default

I just went to do that and that line is already in /etc/sudoers.

Hmmm... I turned off imapproxy for now and users are able to connect via port 7143 until we get this figured out.

Doing a "find /opt/zimbra/ -nogroup" gets me a list of perdition files that have a gid of 503... which isn't a valid gid. I may have to reinstall the system, something is awry.

Thanks for the help, let me know if you think of anything else I should try before I rip everything apart.
Reply With Quote
  #5 (permalink)  
Old 07-16-2007, 10:55 AM
Zimbra Employee
 
Posts: 604
Default

Running /opt/zimbra/libexec/zmfixperms should resolve the uid=503 issue.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #6 (permalink)  
Old 07-18-2007, 10:31 PM
Outstanding Member
 
Posts: 717
Default

There is a problem with zmfixperms:

# NOT /opt/zimbra/store, /opt/zimbra/backup takes forever
chown -R zimbra:zimbra /opt/zimbra/a* /opt/zimbra/[c-ot-z]* /opt/zimbra/s[a-su-z]* /opt/zimbra/perdition-1.17


zimbra@rumpy:~$ ls -l|grep perd
lrwxrwxrwx 1 root root 28 Jul 19 00:06 perdition -> /opt/zimbra/perdition-1.17.1
drwxr-xr-x 3 zimbra zimbra 4096 Jul 19 00:06 perdition-1.17
drwxr-xr-x 9 503 503 4096 Jul 19 00:06 perdition-1.17.1


Looks like the zmfixperms script wasn't updated to reflect the new minor version number of perdition.

Last edited by Krishopper; 07-18-2007 at 10:37 PM..
Reply With Quote
  #7 (permalink)  
Old 07-18-2007, 10:46 PM
Former Zimbran
 
Posts: 5,606
Default

nice catch
Can you file a bug?
Reply With Quote
  #8 (permalink)  
Old 07-18-2007, 11:27 PM
Zimbra Employee
 
Posts: 604
Default

This was fixed and will be in 4.5.7. In the meantime if you run the following as root it will resolve the problem.

Code:
rm -f /opt/zimbra/perdition
ln -s /opt/zimbra/perdition-1.17.1 /opt/zimbra/perdition
chown -R /opt/zimbra/perdition-1.17.1
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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.