Bugzilla 3.4 localtime issue on CentOS

While recently upgrading and moving Bugzilla to 3.4.2 I ran into an issue on a CentOS 5 server that was giving the following error any time I tried to access a buglist:

undef error – Cannot determine local time zone

After some searching I finally discovered that the issue was with Bugzilla looking for the timezone information in /etc/localtime, while CentOS had not updated that file since it’s original installation.

The solution is to change /etc/localtime to a symlink that leads to the correct timezone file for you:

ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime

Possibly related posts:

  1. Bugzilla Changelog Generator 1.3
  2. Stolen articles…
  3. Bugzilla Changelog Updated
  4. Bugzilla vs. Mantis
  5. Using Bugzilla Effectively: for Contractors

1 Comment »

  1. Thanks, this worked for me as well, I had gone through a number of steps including the reinstall of a number DateTime perl modules and nothing was fixing it…

    Comment by Jack — January 5, 2011 @ 7:10 am

RSS feed for comments on this post.

Leave a comment