OTRS_ROOT not set

Hilfe zu Znuny Problemen aller Art
Locked
kevinS
Znuny newbie
Posts: 22
Joined: 25 May 2012, 14:00
Znuny Version: Otrs Helpdesk 3.3.11

OTRS_ROOT not set

Post by kevinS »

Hallo zusammen,
ich habe ein frisch installiertes OTRS Helpdesk 3.1.5 auf OpenSuse 12.1.
Nach einem Neustart oder nach dem Neustart des OTRS Dienstes lässt sich dieser nicht wieder starten.
Das starten bricht mit folgender Fehlermeldung ab:
OTRS_ROOT not set
check config: /etc/sysconfig/otrs

Anbei die otrs config:

## Path: Network/Mail/OTRS
## Description: Open source Ticket Request System configuration
## Type: string
## Default: OTRS
#
# program name
#
OTRS_PROG="OTRS"

## Type: string
## Default: /srv/otrs
#
# OTRS home (root) directory
#
OTRS_ROOT="/srv/otrs"

## Type: string(0,1)
## Default: 1
#
# The OTRS database is on this host? 1=yes, 0=no
#
OTRS_DB_RUNNING="1"

## Type: string(0,1)
## Default: 1
#
# The OTRS web server is on this host? 1=yes, 0=no
#
OTRS_HTTP_RUNNING="1"

## Type: string(0,1)
## Default: 1
#
# The OTRS cron jobs run on this host? 1=yes, 0=no
#
OTRS_CRON_RUNNING="1"

## Type: string(MySQL,PostgreSQL)
## Default: MySQL
## ServiceRestart: otrs
#
# Used database.
# Note: Take care, that you have changed the Config.pm database settings!
#
OTRS_USED_DB="MySQL"

## Type: string(rcmysql,rcpostgresql)
## Default: rcmysql
## ServiceRestart: otrs
#
# Init script to control database.
#
OTRS_USED_DB_RCSCRIPT="rcmysql"

## Type: string
## Default: apache
## ServiceRestart: otrs
#
# Used webserver
#
OTRS_USED_WEBSERVER="Apache"

## Type: string
## Default: rcapache2
## ServiceRestart: otrs
#
# Init script to control the webserver
#
OTRS_USED_WEBSERVER_RCSCRIPT="rcapache2"

## Type: string
## Default: $OTRS_ROOT/var/cron
#
# Location of the cron jobs
#
OTRS_CRON_DIR="$OTRS_ROOT/var/cron"

## Type: string
## Default: $OTRS_ROOT/var/tmp/cron
#
# Location of the temporary cron files
#
OTRS_CRON_TMP_FILE="$OTRS_ROOT/var/tmp/cron"

## Type: string
## Default: " -u otrs "
#
# Cron job user option
#
OTRS_CRON_USER=" -u otrs "

## Type: string
## Default: $( hostname -f)
#
# Command to get the systems hostname
#
OTRS_HOST="$( hostname -f)"

## Type: string
## Default: otrs
#
# OTRS location - means http://host/$OTRS_HTTP_LOCATION/index.pl
#
OTRS_HTTP_LOCATION="otrs"

## Type: string
## Default: $OTRS_ROOT/bin/PostMaster.pl
#
# Location of the PostMaster.pl script.
#
OTRS_POSTMASTER="$OTRS_ROOT/bin/PostMaster.pl"

## Type: string
## Default: $OTRS_ROOT/bin/CheckDB.pl
#
# Location of the CheckDB.pl script.
#
OTRS_CHECKDB="$OTRS_ROOT/bin/CheckDB.pl"

## Type: string
## Default: $OTRS_ROOT/bin/CleanUp.pl
#
# Location of the CleanUp.pl script.
#
OTRS_CHECKDB="$OTRS_ROOT/bin/CleanUp.pl"

## Type: string
## Default: $OTRS_ROOT/var/spool
#
# Location of the OTRS spool directory.
#
OTRS_SPOOLDIR="$OTRS_ROOT/var/spool"





Danke
Gruß Kevin
kevinS
Znuny newbie
Posts: 22
Joined: 25 May 2012, 14:00
Znuny Version: Otrs Helpdesk 3.3.11

Re: OTRS_ROOT not set

Post by kevinS »

Hat niemand ne Ahnung? Habe den Server schon neu aufgesetzt, aber nach einem Neustart das gleich Problem.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS_ROOT not set

Post by jojo »

in welchem Verzeichnis ist OTRS installiert?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
kevinS
Znuny newbie
Posts: 22
Joined: 25 May 2012, 14:00
Znuny Version: Otrs Helpdesk 3.3.11

Re: OTRS_ROOT not set

Post by kevinS »

Das Verzeichnis ist /srv/otrs
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: OTRS_ROOT not set

Post by jojo »

scheint ein issue mit dem vom Open Suse Paket bereitgestellten Pakt zu sein.

Ich empfehle daher die manuelle Installation: viewtopic.php?f=35&t=15758
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
kevinS
Znuny newbie
Posts: 22
Joined: 25 May 2012, 14:00
Znuny Version: Otrs Helpdesk 3.3.11

Re: OTRS_ROOT not set

Post by kevinS »

Hi,
hat super funktioniert mit der manuellen Installation. Danke

Nun mache ich mich mal an die LDAP Anbinung.

Gruß Kevin
Locked