Package installation failure

Moderator: crythias

Post Reply
Thibault
Znuny newbie
Posts: 3
Joined: 20 Oct 2010, 09:21
Znuny Version: 2.4.7

Package installation failure

Post by Thibault »

Hello!

I try a lot of ticket solution for my entreprise, I actually prefer OTRS but I have a little problem with it...
It is installed on Ubuntu Server 10.4 64bit, up to date.

The official packages don't install, on the web interface a message show that package are not correctely installed... so, I try in console with « /usr/share/otrs/bin/opm.pl -a install -p /path/to/package.opm » and I have the following error :
ERROR: Aucun fichier ou dossier de ce type: /usr/share/otrs/Kernel/Config/Files/ZZZAuto.pm
ERROR: OTRS-opm-10 Perl: 5.10.1 OS: linux Time: Wed Oct 20 09:50:35 2010

Message: C-Parser:
undefined entity at line 76, column 26, byte 2989 at /usr/lib/perl5/XML/Parser.pm line 187
!

Traceback (26984):
Module: Kernel::System::XML::XMLParse (v1.83) Line: 1295
Module: Kernel::System::Package::PackageParse (v1.106) Line: 1559
Module: /usr/share/otrs/bin/opm.pl (v1.32) Line: 329

ERROR: OTRS-opm-10 Perl: 5.10.1 OS: linux Time: Wed Oct 20 09:50:35 2010

Message: XML::Parser produced errors. I use XML::Parser::Lite as fallback!

Traceback (26984):
Module: Kernel::System::XML::XMLParse (v1.83) Line: 1296
Module: Kernel::System::Package::PackageParse (v1.106) Line: 1559
Module: /usr/share/otrs/bin/opm.pl (v1.32) Line: 329

junk ' OTRS: Copyright 2001-2009, OTRS Project. This Software is under the AGPL. -->
' before XML element
On my last try on virtual machine, I don't have this error and I think I have apply the same installation.... (except, the last try is on 32bit version of Ubuntu Server 10.4)

The result of « ./bin/otrs.checkModules »
o CGI............................ok (v3.43)
o Date::Pcalc....................ok (v6.1)
o Date::Format...................ok (v2.23)
o DBI............................ok (v1.609)
o DBD::mysql.....................Not installed! (Optional - Required to connect to a MySQL database.)
o Digest::MD5....................ok (v2.39)
o Crypt::PasswdMD5...............ok (v1.3)
o LWP::UserAgent.................ok (v5.834)
o Encode::HanExtra...............Not installed! (Optional - Required to handle mails with several Chinese character sets.)
o IO::Scalar.....................ok (v2.110)
o IO::Wrap.......................ok (v2.110)
o MIME::Base64...................ok (v3.08)
o Mail::Internet.................ok (v2.05)
o MIME::Tools....................ok (v5.427)
o Net::DNS.......................ok (v0.65)
o Net::POP3......................ok (v2.29)
o Mail::POP3Client...............ok (v2.18 )
o IO::Socket::SSL.............ok (v1.31)
o Net::IMAP::Simple..............ok (v1.1900)
o Net::IMAP::Simple::SSL......ok (v1.3)
o Net::SMTP......................ok (v2.31)
o Authen::SASL................ok (v2.13)
o Net::SMTP::SSL..............ok (v1.01)
o Net::LDAP......................ok (v0.4001)
o GD.............................ok (v2.39)
o GD::Text....................ok (v0.86)
o GD::Graph...................ok (v1.44)
o GD::Graph::lines............ok (v1.15)
o GD::Text::Align.............ok (v1.18)
o PDF::API2......................ok (v0.73)
o Compress::Zlib..............ok (v2.02)
o SOAP::Lite.....................ok (v0.712)
o XML::Parser....................ok (v2.36)
I try to reinstall XML::Parser with « apt-get install libxml-parser-perl » and in manual with « perl -e shell -MCPAN », « XML::Parser »...

I don't find the solution, and I don't find similar problems on google... Can you help me for find it?

Thank you ;)
Thibault
Znuny newbie
Posts: 3
Joined: 20 Oct 2010, 09:21
Znuny Version: 2.4.7

Re: Package installation failure

Post by Thibault »

For information, I resolved this error when I drop the otrs database for re-create it.


But, I have an other error now :
NOTICE: CREATE TABLE créera des séquences implicites « imexport_mapping_id_seq » pour la colonne serial « imexport_mapping.id »
NOTICE: CREATE TABLE / PRIMARY KEY créera un index implicite « imexport_mapping_pkey » pour la table « imexport_mapping »
Notice: CREATE INDEX imexport_mapping_template_id ON imexport_mapping (template_id)
Notice: CREATE TABLE imexport_mapping_object (
id serial NOT NULL,
mapping_id INTEGER NOT NULL,
data_key VARCHAR (100) NOT NULL,
data_value VARCHAR (200) NOT NULL,
PRIMARY KEY(id)
)
This error seems to be cause by the charset of database.... I progress ^^
Post Reply