Apache lässt sich nicht starten

Hilfe zu Znuny Problemen aller Art
Locked
zuckerbaeckerin
Znuny advanced
Posts: 144
Joined: 29 Aug 2011, 11:55
Znuny Version: 3.0.10

Apache lässt sich nicht starten

Post by zuckerbaeckerin »

Hallo, kann schon sein, dass das hier mehr ein Problem ist, dass nicht wirklich mit OTRS zusammenhängt, aber es verhindert ja zumindest, dass OTRS läuft :)

also, unser OTRS lief eine längere Zeit, wurde aber noch nicht benutzt. Jetzt nach nem halben Jah soll es endlich benutzt werden und wir kriegen komische Fehler.
1. apache meldet den Fehler, dass die perl512.dll fehlt. Komisch, da es doch mal funktioniert hat.
2. ich hab dann ne neue dll heruntergeladen. dann bekomme ich folgende Meldung:

Code: Select all

[Fri Jul 05 15:03:51 2013] [error] Can't load Perl file: C:/OTRS/OTRS/scripts/apache2-perl-startup.pl for server xxxxx, exiting...
[Fri Jul 05 15:04:10 2013] [error] Attempt to reload Config.pm aborted.\nCompilation failed in require at C:/OTRS/StrawberryPerl/perl/lib/lib.pm line 6.\nBEGIN failed--compilation aborted at C:/OTRS/StrawberryPerl/perl/lib/lib.pm line 6.\nCompilation failed in require at C:/OTRS/OTRS/scripts/apache2-perl-startup.pl line 38.\nBEGIN failed--compilation aborted at C:/OTRS/OTRS/scripts/apache2-perl-startup.pl line 38.\nCompilation failed in require at (eval 2) line 1.\n
3. dann hab ich ne dll aus einer anderen (älteren) OTRS version benutzt (beide aber gleiche versionsnummer), dann gibts folgenden Fehler:

Code: Select all

Fri Jul 05 15:21:52 2013] [error] Can't locate loadable object for module Fcntl in @INC (@INC contains: C:/OTRS/Apache/Custom C:/OTRS/Apache/Kernel/cpan-lib C:/OTRS/Apache C:/OTRS/OTRS/Custom C:/OTRS/OTRS/Kernel/cpan-lib C:/OTRS/OTRS/ C:/OTRS/StrawberryPerl/perl/site/lib C:/OTRS/StrawberryPerl/perl/vendor/lib C:/OTRS/StrawberryPerl/perl/lib .) at C:/OTRS/StrawberryPerl/perl/lib/Fcntl.pm line 216\nBEGIN failed--compilation aborted at C:/OTRS/StrawberryPerl/perl/lib/Fcntl.pm line 216.\nCompilation failed in require at C:/OTRS/StrawberryPerl/perl/lib/File/stat.pm line 30.\nBEGIN failed--compilation aborted at C:/OTRS/StrawberryPerl/perl/lib/File/stat.pm line 30.\nCompilation failed in require at C:/OTRS/OTRS//Kernel/Config/Defaults.pm line 41.\nBEGIN failed--compilation aborted at C:/OTRS/OTRS//Kernel/Config/Defaults.pm line 41.\nCompilation failed in require at C:/OTRS/OTRS//Kernel/Config.pm line 249.\nBEGIN failed--compilation aborted at C:/OTRS/OTRS//Kernel/Config.pm line 249.\nCompilation failed in require at C:/OTRS/OTRS/scripts/apache2-perl-startup.pl line 70.\nBEGIN failed--compilation aborted at C:/OTRS/OTRS/scripts/apache2-perl-startup.pl line 70.\nCompilation failed in require at (eval 10) line 1.\n
[Fri Jul 05 15:21:52 2013] [error] Can't load Perl file: C:/OTRS/OTRS/scripts/apache2-perl-startup.pl for server xxxxx, exiting...
4. dort wo er die Server anspricht hat er im oberen Fall nen falschen Port und im unteren eine falsche Adresse. vielleicht liegts ja schon daran und ihr könnt mir sagen wo ich sowas einstelle.

Ich hoffe, dass es Montag wieder läuft, mit eurer Hilfe.

Danke schonmal :)
[LIVE]OTRS 3.0.10
ITSM 3.0.5
unter Windows
mit Oracle
zuckerbaeckerin
Znuny advanced
Posts: 144
Joined: 29 Aug 2011, 11:55
Znuny Version: 3.0.10

Re: Apache lässt sich nicht starten

Post by zuckerbaeckerin »

Ich hab jetzt noch folgendes gefunden, aber ich weiß nicht, ob mir das weiterhelfen könnte:
viewtopic.php?t=18396&p=72308

deswegen hier meine Config.pm. Aber wie gesagt, eigentlich dürfte daran nichts verändert worden sein


