Results 1 to 6 of 6

Thread: Logger problems after changing hostname

  1. #1
    Join Date
    Nov 2006
    Posts
    16
    Rep Power
    8

    Default Logger problems after changing hostname

    My config: Zimbra 4.0.1 on FC5
    I changed my hostname sometime back.
    Everything is working except for the statistics in the zimbraAdmin interface.
    Under Monitoring I still see the old hostname with the list of services dated to when I changed the name. I also see the new hostname with the list of services all active and with the current date/time.

    When looking at the Server Statistics. The "System Wide Information" shows old statistics from the date I changed the hosts.
    In the statistics for mail.new-host.com no statistics appear at all even though the change was made over 3 months ago. (broken images)

    Running zmcontrol status. Shows that the logger is running but all data in the logger database seems to be old. The only table with the current date is the service_status table. All others are dated back to the hostname change date or older.

    How can I get the logger running properly?
    Thanks, Eric

  2. #2
    Join Date
    Mar 2007
    Location
    Austin
    Posts
    441
    Rep Power
    8

    Default

    Have you tried using zmprov to change your zimbraLogHostname?

    zmprov mcf zimbraLogHostname <hostname>

  3. #3
    Join Date
    Nov 2006
    Posts
    16
    Rep Power
    8

    Default

    Does not seem to help. Tables are still not being updated.
    (I restarted Zimbra)

    Thanks, Eric

  4. #4
    Join Date
    May 2007
    Posts
    18
    Rep Power
    8

    Default

    Same problem here.

    I have the old hostname server and the new on server statistics.
    But my graphs dont work because they are pointing for the old server name.

    here is the output of the the command:

    [zimbra@email ~]$ libexec/zmgengraphs
    Generating hour graph for mta on old_hostname.domain.com
    Generating hour graph for mta on old_hostname.domain.com
    Generating day graph for mta on old_hostname.domain.com
    Generating day graph for mta on old_hostname.domain.com
    Generating month graph for mta on old_hostname.domain.com
    Generating month graph for mta on old_hostname.domain.com
    Generating year graph for mta on old_hostname.domain.com
    Generating year graph for mta on old_hostname.domain.com
    Generating hour graph for mta on ALL
    Generating hour graph for mta on ALL
    Generating day graph for mta on ALL
    Generating day graph for mta on ALL
    Generating month graph for mta on ALL
    Generating month graph for mta on ALL
    Generating year graph for mta on ALL
    Generating year graph for mta on ALL


    the rest is running fine.

    Any hints to fix this?

  5. #5
    Join Date
    May 2007
    Posts
    18
    Rep Power
    8

    Question

    Well now i have the graphs but with no data for 2 days

    The graphs are blank.

    Here are the output of the log files:

    Code:
    [zimbra@email tmp]$ cat logprocess.out
    /opt/zimbra/libexec/zmlogprocess already running with pid
    
    [zimbra@email tmp]$ cat logswatch.out
    
    *** logswatch version 3.1.1 (pid:14340) started at Sun Jun  3 21:35:07 WEST 2007
    
    [zimbra@email tmp]$ cat gengraphs.out
    Generating hour graph for mta on ALL
    Generating hour graph for mta on ALL
    Generating day graph for mta on ALL
    Generating day graph for mta on ALL
    Generating month graph for mta on ALL
    Generating month graph for mta on ALL
    Generating year graph for mta on ALL
    Generating year graph for mta on ALL
    Generating hour graph for amavis on ALL
    Generating day graph for amavis on ALL
    Generating month graph for amavis on ALL
    Generating year graph for amavis on ALL

    And notice that my old_server_name don't show up anymore.
    And the new name of the server dosent generate any data.

    Any help here would be appreciated.

  6. #6
    Join Date
    May 2007
    Posts
    18
    Rep Power
    8

    Default

    bump - Please, I need a hint here.

Similar Threads

  1. Changing Your Hostname
    By manthrax3 in forum Administrators
    Replies: 2
    Last Post: 12-27-2007, 05:15 PM
  2. Server Statistics dont work after changing hostname
    By rnuno in forum Administrators
    Replies: 1
    Last Post: 06-08-2007, 07:54 PM
  3. Installation Cancelled - Zimbra-spell !
    By Ledg in forum Installation
    Replies: 4
    Last Post: 10-19-2006, 02:54 AM
  4. Problems sending/receiving and logger issues
    By kcolgan in forum Installation
    Replies: 0
    Last Post: 09-26-2006, 01:18 AM
  5. MTA is Dying after yum update
    By tonyawbrey in forum Administrators
    Replies: 27
    Last Post: 04-02-2006, 06:11 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
  •