Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Problem ZCS 6.0.4 FOSS Installation on SLES 64 bit

  1. #1
    vavai's Avatar
    vavai is offline Special Member
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    149
    Rep Power
    8

    Question Problem ZCS 6.0.4 FOSS Installation on SLES 64 bit

    Hi,

    I'm getting trouble installing Zcs 6.0.4 FOSS 64 bit on SLES 11 64 bit. The installation found an error during setting up syslog as below :

    Setting up syslog.conf...updateSyslogNG: Updating /etc/syslog-ng/syslog-ng.conf...done.
    startproc: startproc: exit status of parent of /sbin/syslog-ng: 1

    done.
    After finishing the installation, Zimbra service could not be stop/start with the following error :

    zmcontrol start
    no connection to syslog available

    - unix dgram connect: Connection refused at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 44
    Anyone have a successfull installing Zcs 6.0.4 64 bit against SLES 11 64 bit ?
    Best Regards
    ---
    Masim "Vavai" Sugianto
    Zimbra Tutorial
    Personal Blog [ID]

    Release 8.0.6_GA_5922.SLES11_64_20131203103702 SLES11_64 FOSS edition.

  2. #2
    vavai's Avatar
    vavai is offline Special Member
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    149
    Rep Power
    8

    Default

    Updating : The installation went smooth with Zcs 6.0.3 64 bit on SLES 11 64 bit. Actually, I found 1 error on installation log as below :

    Tue Dec 29 14:22:42 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov -m -l gxc conference.vavai.info
    Exception in thread "main" java.lang.NullPointerException
    at com.zimbra.cs.account.ProvUtil.dumpXMPPComponent(P rovUtil.java:2043)
    at com.zimbra.cs.account.ProvUtil.doGetXMPPComponent( ProvUtil.java:3455)
    at com.zimbra.cs.account.ProvUtil.execute(ProvUtil.ja va:752)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 2711)
    Tue Dec 29 14:22:47 2009 not present.
    Tue Dec 29 14:22:47 2009 Initializing default IM conference room...
    But the installation ended successfully and the MTA/statitistics/logger running without problem.

    Trying to instant upgrade into 6.0.4 and will be update this thread ASAP.
    Best Regards
    ---
    Masim "Vavai" Sugianto
    Zimbra Tutorial
    Personal Blog [ID]

    Release 8.0.6_GA_5922.SLES11_64_20131203103702 SLES11_64 FOSS edition.

  3. #3
    vavai's Avatar
    vavai is offline Special Member
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    149
    Rep Power
    8

    Default

    Upgrading into ZCS 6.0.4 64 bit on SLES 11 64 bit (the existing ZCS 6.0.3 works successfully) and found following error :

    1. Syslog Error
    Tue Dec 29 15:49:05 2009 Notifying Zimbra of installation via Install Notification
    Tue Dec 29 15:49:05 2009
    Tue Dec 29 15:49:05 2009 Notification complete
    Tue Dec 29 15:49:05 2009
    Tue Dec 29 15:49:05 2009 checking isEnabled zimbra-store
    Tue Dec 29 15:49:05 2009 zimbra-store is enabled
    Tue Dec 29 15:49:05 2009 Starting servers...
    Tue Dec 29 15:49:05 2009 *** Running as zimbra user: /opt/zimbra/bin/zmcontrol start
    no connection to syslog available
    - unix dgram connect: Connection refused at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Logger.pm line 44
    Tue Dec 29 15:49:15 2009 done.
    Tue Dec 29 15:49:15 2009 checking isEnabled zimbra-store
    Tue Dec 29 15:49:15 2009 zimbra-store is enabled
    2. Initializing Documents Error
    Tue Dec 29 15:50:37 2009 Returning cached global config attribute: zimbraNotebookAccount=wiki@vavai.info
    Tue Dec 29 15:50:37 2009 Upgrading Document templates...
    Tue Dec 29 15:50:37 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov ut -h mail.vavai.info /opt/zimbra/wiki/Template
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    Tue Dec 29 15:50:42 2009 failed.
    Tue Dec 29 15:50:42 2009 Restarting mailboxd...
    Seems that the ZCS 6.0.4 FOSS binary for SLES 11 64 bit have a problem because the previous version (ZCS 6.0.3) have a smooth installation.

    Anyone having tried the Zimbra Installation on SLES 11 ?
    Best Regards
    ---
    Masim "Vavai" Sugianto
    Zimbra Tutorial
    Personal Blog [ID]

    Release 8.0.6_GA_5922.SLES11_64_20131203103702 SLES11_64 FOSS edition.

  4. #4
    lioil is offline Starter Member
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    5

    Smile solved

    Go to /etc/syslog-ng and едит syslog-ng.conf
    the end of the original file looks like this:

    ####
    source zimbra_src { unix-stream("/dev/log"; keep-alive(yes); max-connections(20); }; # zimbra
    filter zimbra_local0 { facility(local0); }; # zimbra
    filter zimbra_local1 { facility(local1); }; # zimbra
    filter zimbra_auth { facility(auth); }; # zimbra
    filter zimbra_mail { facility(mail); }; # zimbra
    destination zimbra_mail { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_local1 { file("/var/log/zimbra-stats.log" owner("zimbra")); }; # zimbra
    destination zimbra_local0 { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_auth { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    log { source(zimbra_src); filter(zimbra_mail); destination(zimbra_mail); }; # zimbra
    log { source(zimbra_src); filter(zimbra_local0); destination(zimbra_local0); }; # zimbra
    log { source(zimbra_src); filter(zimbra_local1); destination(zimbra_local1); }; # zimbra
    log { source(zimbra_src); filter(zimbra_auth); destination(zimbra_auth); }; # zimbra
    ########

    what did is i:

    # source zimbra_src { unix-stream("/dev/log"; keep-alive(yes); max-connections(20); }; # zimbra
    filter zimbra_local0 { facility(local0); }; # zimbra
    filter zimbra_local1 { facility(local1); }; # zimbra
    filter zimbra_auth { facility(auth); }; # zimbra
    filter zimbra_mail { facility(mail); }; # zimbra
    destination zimbra_mail { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_local1 { file("/var/log/zimbra-stats.log" owner("zimbra")); }; # zimbra
    destination zimbra_local0 { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    destination zimbra_auth { file("/var/log/zimbra.log" owner("zimbra")); }; # zimbra
    log { source(src); filter(zimbra_mail); destination(zimbra_mail); }; # zimbra
    log { source(src); filter(zimbra_local0); destination(zimbra_local0); }; # zimbra
    log { source(src); filter(zimbra_local1); destination(zimbra_local1); }; # zimbra
    log { source(src); filter(zimbra_auth); destination(zimbra_auth); }; # zimbra
    ##############

    and everything started to work

    I hope it will work for you....

  5. #5
    blessendor is offline Active Member
    Join Date
    Dec 2009
    Posts
    46
    Rep Power
    5

    Default

    Thanks from me! It's works!

  6. #6
    Mank is offline Member
    Join Date
    Oct 2007
    Location
    California
    Posts
    11
    Rep Power
    7

    Default

    I have NE on SLES 64 and syslog would not start. Using your syslog config fixed it. Thanks.

    This needs to be filed as a bug.

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    Default

    Quote Originally Posted by Mank View Post
    I have NE on SLES 64 and syslog would not start. Using your syslog config fixed it. Thanks.

    This needs to be filed as a bug.
    Feel free to add it to bugzilla (check first to see if it's already been filed) and please post the bug number here for others.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Decks is offline Starter Member
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    5

    Default

    in my case everything is fine in the installation, and it's work fine when i try to log in the webmail, the problem is when i try to restart the system, zimbra doesn't start, i try to start manually and send me this:
    :~> zmcontrol start
    no connection to syslog avaible
    -/dev/log is not a socket at /opt/zimbra/zimbramon/lib/Zimbra/Mon/logger.pm line 44


    and i try to restart zimbra with the syslog-ng.conf fixed.

    i'm using SLES 11 64 bit and zimbra 6.04 64 bit

  9. #9
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,373
    Rep Power
    10

  10. #10
    pjanzen is offline New Member
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    4

    Default

    With help from post #4 of this thread and info I found on the net I have managed to get the Server status and stats working with syslog-ng.

    What I did was the following.

    run /opt/zimbra/libexec/zmsyslogsetup to get the basics setup.

    Enable syslogging in zimbra
    zmprov mcf zimbraLogToSysLog TRUE

    Copy the syslog-ng stuff from thread #4, I hade to change source(src) to source(s_all)

    Restart syslog-ng.
    Change /opt/zimbra/conf/zmlogrotate
    Look for
    killall -HUP syslogd 2> /dev/null || true
    and change it to
    su - zimbra -c "/etc/init.d/syslog-ng restart" > /dev/null 2>&1 || true

    Then add
    %zimbra ALL=NOPASSWD:/etc/init.d/syslog-ng restart
    To the sudo'rs file.

    That did it for me.

    Paul

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. who installed FOSS for SLES?
    By seamanmei in forum Installation
    Replies: 4
    Last Post: 11-22-2011, 11:31 AM
  2. Installation FAILS to start on SLES 11
    By pete irvine in forum Installation
    Replies: 11
    Last Post: 08-25-2011, 02:32 PM
  3. Replies: 1
    Last Post: 03-23-2010, 01:44 AM
  4. SLES 11 New Installation Advice
    By clmates in forum Installation
    Replies: 0
    Last Post: 02-03-2010, 05:12 AM
  5. [SOLVED] SLES 10 SP2 Installation Questions
    By clmates in forum Installation
    Replies: 3
    Last Post: 02-03-2010, 04:00 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
  •