Problema instalação

Post Reply
juliansoares
Znuny newbie
Posts: 3
Joined: 14 Apr 2014, 20:12
Znuny Version: 3.3.6
Real Name: Julian

Problema instalação

Post by juliansoares »

SO : debian 7 + apache2 + mysql + otrs-3.3.6

Boa tarde,

Não consigo iniciar meu OTRS para configurar , config apache :

<VirtualHost *:80>
ServerName sac.riotinto.cflex.com.br
ServerAdmin suporte@cflex.com.br

<IfModule mpm_peruser_module>
ServerEnvironment apache apache
</IfModule>

ErrorLog "/var/log/apache2/sac.riotinto.cflex.com.br-error_log"
CustomLog "/var/log/apache2/sac.riotinto.cflex.com.br-access_log" common

#ScriptAlias /otrs/ "/var/www/sac.riotinto.cflex.com.br/bin/cgi-bin/"
Alias /otrs-web/ "/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/"

DirectoryIndex customer.pl
DocumentRoot "/var/www/sac.riotinto.cflex.com.br/htdocs/bin/cgi-bin/"

<IfModule mod_perl.c>
Perlrequire /var/www/sac.riotinto.cflex.com.br/htdocs/scripts/apache2-perl-startup.pl

PerlModule Apache2::Reload
PerlInitHandler Apache2::Reload
PerlModule Apache2::RequestRec
<Location />
ErrorDocument 403 /customer.pl
ErrorDocument 404 /customer.pl
#ErrorDocument 403 /otrs/index.pl
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
Order allow,deny
Allow from all
</Location>
</IfModule>

ScriptAlias /cgi-bin/ "/var/www/sac.riotinto.cflex.com.br/cgi-bin/"
<Directory "/var/www/sac.riotinto.cflex.com.br/cgi-bin/">
Options +ExecCGI -Includes
Allow from all
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
</Directory>

# MaxRequestsPerChild (so no apache child will be to big!)
# MaxRequestsPerChild 4000


<Directory "/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/">
AllowOverride None

<IfModule mod_version.c>
<IfVersion < 2.4>
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.4>
Require all granted
</IfVersion>
</IfModule>
<IfModule !mod_version.c>
Order allow,deny
Allow from all
</IfModule>

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/javascript text/css text/xml application/json text/json
</IfModule>

# Make sure CSS and JS files are read as UTF8 by the browsers.
AddCharset UTF-8 .css
AddCharset UTF-8 .js

# Set explicit mime type for woff fonts since it is relatively new and apache may not know about it.
AddType application/font-woff .woff

</Directory>

<IfModule mod_headers.c>
# Cache css-cache for 30 days
<Directory "/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/skins/*/*/css-cache">
<FilesMatch "\.(css|CSS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>

# Cache css thirdparty for 4 hours, including icon fonts
<Directory "/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/skins/*/*/css/thirdparty">
<FilesMatch "\.(css|CSS|woff|svg)$">
Header set Cache-Control "max-age=14400 must-revalidate"
</FilesMatch>
</Directory>

# Cache js-cache for 30 days
<Directory "/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/js-cache">
<FilesMatch "\.(js|JS)$">
Header set Cache-Control "max-age=2592000 must-revalidate"
</FilesMatch>
</Directory>

# Cache js thirdparty for 4 hours
<Directory "/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/thirdparty/">
<FilesMatch "\.(js|JS)$">
Header set Cache-Control "max-age=14400 must-revalidate"
</FilesMatch>
</Directory>
</IfModule>
</VirtualHost>


Log do apache :

