Results 1 to 3 of 3

Thread: Insecure $ENV{PATH} at Ubuntu 6.06

  1. #1
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    7

    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.

    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

    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

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Please post
    /tmp/zmsetup.log.14512

  3. #3
    Join Date
    Nov 2007
    Posts
    2
    Rep Power
    7

    Default

    My /tmp/zmsetup.log.14512

    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.

Similar Threads

  1. Replies: 1
    Last Post: 11-13-2007, 03:27 AM
  2. Replies: 2
    Last Post: 08-12-2007, 09:30 PM
  3. Ubuntu 6.06 Install Problems
    By swu in forum Installation
    Replies: 8
    Last Post: 06-29-2007, 09:18 AM
  4. Ubuntu 6.06 LTS server install problems
    By Kavey1978 in forum Installation
    Replies: 17
    Last Post: 05-30-2007, 01:49 AM
  5. Problem Upgrading to 4.5.5 on Ubuntu 6.06 LTS
    By carlo in forum Installation
    Replies: 1
    Last Post: 05-14-2007, 11:11 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
  •