Results 1 to 9 of 9

Thread: Can't find zmcontrol

  1. #1
    joel1943 is offline Junior Member
    Join Date
    May 2007
    Location
    Decatur(Atlanta), GA
    Posts
    7
    Rep Power
    8

    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

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  3. #3
    joel1943 is offline Junior Member
    Join Date
    May 2007
    Location
    Decatur(Atlanta), GA
    Posts
    7
    Rep Power
    8

    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.

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    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.

  5. #5
    joel1943 is offline Junior Member
    Join Date
    May 2007
    Location
    Decatur(Atlanta), GA
    Posts
    7
    Rep Power
    8

    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".

  6. #6
    joel1943 is offline Junior Member
    Join Date
    May 2007
    Location
    Decatur(Atlanta), GA
    Posts
    7
    Rep Power
    8

    Default

    I have just discovered the Ubuntu does not give access to root user. Admin has to be done with sudo.

  7. #7
    joel1943 is offline Junior Member
    Join Date
    May 2007
    Location
    Decatur(Atlanta), GA
    Posts
    7
    Rep Power
    8

    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.

  8. #8
    penguinknight is offline Intermediate Member
    Join Date
    Feb 2007
    Posts
    18
    Rep Power
    8

    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.

  9. #9
    Nox
    Nox is offline Active Member
    Join Date
    Jul 2008
    Location
    Michigan, USA
    Posts
    42
    Rep Power
    7

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. zmtrainsa - can't find site rules
    By reza225 in forum Administrators
    Replies: 9
    Last Post: 07-09-2007, 12:19 PM
  2. Domain Admin Error: Permission Denied
    By shanson in forum Administrators
    Replies: 3
    Last Post: 05-29-2007, 05:48 AM
  3. How to find bounced email
    By Stew in forum Administrators
    Replies: 4
    Last Post: 11-06-2006, 09:30 AM
  4. Replies: 3
    Last Post: 10-15-2006, 08:54 AM
  5. I just test the 3.2_M2 find a bug
    By crossany in forum Administrators
    Replies: 2
    Last Post: 07-25-2006, 08:07 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
  •