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 12-27-2009, 08:22 PM
Elite Member
 
Posts: 334
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 :

Quote:
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 :

Quote:
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
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #2 (permalink)  
Old 12-28-2009, 11:39 PM
Elite Member
 
Posts: 334
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 :

Quote:
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
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #3 (permalink)  
Old 12-29-2009, 12:42 AM
Elite Member
 
Posts: 334
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
Quote:
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
Quote:
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
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #4 (permalink)  
Old 01-05-2010, 07:26 AM
Starter Member
 
Posts: 1
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....
Reply With Quote
  #5 (permalink)  
Old 01-13-2010, 03:52 PM
Active Member
 
Posts: 34
Default

Thanks from me! It's works!
Reply With Quote
  #6 (permalink)  
Old 01-13-2010, 04:49 PM
Member
 
Posts: 11
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.
Reply With Quote
  #7 (permalink)  
Old 01-13-2010, 11:07 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #8 (permalink)  
Old 01-14-2010, 08:10 AM
Starter Member
 
Posts: 1
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
Reply With Quote
  #9 (permalink)  
Old 01-14-2010, 01:24 PM
Moderator
 
Posts: 1,209
Default

More info here: http://www.zimbra.com/forums/install...tml#post166486

and here: https://bugzilla.zimbra.com/show_bug.cgi?id=40819

Hope that helps,
Mark
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting
Reply With Quote
  #10 (permalink)  
Old 11-18-2010, 04:14 AM
New Member
 
Posts: 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
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.