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 11-29-2007, 05:26 AM
Starter Member
 
Posts: 2
Default Insecure $ENV{PATH} at Ubuntu 6.06

Hi,

I'm having problems while installing Zimbra 4.5.9 at an Ubuntu 6.06 machine.
Well, after running the install.sh script I recive a message during ldap start up.

Quote:
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.14512]
Saving config in /opt/zimbra/config.14512...Done
The system will be modified - continue? [No] yes
Operations logged to /tmp/zmsetup.log.14512
Setting local config values...Done
Setting up CA...Done
Creating SSL certificate...Done
Initializing ldap...Insecure $ENV{PATH} while running setuid at /opt/zimbra/libexec/zmconfigure line 22.
Failed to start slapd. Attempting debug start to determine error.

FAILED (1)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.log.14512
I belive it's a problem related to perl.

my /etc/login.defs

Quote:
ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
ENV_PATH PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
I do not edited that.

Thanks,

Cunha
Reply With Quote
  #2 (permalink)  
Old 11-29-2007, 12:41 PM
Former Zimbran
 
Posts: 5,606
Default

Please post
/tmp/zmsetup.log.14512
Reply With Quote
  #3 (permalink)  
Old 11-30-2007, 11:47 AM
Starter Member
 
Posts: 2
Default

My /tmp/zmsetup.log.14512

Quote:
Getting installed packages
checking isEnabled zimbra-core
zimbra-core not in enabled cache
enabled packages
Newinstall enabling all installed packages
Enabling zimbra-core
Enabling zimbra-ldap
Enabling zimbra-store
Enabling zimbra-mta
Enabling zimbra-snmp
Enabling zimbra-logger
Enabling zimbra-apache
Enabling zimbra-spell
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'
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled


DNS ERROR resolving MX for ubuntu.diginetbarra.com.br
It is suggested that the domain name have an MX record configured in DNS
checking isEnabled zimbra-mta
zimbra-mta is enabled
MX: ubuntu.diginetbarra.com.br (192.168.4.25)

Interface: 192.168.4.25
Interface: 127.0.0.1
Done
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
Checking for port conflicts
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-logger
zimbra-logger is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
Global config attribute retrieved from ldap: zimbraSpamIsSpamAccount=
Global config attribute retrieved from ldap: zimbraSpamIsNotSpamAccount=
Global config attribute retrieved from ldap: zimbraNotebookAccount=
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-snmp
zimbra-snmp is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-snmp
zimbra-snmp is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
Saving config in /opt/zimbra/config.14512...
Done
Operations logged to /tmp/zmsetup.log.14512
Setting local config values...
Setting local config zimbra_server_hostname to ubuntu.diginetbarra.com.br
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_server_hostname='ubuntu.diginetbarra.com.br '
Setting local config ldap_master_url to ldap://ubuntu.diginetbarra.com.br:389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_master_url='ldap://ubuntu.diginetbarra.com.br:389'
Setting local config ldap_url to ldap://ubuntu.diginetbarra.com.br:389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_url='ldap://ubuntu.diginetbarra.com.br:389'
Setting local config ldap_port to 389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_port='389'
Setting local config ldap_host to ubuntu.diginetbarra.com.br
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_host='ubuntu.diginetbarra.com.br'
Setting local config zimbra_uid to 1001
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_uid='1001'
Setting local config zimbra_gid to 1001
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_gid='1001'
Setting local config zimbra_user to zimbra
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_user='zimbra'
Setting local config tomcat_truststore_password to changeit
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_truststore_password='changeit'
Setting local config tomcat_keystore_password to MqS8V_NvK
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_keystore_password='MqS8V_NvK'
Setting local config av_notify_user to admin@diginetbarra.com.br
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e av_notify_user='admin@diginetbarra.com.br'
Setting local config ssl_allow_untrusted_certs to TRUE
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ssl_allow_untrusted_certs='TRUE'
Setting local config mysql_memory_percent to 30
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e mysql_memory_percent='30'
Setting local config tomcat_java_heap_memory_percent to 40
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_java_heap_memory_percent='40'
Done
Setting up CA...
*** Running as zimbra user: cd /opt/zimbra; zmcreateca
** Creating CA private key

Generating a 1024 bit RSA private key
........................................++++++
..............++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
-----
** Creating CA cert

Signature ok
subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
Getting Private key
unable to write 'random state'
Done
Creating SSL certificate...
checking isEnabled zimbra-store
zimbra-store is enabled
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert
** Importing CA

Certificate was added to keystore
** Creating keystore

** Creating server cert request

Generating a 1024 bit RSA private key
........................++++++
...........................++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
-----
** Signing cert request

Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number:
11:96:34:06:61
Validity
Not Before: Nov 29 12:51:04 2007 GMT
Not After : Nov 28 12:51:04 2008 GMT
Subject:
countryName = US
stateOrProvinceName = N/A
organizationName = Zimbra Collaboration Suite
commonName = ubuntu.diginetbarra.com.br
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
7C:03:F1:51:F1:E0:0E:BE:9C:9A:95:A0:70:6D:2D:B5:33 :E6:239
X509v3 Authority Key Identifier:
DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
serial:F1:EE:4F:43:94:49:7D:E9

X509v3 Key Usage:
Digital Signature, Non Repudiation, Key Encipherment
Certificate is to be certified until Nov 28 12:51:04 2008 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
unable to write 'random state'
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=ubuntu.diginetbarra.com.br
Getting CA Private Key
unable to write 'random state'
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert
** Importing CA

Certificate was added to keystore
** Creating keystore

** Creating server cert request

Generating a 1024 bit RSA private key
.................................................. ....++++++
.............++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
-----
** Signing cert request

Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number:
11:96:34:06:65
Validity
Not Before: Nov 29 12:51:08 2007 GMT
Not After : Nov 28 12:51:08 2008 GMT
Subject:
countryName = US
stateOrProvinceName = N/A
organizationName = Zimbra Collaboration Suite
commonName = ubuntu.diginetbarra.com.br
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
8B:F7:1F:32:3B:56:7E:C6:F7:EF:FD:12:03:5E:FE:14:06 :C2:83:3E
X509v3 Authority Key Identifier:
DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
serial:F1:EE:4F:43:94:49:7D:E9

X509v3 Key Usage:
Digital Signature, Non Repudiation, Key Encipherment
Certificate is to be certified until Nov 28 12:51:08 2008 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
unable to write 'random state'
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=ubuntu.diginetbarra.com.br
Getting CA Private Key
unable to write 'random state'
Done
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
FAILED (1)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.log.14512

Last edited by Cunha; 12-03-2007 at 05:35 AM..
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.