Apache Crash & mod_perl disable

Moderator: crythias

Locked
hasz
Znuny newbie
Posts: 1
Joined: 13 Jun 2012, 07:09
Znuny Version: 3.2.16

Apache Crash & mod_perl disable

Post by hasz »

Hi, everybody

On win 2003 server R2
I'm having apache crashing like viewtopic.php?f=81&t=14918&p=57322, &the suggested work around is disable de mod_perl.
I did that modifying httpd.conf Removing the following lines:
# load mod_perl
LoadFile 'C:/PROGRA~2/OTRS/StrawberryPerl/perl/bin/perl512.dll'
LoadModule perl_module modules/mod_perl.so
LoadModule apreq_module modules/mod_apreq2.so

But that not work because when apache start don´t find some files, following text is a part from error.log from apache


[Thu Sep 20 10:57:38 2012] [notice] Child 2836: Child process is running
[Thu Sep 20 10:57:38 2012] [notice] Child 2836: Acquired the start mutex.
[Thu Sep 20 10:57:38 2012] [notice] Child 2836: Starting 64 worker threads.
[Thu Sep 20 10:57:38 2012] [notice] Child 2836: Starting thread to listen on port 80.
[Thu Sep 20 11:08:17 2012] [error] [client 127.0.0.1] (OS 2)El sistema no puede encontrar el archivo especificado. : couldn't create child process: 720002: index.pl, referer: http://localhost/otrs/index.pl?Action=AdminQueue
[Thu Sep 20 11:08:17 2012] [error] [client 127.0.0.1] (OS 2)El sistema no puede encontrar el archivo especificado. : couldn't spawn child process: C:/Program Files (x86)/OTRS/OTRS/bin/cgi-bin/index.pl, referer: http://localhost/otrs/index.pl?Action=AdminQueue
[Thu Sep 20 11:08:17 2012] [error] [client 127.0.0.1] (OS 2)El sistema no puede encontrar el archivo especificado. : couldn't create child process: 720002: index.pl, referer: http://localhost/otrs/index.pl?Action=A ... oup=Ticket
[Thu Sep 20 11:08:17 2012] [error] [client 127.0.0.1] (OS 2)El sistema no puede encontrar el archivo especificado. : couldn't create child process: 720002: index.pl, referer: http://localhost/otrs/index.pl?Action=A ... oup=Ticket;
[Thu Sep 20 11:08:17 2012] [error] [client 127.0.0.1] (OS 2)El sistema no puede encontrar el archivo especificado. : couldn't spawn child process: C:/Program Files (x86)/OTRS/OTRS/bin/cgi-bin/index.pl, referer: http://localhost/otrs/index.pl?Action=A ... oup=Ticket
[Thu Sep 20 11:08:17 2012] [error] [client 127.0.0.1] (OS 2)El sistema no puede encontrar el archivo especificado. : couldn't spawn child process: C:/Program Files (x86)/OTRS/OTRS/bin/cgi-bin/index.pl, referer: http://localhost/otrs/index.pl?Action=A ... oup=Ticket;
[Thu Sep 20 11:08:20 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/OTRS/Apache/htdocs/favicon.ico
[Thu Sep 20 11:08:20 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/OTRS/Apache/htdocs/favicon.ico
[Thu Sep 20 11:08:20 2012] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/OTRS/Apache/htdocs/favicon.ico

Who can help me? with
1.- Avoiding Apache Crash or
2.- uninstall mode_perl

I apreciatte your help

Antonio
hasz@vtr.net
guillo
Znuny newbie
Posts: 98
Joined: 16 May 2012, 20:05
Znuny Version: 3.0.7

Re: Apache Crash & mod_perl disable

Post by guillo »

Kind of the same problem here.. I would like to know if its possible to re-install just the Pearl and the apache without loosing the configurations.
OTRS V 3.0.7 Windows 2008 x64 going for 3.1.7
OTRS 3.1.12 on LINUX UBUNTU SERVER
Sayannara
Znuny advanced
Posts: 118
Joined: 22 May 2012, 12:37
Znuny Version: OTRS 7.06
Real Name: Yann
Company: FVE
Contact:

Re: Apache Crash & mod_perl disable

Post by Sayannara »

I do have the same issue. Under Win Server 2008 R2 and ActivePerl

LoadFile 'c:/Perl/bin/perl514.dll'
LoadModule perl_module modules/mod_perl.so
LoadModule apreq_module modules/mod_apreq2.so

I have tried with Apache version 2.0.64 and 2.36
ActivePerl 5.16 and 5.14

The service does not start ! I do not get any usefull error message and no log.

According to this link http://www.definit.co.uk/2011/07/instal ... rver-2008/, we should just add the first 'loadModule line'.
If I install OTRS with the installer, strawberry perl is used and there is exactly those lines:
# ---
# OTRS configuration
# ---

# load mod_perl
LoadFile 'C:/PROGRA~2/OTRS/StrawberryPerl/perl/bin/perl512.dll'
LoadModule perl_module modules/mod_perl.so
LoadModule apreq_module modules/mod_apreq2.so

# include the OTRS configuration
Include 'C:/PROGRA~2/OTRS/OTRS/scripts/apache2-httpd.include.conf'
Centos 7 / OTRS::ITSM 6 Business Solutions / MariaDB / Apache
Locked