Problema con index.pl e installer.pl(Solucionado)

Post Reply
dcoral
Znuny newbie
Posts: 14
Joined: 06 Aug 2015, 01:36
Znuny Version: 4.0.10
Real Name: Diego C
Company: LAP

Problema con index.pl e installer.pl(Solucionado)

Post by dcoral »

Estimados por favor su ayuda,

Estoy en la instalacion de OTRS, pero surge que cuando entro a http://<mi_IP>/otrs/installer.pl en el navegador me sale el codigo de perl mas no el instalador.

Es decir aparece lo siguiente y no el instalador:

#!/usr/bin/perl
# --
# bin/cgi-bin/index.pl - the global CGI handle file (incl. auth) for OTRS
# Copyright (C) 2001-2015 xxx, http://otrs.com/
# --
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU AFFERO General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# or see http://www.gnu.org/licenses/agpl.txt.
# --

use strict;
use warnings;

# use ../../ as lib location
use FindBin qw($Bin);
use lib "$Bin/../..";
use lib "$Bin/../../Kernel/cpan-lib";
use lib "$Bin/../../Custom";

# 0=off;1=on;
my $Debug = 0;

# load agent web interface
use Kernel::System::Web::InterfaceAgent();
use Kernel::System::ObjectManager;

local $Kernel::OM = Kernel::System::ObjectManager->new();

my $Interface = Kernel::System::Web::InterfaceAgent->new( Debug => $Debug );

$Interface->Run();


Espero puedan ayudarme.

Saludos,


Diego C
Last edited by dcoral on 09 Sep 2015, 18:33, edited 1 time in total.
eandrex
Znuny expert
Posts: 213
Joined: 04 Nov 2012, 23:58
Znuny Version: OTRS 4.x
Real Name: Esteban
Company: NORTON DE COLOMBIA

Re: Problema con index.pl e installer.pl

Post by eandrex »

Información sobre sistema operativo sería de gran ayuda y sobre todo cual servidor web está usando y sus logs
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: Problema con index.pl e installer.pl

Post by klausneil »

Eso es por un tema de permisos de propietario que tiene el archivo para otrs ejecuta lo siguiente (siempre y cuando esa sea la carpeta en donde su ubica la carpeta del sistema)

shell#] useradd -r -d /opt/otrs/ -c ‘OTRS user’ otrs
shell#] usermod -G nogroup otrs

Avisa como te fue.
dcoral
Znuny newbie
Posts: 14
Joined: 06 Aug 2015, 01:36
Znuny Version: 4.0.10
Real Name: Diego C
Company: LAP

Re: Problema con index.pl e installer.pl

Post by dcoral »

Muchas gracias por sus respuestas.

Realmente no hubo una solucion adecuada, el problema estaba en tener un dominio con / fijo es decir el sub dominio asignado para la instalación de OTRS era "mycompany/soporte", lo cual me trajo problemas con perl, intente hacer un Redirect y un Alias con apache pero no fue posible.

Al final necesitaba presentar algo funcionando (Presion de arriba), y bueno pedi un dominio sin /, y ahi todo fue funcionando, por supuesto con algunos incovenientes nuevos pero avabnzo mucho mejor.

Mi RECOMENDACION es que eviten instalar OTRS en un subdominio que contenga un /. A mi parecer perl causa conflictos.

Nuevamente mil gracias por su ayuda.

Slds,

Diego
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: Problema con index.pl e installer.pl

Post by klausneil »

Saludos dcoral, el problema frecuente de ese tipo de errores es que apache no esta resolviendo los archivos de perl pues no se inician, en mi caso yo tengo un subdomino como comentas y me falto iniciar el servicio :shock: pero de ahi funciono sin problemas.

P.D= Te pediría que agregues un TAG de solucionado para evitar confusiones.
Post Reply