Tags:
create new tag
, view all tags

SID-02249: Error installing Twiki - POSIX tzset not implemented

Status: Asked Asked TWiki version: 6.0.2 Perl version: 5.24.0 ActivePerl
Category: CategoryInstallation Server OS: Windows 2012 Server R2 Last update: 1 year ago

I´ve installed and configured twiki 6.0.2, but when I try to open the page http://localhost/do/view, there is the following error:

"TWiki detected an internal error - please check your TWiki logs and webserver logs for more information. POSIX::tzset not implemented on this architecture"

At Twiki log:

| 2016-09-14 - 13:06:18 | POSIX::tzset not implemented on this architecture at C:/www/twiki/lib/TWiki/Time.pm line 215.

Please, can any help me?

-- Martin MC - 2016-09-14

Discussion and Answer

What Perl engine do you use on Windows? Strawberry Perl on Windows does not support POSIX::tzset. If you use this, you will need to switch to an alternative Perl distribution. You can use ActivePerl which is free, and is the leading commercial-grade distribution of Perl; download from http://www.activestate.com/activeperl/downloads

See also TWikibug:Item7705.

Alternatively, DownloadTWikiVM and run it on VMware on Windows. This is straight forward and performs well.

-- Peter Thoeny - 2016-09-15

Hi, I am using ActivePerl, version 5.24.0.2400 for Windows 64bits. I also tryed with ActivePerl 5.22.1 with the same error. What might be happening? Thanks.

-- Martin MC - 2016-09-15

After reading http://develop.twiki.org/~twiki/cgi-bin/view/Bugs/Item7705, as a workaround, I have wrapped tzset calls (at Time.pm) in an eval block (eval{tzset()};) and the page is displayed correctly. What consequences has this solution?

-- Martin MC - 2016-09-15

This workaround is harmless unless you rely on a plugin using the function TWiki::Time::formatTime() (see TWikiFuncDotPm), and you have with different local time zones in your TWiki user base.

-- Harald Jörg - 2016-09-18

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Asked
Title Error installing Twiki - POSIX tzset not implemented
SupportCategory CategoryInstallation
TWiki version 6.0.2
Server OS Windows 2012 Server R2
Web server Apache Http Server 2.4.23
Perl version 5.24.0 ActivePerl
Browser & version IE 11.0.9600.17031, Chrome Versión 53.0.2785.101 m (64-bit)
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2016-09-18 - HaraldJoerg
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.