Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33

Thread: Zimbra stoped working overnight

  1. #21
    vlskip is offline Active Member
    Join Date
    Feb 2006
    Posts
    29
    Rep Power
    9

    Default

    No and No..


    how can i provide you with the ldap debug ? log files you need....

    still new to linux here....


    will try the -d thinng you mentionned early.

  2. #22
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    edit the ldap script and add -d to the start line. I think that's covered in the forums, but I need to make it easier - bug 6359 created for this.

  3. #23
    vlskip is offline Active Member
    Join Date
    Feb 2006
    Posts
    29
    Rep Power
    9

    Default

    OK i added the -d

    Going into a metting so didnt have time to search the forums so i placed where i tought it looked obvious.

    with this file after a restart i recreated the problem two times already.

    here's the file :


    let me know if you need anything... i can even give you vnc access.



    PID=""
    PIDFILE="/opt/zimbra/openldap/var/run/slapd.pid"

    mkdir -p "/opt/zimbra/openldap/var/run/"

    getpid()
    {
    if [ -f $PIDFILE ]; then
    PID=`cat $PIDFILE`
    fi
    }

    checkrunning()
    {
    getpid
    if [ "x$PID" = "x" ]; then
    RUNNING=0
    else
    kill -0 $PID
    if [ $? != 0 ]; then
    PID=""
    RUNNING=0
    else
    RUNNING=1
    fi
    fi
    }

    start()
    {
    checkrunning
    if [ $RUNNING = 0 ]; then
    # Run db_recover on startup, in case of power failure.
    if [ -x /opt/zimbra/sleepycat/bin/db_recover ]; then
    /opt/zimbra/sleepycat/bin/db_recover -h /opt/zimbra/openldap-data -v
    fi
    sudo /opt/zimbra/openldap/libexec/slapd -l -d LOCAL0 -4 -u zimbra -h "ldaps:// ldap://:389/" \
    -f /opt/zimbra/conf/slapd.conf
    sleep 2
    getpid
    if [ "x$PID" = "x" ]; then
    echo "ERROR - failed to start slapd"
    echo ""
    exit 1
    else
    echo "Started slapd: pid $PID"
    fi
    else
    echo "slapd already running: pid $PID"
    exit 1
    fi
    }

    stop()
    {
    checkrunning
    if [ $RUNNING = 0 ]; then
    echo "slapd not running"
    exit 0
    else
    kill -TERM $PID
    fi
    }

    status()
    {
    checkrunning
    if [ $RUNNING = 0 ]; then
    exit 1
    else
    echo "slapd running pid: $PID"
    exit 0
    fi
    }

    case "$1" in
    start)
    start
    ;;
    stop)
    stop
    ;;
    status)
    status
    ;;
    *)
    echo "Usage: $0 start|stop|status"
    exit 1
    ;;
    esac

  4. #24
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    sudo /opt/zimbra/openldap/libexec/slapd -l -d LOCAL0

    Swap the -d and -l and add a '1':
    sudo /opt/zimbra/openldap/libexec/slapd -d 1 -l LOCAL0

    THen restart ldap and recreate your problem. Logs should be in /var/log/zimbra.log.

  5. #25
    vlskip is offline Active Member
    Join Date
    Feb 2006
    Posts
    29
    Rep Power
    9

    Default

    sudo /opt/zimbra/openldap/libexec/slapd -d 1 -l LOCAL0
    did not allw zimbra ldap to start

    sudo /opt/zimbra/openldap/libexec/slapd -l -d 1 LOCAL0
    wprked but dont know if it was what you need


    here's zimbra .log after a clean reboot with :
    sudo /opt/zimbra/openldap/libexec/slapd -l -d 1 LOCAL0

    Mar 7 14:47:09 scvmail2 zimbramon[2277]: 2277:info: Starting services
    Mar 7 14:47:14 scvmail2 zimbramon[2277]: 2277:info: Starting antispam
    Mar 7 14:47:24 scvmail2 zimbramon[2277]: 2277:info: Starting antivirus
    Mar 7 14:47:26 scvmail2 amavis[3033]: starting. /opt/zimbra/amavisd/sbin/amavisd at lesuperclub.ca amavisd-new-2.3.3 (20050822), Unicode aware, LANG=en_US.UTF-8
    Mar 7 14:47:26 scvmail2 amavis[3033]: user=500, EUID: 500 (500); group=, EGID: 500 501 500 5 (500 501 500 5)
    Mar 7 14:47:26 scvmail2 amavis[3033]: Perl version 5.008006
    Mar 7 14:47:27 scvmail2 amavis[3179]: Net::Server: Process Backgrounded
    Mar 7 14:47:27 scvmail2 amavis[3179]: Net::Server: 2006/03/07-14:47:27 Amavis (type Net::Server::PreForkSimple) starting! pid(3179)
    Mar 7 14:47:27 scvmail2 amavis[3179]: Net::Server: Binding to TCP port 10024 on host 127.0.0.1
    Mar 7 14:47:27 scvmail2 amavis[3179]: Net::Server: Group Not Defined. Defaulting to EGID '500 501 500 5'
    Mar 7 14:47:27 scvmail2 amavis[3179]: Net::Server: User Not Defined. Defaulting to EUID '500'
    Mar 7 14:47:27 scvmail2 amavis[3179]: Module Amavis::Conf 2.043
    Mar 7 14:47:27 scvmail2 amavis[3179]: Module Archive::Tar 1.26
    Mar 7 14:47:27 scvmail2 amavis[3179]: Module Archive::Zip 1.16
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module BerkeleyDB 0.27
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Compress::Zlib 1.41
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Convert::TNEF 0.17
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Convert::UUlib 1.06
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module DBD::mysql 3.0002
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module DBI 1.49
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module DB_File 1.810
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module MIME::Entity 5.418
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module MIME::Parser 5.418
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module MIME::Tools 5.418
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Mail::Header 1.67
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Mail::Internet 1.67
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Mail::SpamAssassin 3.001000
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Net::Cmd 2.26
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Net:NS 0.53
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Net::LDAP 0.33
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Net::SMTP 2.29
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Net::Server 0.90
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Time::HiRes 1.83
    Mar 7 14:47:28 scvmail2 amavis[3179]: Module Unix::Syslog 0.99
    Mar 7 14:47:28 scvmail2 amavis[3179]: Amavis:B code loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: Amavis::Cache code loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: SQL base code NOT loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: SQL::Log code NOT loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: SQL::Quarantine NOT loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: Lookup::SQL code NOT loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: Lookup::LDAP code loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: AM.PDP prot code NOT loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: SMTP-in prot code loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: ANTI-VIRUS code loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: ANTI-SPAM code loaded
    Mar 7 14:47:28 scvmail2 amavis[3179]: Unpackers code loaded
    Mar 7 14:47:29 scvmail2 amavis[3179]: Found $file at /usr/bin/file
    Mar 7 14:47:29 scvmail2 amavis[3179]: No $dspam, not using it
    Mar 7 14:47:29 scvmail2 amavis[3179]: Internal decoder for .mail
    Mar 7 14:47:29 scvmail2 amavis[3179]: Internal decoder for .asc
    Mar 7 14:47:29 scvmail2 amavis[3179]: Internal decoder for .uue
    Mar 7 14:47:29 scvmail2 amavis[3179]: Internal decoder for .hqx
    Mar 7 14:47:29 scvmail2 amavis[3179]: Internal decoder for .ync
    Mar 7 14:47:29 scvmail2 amavis[3179]: No decoder for .F tried: unfreeze, freeze -d, melt, fcat
    Mar 7 14:47:29 scvmail2 amavis[3179]: Found decoder for .Z at /usr/bin/gzip -d
    Mar 7 14:47:29 scvmail2 amavis[3179]: Internal decoder for .gz
    Mar 7 14:47:29 scvmail2 amavis[3179]: Found decoder for .bz2 at /usr/bin/bzip2 -d
    Mar 7 14:47:29 scvmail2 amavis[3179]: No decoder for .lzo tried: lzop -d
    Mar 7 14:47:29 scvmail2 amavis[3179]: Found decoder for .rpm at /usr/bin/rpm2cpio
    Mar 7 14:47:29 scvmail2 amavis[3179]: Found decoder for .cpio at /usr/bin/pax
    Mar 7 14:47:29 scvmail2 amavis[3179]: Found decoder for .tar at /usr/bin/pax
    Mar 7 14:47:29 scvmail2 amavis[3179]: Found decoder for .deb at /usr/bin/ar
    Mar 7 14:47:29 scvmail2 amavis[3179]: Internal decoder for .zip
    Mar 7 14:47:29 scvmail2 amavis[3179]: No decoder for .rar tried: rar, unrar
    Mar 7 14:47:29 scvmail2 amavis[3179]: No decoder for .arj tried: arj, unarj
    Mar 7 14:47:29 scvmail2 amavis[3179]: No decoder for .arc tried: nomarch, arc
    Mar 7 14:47:29 scvmail2 amavis[3179]: No decoder for .zoo tried: zoo
    Mar 7 14:47:29 scvmail2 amavis[3179]: Found decoder for .lha at /usr/bin/lha
    Mar 7 14:47:29 scvmail2 amavis[3179]: No decoder for .cab tried: cabextract
    Mar 7 14:47:29 scvmail2 amavis[3179]: No decoder for .tnef tried: tnef
    Mar 7 14:47:29 scvmail2 amavis[3179]: Internal decoder for .tnef
    Mar 7 14:47:29 scvmail2 amavis[3179]: Found decoder for .exe at /usr/bin/lha
    Mar 7 14:47:30 scvmail2 amavis[3179]: Using internal av scanner code for (primary) ClamAV-clamd
    Mar 7 14:47:30 scvmail2 amavis[3179]: Creating db in /opt/zimbra/amavisd/db/; BerkeleyDB 0.27, libdb 4.2
    Mar 7 14:47:30 scvmail2 amavis[3179]: SpamControl: initializing Mail::SpamAssassin
    Mar 7 14:47:31 scvmail2 amavis[3179]: SpamControl: done
    Mar 7 14:47:34 scvmail2 zimbramon[2277]: 2277:info: Starting logger
    Mar 7 14:47:34 scvmail2 clamd[3543]: Daemon started.
    Mar 7 14:47:34 scvmail2 clamd[3543]: clamd daemon 0.87.1 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Mar 7 14:47:34 scvmail2 clamd[3543]: Log file size limited to 20971520 bytes.
    Mar 7 14:47:34 scvmail2 clamd[3543]: Reading databases from /opt/zimbra/clamav/db
    Mar 7 14:47:35 scvmail2 zimbramon[2277]: 2277:info: Starting mailbox
    Mar 7 14:47:35 scvmail2 clamd[3543]: Protecting against 45887 viruses.
    Mar 7 14:47:35 scvmail2 clamd[3673]: Bound to port 3310
    Mar 7 14:47:35 scvmail2 clamd[3673]: Setting connection queue length to 15
    Mar 7 14:47:35 scvmail2 clamd[3673]: Archive: Archived file size limit set to 104857600 bytes.
    Mar 7 14:47:35 scvmail2 clamd[3673]: Archive: Recursion level limit set to 8.
    Mar 7 14:47:35 scvmail2 clamd[3673]: Archive: Files limit set to 1000.
    Mar 7 14:47:35 scvmail2 clamd[3673]: Archive: Compression ratio limit set to 250.
    Mar 7 14:47:35 scvmail2 clamd[3673]: Archive support enabled.
    Mar 7 14:47:35 scvmail2 clamd[3673]: Archive: RAR support disabled.
    Mar 7 14:47:35 scvmail2 clamd[3673]: Portable Executable support enabled.
    Mar 7 14:47:35 scvmail2 clamd[3673]: Mail files support enabled.
    Mar 7 14:47:35 scvmail2 clamd[3673]: OLE2 support enabled.
    Mar 7 14:47:35 scvmail2 clamd[3673]: HTML support enabled.
    Mar 7 14:47:35 scvmail2 clamd[3673]: Self checking every 1800 seconds.
    Mar 7 14:47:52 scvmail2 zimbramon[2277]: 2277:info: Starting mta
    Mar 7 19:48:03 scvmail2 postfix/postqueue[5317]: fatal: Queue report unavailable - mail system is down
    Mar 7 14:48:04 scvmail2 postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.2.5/conf/main.cf
    Mar 7 14:48:04 scvmail2 postfix/postfix-script: starting the Postfix mail system
    Mar 7 14:48:04 scvmail2 postfix/master[5364]: daemon started -- version 2.2.5, configuration /opt/zimbra/postfix-2.2.5/conf
    Mar 7 14:48:05 scvmail2 zimbramon[2277]: 2277:info: Starting snmp
    Mar 7 14:48:05 scvmail2 zimbramon[2277]: 2277:info: Starting spell
    Mar 7 14:48:05 scvmail2 zimbramon[5141]: 5141:info: 2006-03-07 14:48:02, STATUS: lesuperclub.ca: antispam: Running
    Mar 7 14:48:05 scvmail2 zimbramon[5141]: 5141:info: 2006-03-07 14:48:02, STATUS: lesuperclub.ca: antivirus: Running
    Mar 7 14:48:05 scvmail2 zimbramon[5141]: 5141:info: 2006-03-07 14:48:02, STATUS: lesuperclub.ca: ldap: Running
    Mar 7 14:48:05 scvmail2 zimbramon[5141]: 5141:info: 2006-03-07 14:48:02, STATUS: lesuperclub.ca: logger: Stopped
    Mar 7 14:48:05 scvmail2 zimbramon[5141]: 5141:info: 2006-03-07 14:48:02, STATUS: lesuperclub.ca: mailbox: Running
    Mar 7 14:48:05 scvmail2 zimbramon[5141]: 5141:info: 2006-03-07 14:48:02, STATUS: lesuperclub.ca: mta: Stopped
    Mar 7 14:48:05 scvmail2 zimbramon[5141]: 5141:info: 2006-03-07 14:48:02, STATUS: lesuperclub.ca: snmp: Stopped
    Mar 7 14:48:05 scvmail2 zimbramon[5141]: 5141:info: 2006-03-07 14:48:02, STATUS: lesuperclub.ca: spell: Stopped
    Mar 7 14:49:04 scvmail2 zimbramon[6233]: 6233:info: 2006-03-07 14:49:02, STATUS: lesuperclub.ca: antispam: Running
    Mar 7 14:49:04 scvmail2 zimbramon[6233]: 6233:info: 2006-03-07 14:49:02, STATUS: lesuperclub.ca: antivirus: Running
    Mar 7 14:49:04 scvmail2 zimbramon[6233]: 6233:info: 2006-03-07 14:49:02, STATUS: lesuperclub.ca: ldap: Running
    Mar 7 14:49:04 scvmail2 zimbramon[6233]: 6233:info: 2006-03-07 14:49:02, STATUS: lesuperclub.ca: logger: Stopped
    Mar 7 14:49:04 scvmail2 zimbramon[6233]: 6233:info: 2006-03-07 14:49:02, STATUS: lesuperclub.ca: mailbox: Running
    Mar 7 14:49:04 scvmail2 zimbramon[6233]: 6233:info: 2006-03-07 14:49:02, STATUS: lesuperclub.ca: mta: Running
    Mar 7 14:49:04 scvmail2 zimbramon[6233]: 6233:info: 2006-03-07 14:49:02, STATUS: lesuperclub.ca: snmp: Stopped
    Mar 7 14:49:04 scvmail2 zimbramon[6233]: 6233:info: 2006-03-07 14:49:02, STATUS: lesuperclub.ca: spell: Running
    Mar 7 14:50:02 scvmail2 zimbramon[6755]: 6755:info: 2006-03-07 14:50:02, QUEUE: 0 0
    Mar 7 14:50:02 scvmail2 zimbramon[6756]: 6756:info: 2006-03-07 14:50:02, DISK: : dev: /dev/mapper/VolGroup00-LogVol00, mp: /, tot: 3020, avail: 3%
    Mar 7 14:50:02 scvmail2 zimbramon[6756]: 6756:info: 2006-03-07 14:50:02, DISK: : dev: /dev/cciss/c0d0p1, mp: /boot, tot: 99, avail: 80
    Mar 7 14:50:04 scvmail2 zimbramon[6758]: 6758:info: 2006-03-07 14:50:02, STATUS: lesuperclub.ca: antispam: Running
    Mar 7 14:50:04 scvmail2 zimbramon[6758]: 6758:info: 2006-03-07 14:50:02, STATUS: lesuperclub.ca: antivirus: Running
    Mar 7 14:50:04 scvmail2 zimbramon[6758]: 6758:info: 2006-03-07 14:50:02, STATUS: lesuperclub.ca: ldap: Running
    Mar 7 14:50:04 scvmail2 zimbramon[6758]: 6758:info: 2006-03-07 14:50:02, STATUS: lesuperclub.ca: logger: Stopped
    Mar 7 14:50:04 scvmail2 zimbramon[6758]: 6758:info: 2006-03-07 14:50:02, STATUS: lesuperclub.ca: mailbox: Running
    Mar 7 14:50:04 scvmail2 zimbramon[6758]: 6758:info: 2006-03-07 14:50:02, STATUS: lesuperclub.ca: mta: Running
    Mar 7 14:50:04 scvmail2 zimbramon[6758]: 6758:info: 2006-03-07 14:50:02, STATUS: lesuperclub.ca: snmp: Stopped
    Mar 7 14:50:04 scvmail2 zimbramon[6758]: 6758:info: 2006-03-07 14:50:02, STATUS: lesuperclub.ca: spell: Running

  6. #26
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    I don't see you sending mail thru the system and recreating your crash.

  7. #27
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    Are you using -d 1 (the number one?) that's what you want.

  8. #28
    vlskip is offline Active Member
    Join Date
    Feb 2006
    Posts
    29
    Rep Power
    9

    Default

    i'm starting to test it as we speak.

    But are all those STOPED modules normal ?

  9. #29
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    No, they should be started.

  10. #30
    vlskip is offline Active Member
    Join Date
    Feb 2006
    Posts
    29
    Rep Power
    9

    Default

    1 is the number i'm using

    sudo /opt/zimbra/openldap/libexec/slapd -l -d 1 LOCAL0

    www.lesuperclub.com\Public\zimbralog2.txt
    Last edited by vlskip; 03-07-2006 at 01:47 PM.

Page 3 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 03-01-2008, 08:21 PM
  2. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 AM
  3. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  4. Zimbra Processor Output
    By UltraFlux in forum Installation
    Replies: 3
    Last Post: 02-01-2006, 08:23 AM
  5. Replies: 1
    Last Post: 11-23-2005, 01:35 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
  •