| 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.
|  | | 
01-18-2008, 05:17 AM
| | | SLES10: Problem upgrading from Zimbra NE 5.0 to NE 5.0.1 hi, i have a big problem with upgrading: Code: Operations logged to /tmp/zmsetup.01182008-130512.log
Getting installed packages
Getting local config zimbra_server_hostname
Getting local config ldap_url
zimbra_server_hostname contained in ldap_url checking ldap status
Checking ldap status.
*** Running as zimbra user: /opt/zimbra/bin/ldap status
Starting ldap...
*** Running as zimbra user: /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data
*** Running as zimbra user: /opt/zimbra/libexec/zmldapapplyldif
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapapplyldif line 133.
*** Running as zimbra user: /opt/zimbra/bin/ldap status
*** Running as zimbra user: /opt/zimbra/bin/ldap start
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
Failed to start slapd. Attempting debug start to determine error.
failed with exit code 256.
checking isEnabled zimbra-core
zimbra-core not in enabled cache
enabled packages
zimbra_server_hostname contained in ldap_url checking ldap status
Checking ldap status.
*** Running as zimbra user: /opt/zimbra/bin/ldap status
Starting ldap...
*** Running as zimbra user: /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data
*** Running as zimbra user: /opt/zimbra/libexec/zmldapapplyldif
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapapplyldif line 133.
*** Running as zimbra user: /opt/zimbra/bin/ldap status
*** Running as zimbra user: /opt/zimbra/bin/ldap start
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
Failed to start slapd. Attempting debug start to determine error.
failed with exit code 256.
Setting defaults...
Setting local config zimbra_java_home to /opt/zimbra/java
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'
2> /dev/null
checking isEnabled zimbra-cluster
zimbra-cluster not in enabled cache
enabled packages
zimbra_server_hostname contained in ldap_url checking ldap status
Checking ldap status.
*** Running as zimbra user: /opt/zimbra/bin/ldap status
Starting ldap...
*** Running as zimbra user: /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data
*** Running as zimbra user: /opt/zimbra/libexec/zmldapapplyldif
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapapplyldif line 133.
*** Running as zimbra user: /opt/zimbra/bin/ldap status
*** Running as zimbra user: /opt/zimbra/bin/ldap start
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
Failed to start slapd. Attempting debug start to determine error.
failed with exit code 256.
checking isEnabled zimbra-store
zimbra-store not in enabled cache
enabled packages
zimbra_server_hostname contained in ldap_url checking ldap status
Checking ldap status.
*** Running as zimbra user: /opt/zimbra/bin/ldap status
Starting ldap...
*** Running as zimbra user: /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data
*** Running as zimbra user: /opt/zimbra/libexec/zmldapapplyldif
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapapplyldif line 133.
*** Running as zimbra user: /opt/zimbra/bin/ldap status
*** Running as zimbra user: /opt/zimbra/bin/ldap start
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
sudo: /etc/sudoers is mode 0640, should be 0440
Failed to start slapd. Attempting debug start to determine error.
failed with exit code 256. the upgrade process never ends, because of these LDAP errors.
I'm astonished that the upgrade fails because: - my setup has ONLY two accounts;
- my setup is fresh (done last week);
- SLES 10 is in the list of SUPPORTED platforms
so, I would really know if you test all Zimbra versions on a SLES10 server or not........ | 
01-18-2008, 10:34 AM
| | Zimbra Consultant & Moderator | |
Posts: 11,508
| | Quote:
Originally Posted by trapanator so, I would really know if you test all Zimbra versions on a SLES10 server or not........ | Is that meant to be a serious question or is it rhetorical? Of course we test Zimbra on the supported platforms and we do extensive QA on it. Did you search the forums or wiki for an answer? Try searching the wiki for 'sudoers' and see if that fixes your problem.
__________________
Regards
Bill
| 
01-18-2008, 10:42 AM
| | | Quote:
Originally Posted by phoenix Is that meant to be a serious question or is it rhetorical? Of course we test Zimbra on the supported platforms and we do extensive QA on it. Did you search the forums or wiki for an answer? Try searching the wiki for 'sudoers' and see if that fixes your problem. | Two yours ago I found the fix to the problem, by modifying "zmsetup.pl" scripts, thanks to the wiki page you mentioned.
But, I would like to know why do you provide SLES10 packages without this modification, that would be uninstallable on these systems? | 
02-02-2008, 04:35 AM
| | | same Issue on a fresh install on SLES 10 zcs network 5.0.1 i want install a second Mailbox Server on SLES10 SP1. after installation i become following errors:
-snip-
Starting mailbox...FAILED
Sat Feb 2 13:31:46 2008 Service mta is not enabled. Skipping amavis
Sat Feb 2 13:31:46 2008 Service antivirus is not enabled. Skipping antivirus
Sat Feb 2 13:31:46 2008 Service antispam is not enabled. Skipping antispam
Sat Feb 2 13:31:46 2008 Service archiving is not enabled. Skipping archiving
Sat Feb 2 13:31:46 2008 Service mta is not enabled. Skipping mta
Sat Feb 2 13:31:46 2008 Service mta is not enabled. Skipping sasl
Sat Feb 2 13:31:46 2008 Service imapproxy is not enabled. Skipping imapproxy
Sat Feb 2 13:31:46 2008 Rewrote: /opt/zimbra/mailboxd/etc/jetty.properties
Sat Feb 2 13:31:46 2008 Rewrote: /opt/zimbra/conf/log4j.properties
Sat Feb 2 13:31:46 2008 Rewrote: /opt/zimbra/mailboxd/etc/jetty.xml
sudo: /etc/sudoers is mode 0640, should be 0440
mailboxed failed to start.
Starting snmp...Done.
Starting spell...Done.
Starting stats...Done.
zimbra@server2:/root> zmcontrol status
Host lxpop2e.dmz.as29145.net
mailbox Stopped
zmmailboxdctl is not running
snmp Running
spell Running
stats Running
zimbra@server2:/root> zmmailboxdctl start
sudo: /etc/sudoers is mode 0640, should be 0440
mailboxed failed to start.
-snip-
i did not found any solution in the wiki. can you tell me the link to solve this problem
Thank you | 
02-02-2008, 12:33 PM
| | | The way I have install Zimbra on Suse (SLES) 10.1 was to do the following:
-Run the install.sh with the -s option, which is Software only installation.
-vi /opt/zimbra/libexec/zmsetup.pl and look for the line that contains "if ($platform =~ /SuSE|openSUSE|SLES/) { `chmod 640 /etc/sudoers`;}" and change is the 640 to 440.
-Then run zmsetup.pl
I also found that I had to do the same with upgrading the software.
Using this method I have been able to setup a multi-server environment using SLES 10.1 for two LDAPs, two MTAs, and three mailbox servers. | 
02-02-2008, 01:13 PM
| | Zimbra Employee | |
Posts: 393
| | The problem is that SuSE isn't consistent in how it wants /etc/sudoers treated. Our default for all other OSes is 440. We don't run into problems on our installs with setting it to 640, so something is different with your install that is causing that to be problematic. In fact in our installs, setting it to 440 is what causes problems on SuSE.
--Quanah
__________________
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
02-13-2008, 03:50 PM
| | | Quote:
Originally Posted by drhughes The way I have install Zimbra on Suse (SLES) 10.1 was to do the following:
-Run the install.sh with the -s option, which is Software only installation.
-vi /opt/zimbra/libexec/zmsetup.pl and look for the line that contains "if ($platform =~ /SuSE|openSUSE|SLES/) { `chmod 640 /etc/sudoers`;}" and change is the 640 to 440.
-Then run zmsetup.pl
....
. | Same exact problem on SLES 10.1, and this fixed the problem. Thank you, Thank you Thank you!!!! | 
02-14-2008, 03:40 PM
| | | Thanks for this post i was having the same issues of problems of "Initializing LDAP (29440)" Errors
and for some reason installing via ./install.sh -s and then running the script manually worked.
Thanks for the pointer I was going  
Anyone know why this needs to be done?? | 
02-14-2008, 03:53 PM
| | Zimbra Employee | |
Posts: 393
| | Quote:
Originally Posted by cam34 Anyone know why this needs to be done?? | Because SuSE can't make up its mind about what they want to require the permissions to be on /etc/sudoers.
--Quanah
__________________
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
02-14-2008, 04:44 PM
| | | Quote:
Originally Posted by quanah Because SuSE can't make up its mind about what they want to require the permissions to be on /etc/sudoers.
--Quanah | Sorry I was referring to the "./install.sh -s and then running the script manually" part, or is that the same thing?
I tried to install 3 times by ./install.sh - but failed each time - when i did ./install.sh -s it worked first time.... | | Thread Tools | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |