OTRS 3.04 ON IIS7

Moderator: crythias

Post Reply
JLindberg
Znuny newbie
Posts: 12
Joined: 18 Jan 2011, 00:32
Znuny Version: 3.05

OTRS 3.04 ON IIS7

Post by JLindberg »

Hi,

I have just decided to run OTRS at the company that i work with. I installed the windows installer and discovered that OTRS was Assum! :D

I am now trying to set up a test system to test for a while and the implement it to the live enviroment. However i have a problem.
When i browse to the url, ill get the startpage but it says browser warning, you browser is to old, and i cant use any of the forms displayed on the page.

I have tried this: http://faq.otrs.org/otrs/public.pl?Acti ... ItemID=371

This is my Setup

W2008 64Bit with 4 CPU, 4 GB RAM, 40+40 GB
IIS7
Activestate Perl64 with all required modules for OTRS otrs.checkmodules.pl works just fine.
MySQL Standard Edition for 1-4 Sockets.

I read something about permisions, but that was for apache. I dont use the installer on the server because i have other sites in ii7, and already have an MySQL database.

The IIS7 set up is one site OTRS (pointing to fcgi-bin in bin directory in OTRS. And the other one is otrsweb that points to the var/httpd/htdocs.
I have also compared the config.pm and ZZZauto.pm to to the files that the windows installer installs, (in my local pc), but i can´t find anything strange. However i am a newbie to just perl.

It just seems that i am so close. And the site is so fast, :-).

Is there someone out that that have experienced the same and have a solution or some tips to try?

Regards,
Jonas
Production site 1
OTRS 3.06 Hosted
W2008 R2 64-Bit
IIS 7.5
Activestate Perl 64-Bit
MySQL enterprise edition 5.5.8
Production site 2
OTRS 3.06
W2008 32-Bit Hosted
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
Devsite
OTRS 3.06 ITSM RC1 Hosted
W2008 R2 32-Bit
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
JLindberg
Znuny newbie
Posts: 12
Joined: 18 Jan 2011, 00:32
Znuny Version: 3.05

Re: OTRS 3.04 ON IIS7

Post by JLindberg »

I discovered just this message, maybe it can be to some help

From the OTRS ERROR LOG

ERROR: OTRS-CGI-10 Perl: 5.12.2 OS: MSWin32 Time: Mon Jan 17 22:13:27 2011

Message: Can't create directory 'W:/dev/otrs/var/httpd/htdocs/js/js-cache/': File exists

Traceback (3284):
Module: Kernel::System::Loader::MinifyFiles (v1.17) Line: 127
Module: Kernel::Output::HTML::LayoutLoader::_HandleJSList (v1.37) Line: 642
Module: Kernel::Output::HTML::LayoutLoader::LoaderCreateAgentJSCalls (v1.37) Line: 282
Module: Kernel::Output::HTML::Layout::Login (v1.345) Line: 950
Module: Kernel::System::Web::InterfaceAgent::Run (v1.58) Line: 604
Module: W:\dev\otrs\bin\fcgi-bin\index.pl (v1.2) Line: 54
Production site 1
OTRS 3.06 Hosted
W2008 R2 64-Bit
IIS 7.5
Activestate Perl 64-Bit
MySQL enterprise edition 5.5.8
Production site 2
OTRS 3.06
W2008 32-Bit Hosted
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
Devsite
OTRS 3.06 ITSM RC1 Hosted
W2008 R2 32-Bit
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
JLindberg
Znuny newbie
Posts: 12
Joined: 18 Jan 2011, 00:32
Znuny Version: 3.05

Re: OTRS 3.04 ON IIS7

Post by JLindberg »

I fixed my last post, but it didnt solved my main problem (first post)
Production site 1
OTRS 3.06 Hosted
W2008 R2 64-Bit
IIS 7.5
Activestate Perl 64-Bit
MySQL enterprise edition 5.5.8
Production site 2
OTRS 3.06
W2008 32-Bit Hosted
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
Devsite
OTRS 3.06 ITSM RC1 Hosted
W2008 R2 32-Bit
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: OTRS 3.04 ON IIS7

Post by Mike_B »

JLindberg wrote:Hi,

I have just decided to run OTRS at the company that i work with. I installed the windows installer and discovered that OTRS was Assum! :D

I am now trying to set up a test system to test for a while and the implement it to the live enviroment. However i have a problem.
When i browse to the url, ill get the startpage but it says browser warning, you browser is to old, and i cant use any of the forms displayed on the page.

W2008 64Bit with 4 CPU, 4 GB RAM, 40+40 GB
IIS7
Activestate Perl64 with all required modules for OTRS otrs.checkmodules.pl works just fine.
MySQL Standard Edition for 1-4 Sockets.

The IIS7 set up is one site OTRS (pointing to fcgi-bin in bin directory in OTRS. And the other one is otrsweb that points to the var/httpd/htdocs.
I guess it IS the fact that otrs-web should point to var/httpd/htdocs (with a dash!). If you don't have that, you don't have JavaScript, CSS and images. You then can't log in.
--
Mike
huntingbears.nl - @michielbeijen on Twitter
JLindberg
Znuny newbie
Posts: 12
Joined: 18 Jan 2011, 00:32
Znuny Version: 3.05

Re: OTRS 3.04 ON IIS7 *Solved*

Post by JLindberg »

Hi, sorry for the late post, i solved it.

i had to create a virtual directory for otrs-web. So stupid, because i read about it the same day, but i was looking for something else. Now it is working perfect. Has almost found the 64 bit perl-modules so the site goes very fast. Actually i turned my otrs in production today, and it worked like a clock, all 10 agents, and the 600 customers (only 70 logged in for today) had no complaints.
Production site 1
OTRS 3.06 Hosted
W2008 R2 64-Bit
IIS 7.5
Activestate Perl 64-Bit
MySQL enterprise edition 5.5.8
Production site 2
OTRS 3.06
W2008 32-Bit Hosted
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
Devsite
OTRS 3.06 ITSM RC1 Hosted
W2008 R2 32-Bit
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
kronos
Znuny newbie
Posts: 9
Joined: 16 Feb 2011, 15:21
Znuny Version: 3.0.5

Re: OTRS 3.04 ON IIS7

Post by kronos »

I have an installation similar to yours:

IIS 7
MSSQL 2008
WINDOWS SERVER 2008 R2 64bits
ActivePerl x64 Perl.exe

The application is extremely slow, as opposed to the super speed using apache server. Any recomendations to improve the performance on IIS 7.0?
JLindberg
Znuny newbie
Posts: 12
Joined: 18 Jan 2011, 00:32
Znuny Version: 3.05

Re: OTRS 3.04 ON IIS7

Post by JLindberg »

I had the same problem. I solved it buy running PerlEX.dll as ISAPI handler in IIS. However Perlex.dll is 32-bit, and i was struggeling for a few days to get IIS working with 32-bit and 64-bit. You have to edit the web.config file and add some text, that i dont have i handy. Well, shorty i fixes that the website can change between 64-bit and 32-bit applikcationpool. You can try google it. I am not at home for a few days so i can´t post the link until im home.
Production site 1
OTRS 3.06 Hosted
W2008 R2 64-Bit
IIS 7.5
Activestate Perl 64-Bit
MySQL enterprise edition 5.5.8
Production site 2
OTRS 3.06
W2008 32-Bit Hosted
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
Devsite
OTRS 3.06 ITSM RC1 Hosted
W2008 R2 32-Bit
Apache 2.2
StrawberryPerl
MySQL enterprise edition 5.5.8
Post Reply