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 05-24-2007, 07:56 AM
Junior Member
 
Posts: 7
Default Can't find zmcontrol

I have what appears to be a successful install of zimbra on ubuntu 6.06.
However, when I try to verify that all of the services are running I get a problem. The instructions say to su - zimbra. That rejects the admin password. zmcontrol status results in "command not found". Browse to https://zserver.test.com:7071 results in no connection.

Please help with ideas.

thanks
Reply With Quote
  #2 (permalink)  
Old 05-24-2007, 08:23 AM
Moderator
 
Posts: 6,237
Default

Sudo issues?
(if your logged in as root doing "su - zimbra" it shouldn't ask for a pass)
Do you have any super-user capable access on this box?

Last edited by mmorse; 07-09-2008 at 05:46 AM..
Reply With Quote
  #3 (permalink)  
Old 05-24-2007, 08:43 AM
Junior Member
 
Posts: 7
Default

I am a linux newbie.

I created a user at os installation with a password. If that isn't the root password then I don't know what the root password is.

That password I created works for sudo.

The greater issues seems to be that the system can't find zmcontrol.
Reply With Quote
  #4 (permalink)  
Old 05-24-2007, 08:56 AM
Moderator
 
Posts: 6,237
Default

Ok let's see how we can clarify this...

https://wiki.ubuntu.com/RootSudo

Last edited by mmorse; 07-09-2008 at 05:46 AM..
Reply With Quote
  #5 (permalink)  
Old 05-24-2007, 10:38 AM
Junior Member
 
Posts: 7
Default

I did the install as sudo user.

When I command su or root I am asked for a paswword. I put in the only password i have ever entered into the system and I get a message:"Sorry, authenication failure".
Reply With Quote
  #6 (permalink)  
Old 05-24-2007, 10:59 AM
Junior Member
 
Posts: 7
Default

I have just discovered the Ubuntu does not give access to root user. Admin has to be done with sudo.
Reply With Quote
  #7 (permalink)  
Old 05-24-2007, 11:01 AM
Junior Member
 
Posts: 7
Default

So that brings me back to the problem that when I run
sudo zmcontrol start or zmcontrol status I get a message which says:
"zmcontrol: command not found.

Any help greatly appreciated.
Reply With Quote
  #8 (permalink)  
Old 05-25-2007, 03:00 PM
Intermediate Member
 
Posts: 18
Default

Ubuntu does give access to the root user, if you choose to take it.
Linux is flexible and you will never be in a place where there is truly NOTHING you can do to stop what the OS is wanting to do. Don't get pushed around by your operating system!

To give the root user a password
sudo su
this will drop you into a root shell
passwd
this will prompt you to enter your new root password

Hence forth you can run:
su
and you can enter your new root password and have a root shell.

So to get to the zimbra user...

sudo su

-> you're now in a root shell


su - zimbra

-> you're now the zimbra user - it SHOULD NOT ask for a password because you are a super user (which means really cool). run all zimbra related commands from here.

zmcontrol start

Last edited by penguinknight; 05-25-2007 at 03:02 PM..
Reply With Quote
  #9 (permalink)  
Old 07-09-2008, 05:25 AM
Nox Nox is offline
Active Member
 
Posts: 42
Default

An alternative for best practices if you do not want to give the root account the ability to log in, you can run the command:

sudo -u zimbra zmcontrol

Basically run as root running as zimbra execute zmcontrol all rolled into one statement. The only problem you may run into when performing a sudo is that sometimes your $PATH statement may not be executed properly, so to run the same command if your working directory is /opt/zimbra/bin/ :

sudo -u zimbra ./zmcontrol

I know this thread is really old, but I found this thread using google, and it helped me in my learning Linux and Zimbra, except I didn't want to enable login as root. So I found the answer and posted it. Don't kill me for bumping.
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.