[Mon Apr 14 15:15:25 2014] [error] Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE \t\n\n\tjQuery pub/ at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/thirdparty/jquery-pubsub/pubsub.js line 3.\n
[Mon Apr 14 15:15:25 2014] [error] Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE ! jQuery UI - v1.10.3 - 2013-05-28\n* http:/ at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/thirdparty/jquery-ui-1.10.3/jquery-ui.js line 2.\n
[Mon Apr 14 15:15:25 2014] [error] Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE \n * jQuery Hotkeys Plugin\n * Copyright 2010, John Resig\n * Dual licensed under the MIT or GPL Version 2 licenses.\n *\n * Based upon the plugin by Tzury Bar Yochay:\n * http:/ at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/thirdparty/jquery-jstree-v.pre1.0/_lib/jquery.hotkeys.js line 7.\n
[Mon Apr 14 15:15:25 2014] [error] Can't modify pattern match (m//) in postdecrement (--) at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 1, near "#line 1 /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js\n// --"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 3, near "// Copyright "\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 20, near "/**\n * @namespace\n * @exports TargetNS as Core.Exception\n * @description\n * This namespace contains the functions for handling application errors.\n */\nCore"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 34, near "})"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 43, near "TargetNS"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 49, near "$.inArray"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 57, near ") {"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 69, near "TargetNS"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 80, near "TargetNS"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js line 92, near "TargetNS"\n/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Exception.js has too many errors.\n
[Mon Apr 14 15:15:25 2014] [error] Can't modify pattern match (m//) in postdecrement (--) at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 1, near "#line 1 /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js\n// --"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 3, near ") 2001"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 20, near "/**\n * @namespace\n * @exports TargetNS as Core.Debug\n * @description\n * This namespace contains all debug functions\n */\nCore"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 23, near "==="\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 27, near "}\n else"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 30, near ";\n }"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 42, near "// NOOP function "\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 96, near "!=="\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 105, near ";\n }"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js line 116, near "TargetNS"\n/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Debug.js has too many errors.\n
[Mon Apr 14 15:15:25 2014] [error] Search pattern not terminated at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Accordion.js line 100.\n
[Mon Apr 14 15:15:25 2014] [error] Can't modify pattern match (m//) in postdecrement (--) at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 1, near "#line 1 /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js\n// --"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 3, near ") 2001"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 21, near "/**\n * @namespace\n * @exports TargetNS as Core.UI.Resizable\n * @description\n * Contains the code for resizable elements.\n */\nCore"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 35, near "TargetNS"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 39, near "// also catch "\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 46, near "// If the "\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 54, near "// Table is "\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 59, near "// Table is "\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 78, near "$.isFunction"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js line 89, near ";\n }"\n/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Resizable.js has too many errors.\n
[Mon Apr 14 15:15:25 2014] [error] Can't modify pattern match (m//) in postdecrement (--) at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 1, near "#line 1 /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js\n// --"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 3, near ") 2001"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 24, near "/**\n * @namespace\n * @exports TargetNS as Core.UI.ActionRow\n * @description\n * Action row functionality\n * @requires\n * Core.JSON\n * Core.Data\n */\nCore"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 34, near "'Small':"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 47, near "function SerializeData"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 49, near "$.each"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 53, near ";\n }"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 69, near "// The element "\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 98, near "TargetNS"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js line 102, near "// Check"\n/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.ActionRow.js has too many errors.\n
[Mon Apr 14 15:15:25 2014] [error] Can't modify pattern match (m//) in postdecrement (--) at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 1, near "#line 1 /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js\n// --"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 3, near ") 2001"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 21, near "/**\n * @namespace\n * @exports TargetNS as Core.UI.Table\n * @description\n * This namespace contains table specific functions.\n */\nCore"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 37, near "==="\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 47, near "// nth"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 51, near "$('tr:nth-child(even)'"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 56, near "// comma"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 58, near "$('th:last-child'"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 59, near "$('td:last-child'"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js line 60, near "$('li:last-child'"\n/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.UI.Table.js has too many errors.\n
[Mon Apr 14 15:15:25 2014] [error] Can't modify pattern match (m//) in postdecrement (--) at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 1, near "#line 1 /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js\n// --"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 3, near ") 2001"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 21, near "/**\n * @namespace\n * @exports TargetNS as Core.Agent.CustomerInformationCenterSearch\n * @description\n * This namespace contains the special module functions for the search.\n */\nCore"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 33, near ") {"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 40, near "// add session "\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 63, near ") {"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 66, near "$.each"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 73, near ";\n }"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 87, near "TargetNS"\nsyntax error at /var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js line 98, near ") {"\n/var/www/sac.riotinto.cflex.com.br/htdocs/var/httpd/htdocs/js/Core.Agent.CustomerInformationCenterSearch.js has too many errors.\n



Alguem pode me ajudar? qndo tento iniciar http://meusite/installer.pl , aparece a tela do OTRS sem as img, somente assim :
Bem-vindo ao OTRS

USA

OTRS Inc.

19925 Stevens Creek Blvd.

Cupertino, CA 95014-2358

Telefone: +1 (415) 3660178

Germany

xxx

Norsk-Data-Str. 1

61352 Bad Homburg

Telefone: +49 (0) 6172 681988 0

Mexico

OTRS S.A. de C.V.

Oso 127 - 105, Col. Del Valle

03100 Mexico, D.F.

Telefone: +52 55 5524 3171

The Netherlands

OTRS B.V.

Schipholweg 103

2316 XC Leiden

Telefone: +31 (0)71 8200 255

Malaysia

OTRS Solution Shd Bdn

No 17-1B, Jalan Puteri 2/7, Bandar Puteri, 47100 Puchong

Selangor

Telefone: +603 8065 3323

Hong Kong

OTRS Ltd

Rm 406, 4/F, Boss Commercial Centre

28 Ferry Street, Jordon

Telefone: +852 3690 1503

Website: www.otrs.com

E-Mail: otrsteam@otrs.com

Próximo
Desenvolvido por OTRS 3.3.6
Topo da Página


Mais não fica aparecendo as img do OTRS e quando clico em proximo aparece erro dos log ae.
juliansoares
Znuny newbie
Posts: 3
Joined: 14 Apr 2014, 20:12
Znuny Version: 3.3.6
Real Name: Julian

Re: Problema instalação

Post by juliansoares »

Image

https://docs.google.com/document/d/1MBR ... sp=sharing


ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Mon Apr 14 16:49:15 2014

Message: You need 'DatabasePw'!!

RemoteAddress: 127.0.0.1
RequestURI: /otrs/installer.pl

Traceback (11866):
Module: Kernel::Modules::Installer::Run (v1.86) Line: 232
Module: Kernel::System::Web::InterfaceInstaller::Run (v1.6) Line: 142
Module: ModPerl::ROOT::ModPerl::Registry::var_www_sac_2eriotinto_2ecflex_2ecom_2ebr_htdocs_bin_cgi_2dbin_installer_2epl::handler (unknown version) Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
AdilsonTI
Znuny newbie
Posts: 47
Joined: 06 Nov 2012, 14:50
Znuny Version: 1.3.3
Real Name: Adilson Moraes
Company: Intelcav

Re: Problema instalação

Post by AdilsonTI »

Isso já me aconteceu, porem, eu uso o S.O windows, o erro foi gerado depois que mudei a senha padrão do banco no momento da instalação no Installer.pl. Como não sei mexer nos arquivos de configuração tive que reinstalar a OTRS.
OTRS 3.3.9 on CentOS 6.5 with MySQL database.
"Faça uma pergunta melhor e terá uma resposta melhor!".
Post Reply