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 (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 05-29-2006, 05:35 AM
Moderator
 
Posts: 701
Default Logger says "running" on start but stopped in web admin

Hi folks, another request for assistance I'm afraid.

The logger service seems to be starting:
Code:
zimbra:~ # su - zimbra
zimbra@zimbra:~> zmcontrol status
Host zimbra.domain.local
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        mta                     Running
        snmp                    Running
        spell                   Stopped
                zmapachectl is not running
(yes I know the spell is not working, that's a task for another day)

Ok, so the logger looks like it's running, but when I go to the web admin page, I see the message "Server Status data is not available. To see the server status, logger service must be installed"

So, is the logger installed or not? If it's not, why does the zmcontrol thing think it's running?

I've looked been looking at log files and trying to understand what is going on, but it's got me beat. Any ideas?
Reply With Quote
  #2 (permalink)  
Old 05-29-2006, 09:20 AM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Hi Dirk,

In your web admin, does it show that your spelling daemon is working?

It may be getting them mixed up for some reason.

Also, I guess it would be a good idea to find out if your logger is really stopped.

So, what does your log say?
Reply With Quote
  #3 (permalink)  
Old 05-29-2006, 04:30 PM
Moderator
 
Posts: 701
Default

The "Server Status" link on the left menu in the section "Monitoring" shows only the message I quoted. It normally will show the various server elements with a tick or a cross against them.

This one shows only the message about the logger not being installed, even though it seems to start.

It could perhaps be linked to the spelling server not starting, but that's an optional component, right? How could it break the logger if it didnt work?
Reply With Quote
  #4 (permalink)  
Old 05-31-2006, 08:55 AM
Member
 
Posts: 10
Default

Hello everybody,

I've got the same problem than Dirk : the logger service seems to load with other services in the Linux console when I do 'zmstatus' (this is exactly the same text that Dirk quoted).

But in the web admin, the following message appears : "Server status data is not available. To see the server status, logger service must be installed".

(My configuration is : version 3.1.1 running on SuSE 10.1)

Thank you if you can help us
Reply With Quote
  #5 (permalink)  
Old 05-31-2006, 09:12 AM
Moderator
 
Posts: 701
Default

I'm thinking it may be a Suse10.1 issue as we have it working ok on a suse10.0 box.

I've read something here about the logger using a service with a slightly different name and a bug in a script, I've ammended that on the 10.1 box and I'll see what happens when I get home (I have ssh admin from here but not webadmin)
Reply With Quote
  #6 (permalink)  
Old 05-31-2006, 10:12 AM
Intermediate Member
 
Posts: 23
Unhappy

I have a simillar issue here where the logger service IS running but the admin interface says that it is not. listing of the processes shows this running:

/opt/zimbra/logger/mysql/bin/mysqld --defaults-file=/opt/zimbra/conf/my.logger.cnf --basedir=/opt/zimbra/....

But the interface says: "Server status data is not available. To see the server status, logger service must be installed."

I've scanned through every log file on a clean restart and there are no errors in any of them. Upon start up I get:

[zimbra@newmail ~]$ zmcontrol start
Host (hostname here)
Starting ldap...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting mta...Done.
Starting snmp...Done.
Starting spell...Done.
[zimbra@newmail ~]$ zmcontrol status
Host (hostname here)
antispam Stopped
zmamavisdctl is not running
antivirus Stopped
zmamavisdctl is not running
ldap Running
logger Stopped
zmlogswatchctl is not running
mailbox Running
mta Running
snmp Stopped
swatch is not running
spell Running
[zimbra@newmail ~]$


Upon going into the /bin directory and manually starting the service I get this:

[zimbra@newmail bin]$ ./zmlogswatchctl start
[zimbra@newmail bin]$ ./zmlogswatchctl status
./zmlogswatchctl: line 75: kill: (12676) - No such process


Any help would be great. But it appears that several services will not run on my box. Which is CentOS 4.2 running on a Pentium D chip. Could the 64 bit thing be causing a problem?
Reply With Quote
  #7 (permalink)  
Old 05-31-2006, 10:26 AM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Are you running a 64-bit os? or a 32bit os?
Reply With Quote
  #8 (permalink)  
Old 05-31-2006, 10:40 AM
Intermediate Member
 
Posts: 23
Default

Ehe exact compile string for it on the kernel is: x86_64-unknown-linux-gnu

So... yes, I do believe that it is running in a 64-bit mode. But if the software is compiled in 32-bit (like I think zimbra is) shouldn't it still run correctly?
Reply With Quote
  #9 (permalink)  
Old 05-31-2006, 10:53 AM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Well, I'm not saying this is your particular issue, but there are some known problems with running Zimbra on a 64-bit OS.

Your best bet is to run a 32bit OS.

Is this your only problem? If so, I don't think the two are related.
Reply With Quote
  #10 (permalink)  
Old 05-31-2006, 11:24 AM
Active Member
 
Posts: 47
Default

Quote:
Originally Posted by Nico
Hello everybody,

I've got the same problem than Dirk : the logger service seems to load with other services in the Linux console when I do 'zmstatus' (this is exactly the same text that Dirk quoted).

But in the web admin, the following message appears : "Server status data is not available. To see the server status, logger service must be installed".

(My configuration is : version 3.1.1 running on SuSE 10.1)

Thank you if you can help us
Hello,

Make following steps.

-- work es root --
su zimbra
zmcontrol stop

-- work es root --
killall tail
look for all mounted /dev/shm (multiple mounts possible), umount them

Check the permissions for /var/log/zimbra.log. It's the owner zimbra and rw? Change them if necessary
Check also the size. It's zero byte? --> Bug 1

Have you make any changes in your /etc/syslog-ng/syslog-ng.conf? Yes?
Copy the zimbra changes from "/etc/syslog-ng/syslog-ng.conf.in" to "/etc/syslog-ng/syslog-ng.conf" (the last 5 lines with "#zimbra" comment at end)

Bug 1: Change the line with "killall -HUP syslogd" in this files to "/sbin/rcsyslog restart"

/opt/zimbra/bin/zmsyslogsetup
/opt/zimbra/bin/zmlogrotate
/etc/logrotate.d/zimbra

Restart syslog-ng with: "/sbin/rcsyslog restart"
mount -a
su zimbra
start zimbra (zmcontrol start)


And with some luck, it will work....

Cu
__________________
Zimbra 5.0 GA on openSUSE 10.2
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0