Results 1 to 8 of 8

Thread: [SOLVED] su zimbra problem.

  1. #1
    networxpc is offline Junior Member
    Join Date
    Dec 2009
    Location
    Iowa
    Posts
    7
    Rep Power
    5

    Default [SOLVED] su zimbra problem.

    I have a small prob.
    Installed ZCS 6.0.3 on Fedora Core 11
    everything ok, exept this:

    [root@server named]# su zimbra
    trying to create local folder /opt/zimbra/.kde: Permission denied
    trying to create local folder /opt/zimbra/.kde: Permission denied

    Any ideas? I can su zimbra, and it works fine, just gives this complaint message
    I'm sure its permissions, but don't know if they have to be root or zimbra.

    Help please

  2. #2
    mickier is offline Loyal Member
    Join Date
    Dec 2007
    Posts
    84
    Rep Power
    7

    Default

    Couple of things - afaik zimbra user does not need a "home directory" which it looks like the system is trying to create. On my system, I created a home directory for the zimbra user so I could have a place to run some provisioning scripts to modify users.
    Looking at your error, somehow it's trying to create the home dir on /opt/zimbra which is probably not good imho.
    You could try something like usermod -d /home/zimbra zimbra but first, run "less /etc/passwd" and note where the home directory is currently set for user zimbra in case changing it makes the system angry... (it's the 2nd last field on the zimbra line - and it may be blank)
    Peace

  3. #3
    networxpc is offline Junior Member
    Join Date
    Dec 2009
    Location
    Iowa
    Posts
    7
    Rep Power
    5

    Default

    that didn't work.
    didn't like it ..

    did usermod -d /home/zimbra zimbra
    then su zimbra
    got bash-4.0$
    but changed back and no worse off than I was .
    Last edited by networxpc; 12-12-2009 at 09:25 PM.

  4. #4
    networxpc is offline Junior Member
    Join Date
    Dec 2009
    Location
    Iowa
    Posts
    7
    Rep Power
    5

    Default Solved

    I fixed by adding directory list /opt/zimbra/.kde/share
    now you su zimbra
    and it just changes users with no complaints.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by networxpc View Post
    now you su zimbra
    You should never use that command to become the Zimbra user it should always be:
    Code:
    su - zimbra
    You should always use the hyphen ('-') so the correct environment gets created otherwise you may encounter problems.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    networxpc is offline Junior Member
    Join Date
    Dec 2009
    Location
    Iowa
    Posts
    7
    Rep Power
    5

    Default

    Thanks for all the help guys. I am fairly new to this and I can't believe how fast I got responses. You'll be hearing from me again, I'm sure.

  7. #7
    carnold is offline Advanced Member
    Join Date
    Jul 2007
    Posts
    227
    Rep Power
    7

    Default

    We too are having this problem. 1st noticed on upgrade and then we we run su - zimbra get this:
    su - zimbra
    mkdir: cannot create directory `/opt/zimbra/.kde': Permission denied
    touch: cannot touch `/opt/zimbra/.kde/share/config/ksmserverrc': No such file or directory
    grep: /opt/zimbra/.kde/share/config/ksmserverrc: No such file or directory
    -bash: /opt/zimbra/.kde/share/config/ksmserverrc: No such file or directory
    -bash: /opt/zimbra/.kde/share/config/ksmserverrc: No such file or directory

    I infact checked for the .kde folder in /opt/zimbra and it does not exist (i have show hidden files enabled).

    We use SLES10 and gnome as desktop. How do we fix this?

  8. #8
    networxpc is offline Junior Member
    Join Date
    Dec 2009
    Location
    Iowa
    Posts
    7
    Rep Power
    5

    Default

    I think I just created all the required directories, changed permissions, and that took care of it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. zimbra install with perpetually broken logger/stats
    By jptech in forum Installation
    Replies: 8
    Last Post: 09-29-2008, 02:33 PM
  2. slapd message error
    By smoke in forum Administrators
    Replies: 7
    Last Post: 04-27-2008, 03:23 PM
  3. Replies: 12
    Last Post: 02-25-2008, 07:28 PM
  4. Big Fubar on 5 FOSS GA Upgrade
    By uxbod in forum Administrators
    Replies: 24
    Last Post: 01-21-2008, 03:37 AM
  5. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 03:48 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
  •