problem otrs 3.3.6

Moderator: crythias

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

problem otrs 3.3.6

Post by juliansoares »

otrs - 3.3.6
debian 7 x64
apache2 + mysql


otrs installed on my notebook has 2 problems that are happening :

1. problem

clicking 'ticket' -> Queue view or status view, it appears : https://docs.google.com/document/d/1Q1Z ... cHmYc/edit

error : https://docs.google.com/document/d/1_n- ... sp=sharing

logs apache :

[Tue Apr 15 12:53:28 2014] -e: Use of uninitialized value in subtraction (-) at /var/www/sac.riotinto.cflex.com.br/htdocs/Kernel/Output/HTML/NotificationSchedulerCheck.pm line 60.
[Tue Apr 15 12:53:28 2014] [error] Can't locate object method "new" via package "Kernel::System::GeneralCatalog" (perhaps you forgot to load "Kernel::System::GeneralCatalog"?) at /var/www/sac.cflex.com.br/htdocs//Kernel/Output/HTML/TicketOverviewPreview.pm line 44.\n
[Tue Apr 15 12:54:44 2014] -e: Use of uninitialized value in subtraction (-) at /var/www/sac.riotinto.cflex.com.br/htdocs/Kernel/Output/HTML/NotificationSchedulerCheck.pm line 60.
[Tue Apr 15 12:54:44 2014] [error] Can't locate object method "new" via package "Kernel::System::GeneralCatalog" (perhaps you forgot to load "Kernel::System::GeneralCatalog"?) at /var/www/sac.cflex.com.br/htdocs//Kernel/Output/HTML/TicketOverviewPreview.pm line 44.\n




config apache2 :

Code: Select all

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

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

<IfModule mod_perl.c>

    # Setup environment and preload modules
    Perlrequire /var/www/sac.riotinto.cflex.com.br/htdocs/scripts/apache2-perl-startup.pl

    # Reload Perl modules when changed on disk
    PerlModule Apache2::Reload
    PerlInitHandler Apache2::Reload

    # general mod_perl2 options
    <Location /otrs>
        ErrorDocument 403 /otrs/customer.pl
        ErrorDocument 403 /otrs/index.pl
        SetHandler  perl-script
        PerlResponseHandler ModPerl::Registry
        Options +ExecCGI
        PerlOptions +ParseHeaders
        PerlOptions +SetupEnv

        <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>
    </Location>

    # mod_perl2 options for GenericInterface
    <Location /otrs/nph-genericinterface.pl>
        PerlOptions -ParseHeaders
    </Location>

</IfModule>

<Directory "/var/www/sac.riotinto.cflex.com.br/htdocs/bin/cgi-bin/">
    AllowOverride None
    Options +ExecCGI -Includes

    <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>
</Directory>

<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>

# Limit the number of requests per child to avoid excessive memory usage
#MaxRequestsPerChild 4000
</VirtualHost>



2.problem

this keeps popping 'scheduler' force appears when I click start button, but there click 'scheduler start' back again the error message : https://docs.google.com/document/d/1WYq ... sp=sharing
Last edited by crythias on 24 Apr 2014, 13:34, edited 1 time in total.
Reason: [code] tags
Christoph89
Znuny newbie
Posts: 19
Joined: 16 Apr 2014, 15:27
Znuny Version: 3.3.6

Re: problem otrs 3.3.6

Post by Christoph89 »

Hi,

Answer to the first problem (scheduler isn't a real problem ;-) ):
It seams like your installation looks for the GeneralCatalog which is an ITSM Module. Are you sure you only installed the standard OTRS? Did you copy any config files from a host that has ITSM Modules installed?
If this is a clean install and you changed nothing, then we need to go deeper investigating ...

Greetings Christoph
Locked