Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

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 10-06-2007, 10:02 AM
Loyal Member
 
Posts: 78
Default zmfixperms not working

I am trying to run zmfixperms.

su root
chown -R zimbra:zimbra /opt/zimbra/*
cd /opt/zimbra/libexec
./zmfixperms


Getting an error messages

chmod: changing permissions of `/opt/zimbra/libexec/zmpurgemessages': Operation not permitted
chmod: changing permissions of `/opt/zimbra/libexec/zmqaction': Operation not permitted
chmod: changing permissions of `/opt/zimbra/libexec/zmqstat': Operation not permitted
chmod: changing permissions of `/opt/zimbra/libexec/zmqueuelog': Operation not permitted
chmod: changing permissions of `/opt/zimbra/libexec/zmrc': Operation not permitted
chmod: changing permissions of `/opt/zimbra/libexec/zmrcd': Operation not permitted
chmod: changing permissions of `/opt/zimbra/libexec/zmroll_catalina': Operation not permitted

Group id for zimbra is 500
Group id for postfix is 501
user id for zimbra is 500
user id of postfix is 501

Can anyone give some input on how to run zmfixperms?
Reply With Quote
  #2 (permalink)  
Old 10-15-2007, 10:51 AM
Junior Member
 
Posts: 5
Default

No idea... I am having the same error on zmfixperms on a 4.5.6 install with Fedora 5. I currently have 4.5.6 working on Fedora 4 but am trying to test a move to a newer server with Zero luck so far.

I do have zimbra installed, services are up, but I had an error checking the queue...

Error msg with queue is, Message: system failure: exception during auth, which led me to Mail Queue Monitoring - Zimbra :: Wiki

The solution for troubleshooting the queue is to run zmfixperms, but that is not working correctly yet > When run as the user zimbra it just comes up with permission problems "Operation not permitted" or "Permission denied". When run as root, it errors with cannot access *perdition-1.17 - No such file or directory. The zmfixperms file is looking for perdition-1.17, but only 1.17.1 exists.

I am assuming zmfixperms needs to be run as root? If so, maybe there is an error in the zmfixperms script in the 4.5.6 FC5 build?

Andy
Reply With Quote
  #3 (permalink)  
Old 10-15-2007, 10:59 AM
Former Zimbran
 
Posts: 5,606
Default

Quote:
Originally Posted by andreas_kc View Post
No idea... I am having the same error on zmfixperms on a 4.5.6 install with Fedora 5. I currently have 4.5.6 working on Fedora 4 but am trying to test a move to a newer server with Zero luck so far.

I do have zimbra installed, services are up, but I had an error checking the queue...

Error msg with queue is, Message: system failure: exception during auth, which led me to Mail Queue Monitoring - Zimbra :: Wiki

The solution for troubleshooting the queue is to run zmfixperms, but that is not working correctly yet > When run as the user zimbra it just comes up with permission problems "Operation not permitted" or "Permission denied". When run as root, it errors with cannot access *perdition-1.17 - No such file or directory. The zmfixperms file is looking for perdition-1.17, but only 1.17.1 exists.

I am assuming zmfixperms needs to be run as root? If so, maybe there is an error in the zmfixperms script in the 4.5.6 FC5 build?

Andy
Thats bug:
Bug 18599 - zmfixperms does not fix permissions for perdition

Should be fixed in 457/8
Reply With Quote
  #4 (permalink)  
Old 10-15-2007, 11:25 AM
Junior Member
 
Posts: 5
Default

Well, I finally got my install fixed...

Fixing the zmfixperms file did not solve the error in the message queue and I was unable to redo the sshauth keys. After repeated attempts at installs/uninstalls there was a bunch of junk in hidden folders at /opt/zimbra/.* I assumed the uninstaller would remove this stuff when removing /opt/zimbra

[root@zmail opt]# rm -R zimbra
rm: descend into directory `zimbra'? yes
rm: descend into directory `zimbra/.ssh'? yes
rm: remove regular file `zimbra/.ssh/zimbra_identity.pub'? yes
rm: remove regular file `zimbra/.ssh/authorized_keys'? yes
rm: remove regular file `zimbra/.ssh/zimbra_identity'? yes
rm: remove directory `zimbra/.ssh'? yes
rm: remove regular file `zimbra/.install_history'? yes
rm: remove regular file `zimbra/.bash_history'? yes
rm: descend into directory `zimbra/.saveconfig'? yes
rm: remove regular file `zimbra/.saveconfig/ca.key'? yes
rm: remove regular file `zimbra/.saveconfig/slapd.key'? y
rm: remove regular file `zimbra/.saveconfig/cacerts'? y
rm: remove regular file `zimbra/.saveconfig/keystore'? y
rm: remove regular file `zimbra/.saveconfig/smtpd.crt'? y
rm: remove regular file `zimbra/.saveconfig/smtpd.key'? y
rm: remove regular file `zimbra/.saveconfig/config.save'? y
rm: remove regular file `zimbra/.saveconfig/perdition.key'? y
rm: remove regular file `zimbra/.saveconfig/perdition.pem'? y
rm: remove regular file `zimbra/.saveconfig/ca.pem'? y
rm: remove regular file `zimbra/.saveconfig/slapd.crt'? y
rm: remove directory `zimbra/.saveconfig'? y
rm: remove directory `zimbra'? y

Now the install worked correctly!
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.