Code: Select all

# --
# Kernel/Config.pm - Config file for OTRS kernel
# Copyright (C) 2001-2010 xxx, http://otrs.org/
# --
# $Id: Config.pm.dist,v 1.23 2010/01/13 22:25:00 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --
#  Note:
#
#  -->> OTRS does have a lot of config settings. For more settings
#       (Notifications, Ticket::ViewAccelerator, Ticket::NumberGenerator,
#       LDAP, PostMaster, Session, Preferences, ...) see
#       Kernel/Config/Defaults.pm and copy your wanted lines into "this"
#       config file. This file will not be changed on update!
#
# --

package Kernel::Config;

sub Load {
    my $Self = shift;
    # ---------------------------------------------------- #
    # ---------------------------------------------------- #
    #                                                      #
    #         Start of your own config options!!!          #
    #                                                      #
    # ---------------------------------------------------- #
    # ---------------------------------------------------- #

    # ---------------------------------------------------- #
    # database settings                                    #
    # ---------------------------------------------------- #
    # DatabaseHost
    # (The database host.)
    $Self->{'DatabaseHost'} = 'xxx';
    # Database
    # (The database name.)
    $Self->{'Database'} = 'xxx';
    # DatabaseUser
    # (The database user.)
    $Self->{'DatabaseUser'} = 'xxx';
    # DatabasePw
    # (The password of database user. You also can use bin/otrs.CryptPassword.pl
    # for crypted passwords.)
    $Self->{'DatabasePw'} = 'xxx';
    # DatabaseDSN
    # (The database DSN for MySQL ==> more: "man DBD::mysql")
    # $Self->{DatabaseDSN} = "DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost};";

    # (The database DSN for PostgreSQL ==> more: "man DBD::Pg")
    # if you want to use a local socket connection
#    $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
    # if you want to use a tcpip connection
#    $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};host=$Self->{DatabaseHost};";

# (The database DSN for Oracle ==> more: "man DBD::oracle")
    $Self->{DatabaseDSN} = "DBI:Oracle:sid=$Self->{Database};host=$Self->{DatabaseHost};";
   # $Self->{DatabaseDSN} = "DBI:Oracle:sid=vingador;host=vingador;port=1521;";


# if needed, oracle env settings
    $ENV{ORACLE_HOME} = '/oracle/product/11.2.0/client';
   # $ENV{ORACLE_HOME} = '/oradb_db1';
    $ENV{NLS_DATE_FORMAT} = 'YYYY-MM-DD HH24:MI:SS';
    $ENV{NLS_LANG} = "german_germany.utf8";
   # $ENV{NLS_LANG} = "german_germany.we8iso8859p15";
   # $ENV{NLS_LANG} = "american_america.we8iso8859p1";
    # ---------------------------------------------------- #
    # fs root directory
    # ---------------------------------------------------- #
    $Self->{Home} = 'C:/OTRS/OTRS';

    # ---------------------------------------------------- #
    # insert your own config settings "here"               #


	# ticket acl - remove state for all
 $Self->{TicketAcl}->{'ACL-Name-5'} = {

 # match properties
 Properties => {
 # current ticket match properties (match always)
 },

 # return possible options
 PossibleNot => {

 # possible ticket options
 Ticket => {
 State => ['in progress', 'released', 'rejected', 'closed', 'valuation'],
 },
 },
 };


 # ticket acl - enable all states for admin group
 $Self->{TicketAcl}->{'ACL-Name-6'} = {

 # match properties
 Properties => {

 # current ticket match properties
 User => {
 Group_rw => [
 'fleeture GmbH',
 ],
 },
 },


 # return possible options (white list)
 PossibleNot => {

 # possible ticket options
 Ticket => {
 State => ['declined','cost-release','approved'],
 },
 },
 };


# CustomerUser
    # (customer user database backend and settings)
    $Self->{CustomerUser} = {
        Name   => 'Database Backend',
        Module => 'Kernel::System::CustomerUser::DB',
        Params => {
            # if you want to use an external database, add the
            # required settings
#            DSN => 'DBI:odbc:yourdsn',
#            DSN => 'DBI:mysql:database=customerdb;host=customerdbhost',
#            User => '',
#            Password => '',
            Table => 'customer_user',
            # CaseSensitive will control if the SQL statements need LOWER()
            #   function calls to work case insensitively. Setting this to
            #   1 will improve performance dramatically on large databases.
            CaseSensitive => 0,
        },

        # customer uniq id
        CustomerKey => 'login',

        # customer #
        CustomerID             => 'customer_id',
        CustomerValid          => 'valid_id',
        CustomerUserListFields => [ 'first_name', 'last_name', 'email' ],

#        CustomerUserListFields => ['login', 'first_name', 'last_name', 'customer_id', 'email'],
        CustomerUserSearchFields           => [ 'login', 'first_name', 'last_name', 'customer_id' ],
        CustomerUserSearchPrefix           => '*',
        CustomerUserSearchSuffix           => '*',
        CustomerUserSearchListLimit        => 250,
        CustomerUserPostMasterSearchFields => ['email'],
        CustomerUserNameFields     => [ 'title', 'first_name', 'last_name' ],
        CustomerUserEmailUniqCheck => 1,

#        # show now own tickets in customer panel, CompanyTickets
#        CustomerUserExcludePrimaryCustomerID => 0,
#        # generate auto logins
#        AutoLoginCreation => 0,
#        # generate auto login prefix
#        AutoLoginCreationPrefix => 'auto',
#        # admin can change customer preferences
#        AdminSetPreferences => 1,
#        # use customer company support (reference to company, See CustomerCompany settings)
        CustomerCompanySupport => 1,
#        # cache time to live in sec. - cache any database queries
#        CacheTTL => 0,
#        # just a read only source
#        ReadOnly => 1,
        Map => [

            # note: Login, Email and CustomerID needed!
            # var, frontend, storage, shown (1=always,2=lite), required, storage-type, http-link, readonly, http-link-target
            [ 'UserTitle',      'Title',      'title',      1, 0, 'var', '', 0 ],
            [ 'UserFirstname',  'Firstname',  'first_name', 1, 1, 'var', '', 0 ],
            [ 'UserLastname',   'Lastname',   'last_name',  1, 1, 'var', '', 0 ],
            [ 'UserLogin',      'Username',   'login',      1, 1, 'var', '', 0 ],
            [ 'UserPassword',   'Password',   'pw',         0, 0, 'var', '', 0 ],
            [ 'UserEmail',      'Email',      'email',      1, 1, 'var', '', 0 ],

#            [ 'UserEmail',      'Email', 'email',           1, 1, 'var', '$Env{"CGIHandle"}?Action=AgentTicketCompose&ResponseID=1&TicketID=$Data{"TicketID"}&ArticleID=$Data{"ArticleID"}', 0 ],
            [ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var', '', 0 ],

#            [ 'UserCustomerIDs', 'CustomerIDs', 'customer_ids', 1, 0, 'var', '', 0 ],
            [ 'UserPhone',        'Phone',       'phone',        1, 0, 'var', '', 0 ],
            [ 'UserFax',          'Fax',         'fax',          1, 0, 'var', '', 0 ],
            [ 'UserMobile',       'Mobile',      'mobile',       1, 0, 'var', '', 0 ],
            [ 'UserStreet',       'Street',      'street',       1, 0, 'var', '', 0 ],
            [ 'UserZip',          'Zip',         'zip',          1, 0, 'var', '', 0 ],
            [ 'UserCity',         'City',        'city',         1, 0, 'var', '', 0 ],
            [ 'UserCountry',      'Country',     'country',      1, 0, 'var', '', 0 ],
            [ 'UserComment',      'Comment',     'comments',     1, 0, 'var', '', 0 ],
            [ 'ValidID',          'Valid',       'valid_id',     0, 1, 'int', '', 0 ],
        ],

        # default selections
        Selections => {

#            UserTitle => {
#                'Mr.' => 'Mr.',
#                'Mrs.' => 'Mrs.',
#            },
        },
    };




    # config settings taken from Kernel/Config/Defaults.pm #
    # ---------------------------------------------------- #
    # $Self->{SessionUseCookie} = 0;
    # $Self->{CheckMXRecord} = 0;

    # ---------------------------------------------------- #

    # ---------------------------------------------------- #
    # data inserted by installer                           #
    # ---------------------------------------------------- #

    $Self->{LogModule}          = 'Kernel::System::Log::File';
    $Self->{LogModule::LogFile} = 'C:/OTRS/OTRS/var/log/otrs.log';
    # $DIBI$
    $Self->{'DefaultCharset'} = 'utf-8';


    # ---------------------------------------------------- #
    # ---------------------------------------------------- #
    #                                                      #
    #           End of your own config options!!!          #
    #                                                      #
    # ---------------------------------------------------- #
    # ---------------------------------------------------- #
}

# ---------------------------------------------------- #
# needed system stuff (don't edit this)                #
# ---------------------------------------------------- #
use strict;
use warnings;

use vars qw(@ISA $VERSION);
$VERSION = qw($Revision: 1.23 $)[1];

use Kernel::Config::Defaults;
push (@ISA, 'Kernel::Config::Defaults');

# -----------------------------------------------------#

1;
edit:
es funktioniert wieder.
Es fehlten Dateien und ich hab einfach Perl erneuert
[LIVE]OTRS 3.0.10
ITSM 3.0.5
unter Windows
mit Oracle
Locked