Results 1 to 7 of 7

Thread: Installing OTRS on opensuse 12.2

  1. #1

    Default Installing OTRS on opensuse 12.2

    I want to install OTRS on opensuse but something seems to be broken. Made clean opensuse 12.2 network install + all updates. Installed otrs packages and according to configuraton I have to go localhost/otrs/installation.pl to continue but I get error message that I dont know what to do with:
    Server error!

    The server encountered an internal error and was unable to complete your request.
    Error message:
    syntax error at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 15, near "'http://ftp.otrs.org/pub/otrs/itsm/packages31/'" syntax error at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 18, near "}" Compilation failed in require at /srv/otrs//Kernel/Config/Defaults.pm line 1860. ,

    If you think this is a server error, please contact the webmaster.
    Error 500

    any ides?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,038
    Blog Entries
    14

    Default Re: Installing OTRS on opensuse 12.2

    Where did you get OTRS from, and how did you install it. Packages are available from here, I don't have the time ATM to test, but in the past they worked. Also, use the documentation that comes with OTRS, IIRC it was quite good.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: Installing OTRS on opensuse 12.2

    I installed otrs from opensuse repos ... i just checked apache log on it says a bit more:
    [Wed Nov 21 15:17:28 2012] ZZZAuto.pm: String found where operator expected at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 15, near "'http://ftp.otrs.org/pub/otrs/itsm/packages31/'"
    [Wed Nov 21 15:17:28 2012] ZZZAuto.pm: (Missing semicolon on previous line?)
    [Wed Nov 21 15:17:28 2012] [error] syntax error at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 15, near "'http://ftp.otrs.org/pub/otrs/itsm/packages31/'"\nsyntax error at /srv/otrs/Kernel/Config/Files/ZZZAuto.pm line 18, near "}"\nCompilation failed in require at /srv/otrs//Kernel/Config/Defaults.pm line 1860.\n
    [Wed Nov 21 15:17:28 2012] [error] [client 192.168.100.211] File does not exist: /srv/www/htdocs/favicon.ico

  4. #4

    Default Re: Installing OTRS on opensuse 12.2

    Well, I figured it out myself ... file /srv/otrs/Kernel/Config/Files/ZZZAuto.pm is buggy it is missing a comma ,
    as the apache log says on line 15
    $Self->{'Package::RepositoryList'} = {
    'file:///srv/otrs/itsm/packages30/' => '[--OTRS::ITSM 3.0 local repo]',
    'file:///srv/otrs/itsm/packages31/' => '[--OTRS::ITSM 3.1 local repo]',
    'http://ftp.otrs.org/pub/otrs/itsm/packages30/' => '[--OTRS::ITSM 3.0 Master--] Index of /' <- line 15 and should contain , at the end
    'http://ftp.otrs.org/pub/otrs/itsm/packages31/' => '[--OTRS::ITSM 3.1 Master--] Index of /'
    };

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,038
    Blog Entries
    14

    Default Re: Installing OTRS on opensuse 12.2

    Quote Originally Posted by andreskaaber View Post
    Well, I figured it out myself ... file /srv/otrs/Kernel/Config/Files/ZZZAuto.pm is buggy it is missing a comma ,
    as the apache log says on line 15
    $Self->{'Package::RepositoryList'} = {
    'file:///srv/otrs/itsm/packages30/' => '[--OTRS::ITSM 3.0 local repo]',
    'file:///srv/otrs/itsm/packages31/' => '[--OTRS::ITSM 3.1 local repo]',
    'http://ftp.otrs.org/pub/otrs/itsm/packages30/' => '[--OTRS::ITSM 3.0 Master--] Index of /' <- line 15 and should contain , at the end
    'http://ftp.otrs.org/pub/otrs/itsm/packages31/' => '[--OTRS::ITSM 3.1 Master--] Index of /'
    };
    OK, you went ahead of me , I was going to tell you to inspect the apache2 logs..... Please, do file a bugreport, so that the devs can fix this.
    BTW, does this mean you've got it up and running now ?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6

    Default Re: Installing OTRS on opensuse 12.2

    Yep, its up and running now.

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,038
    Blog Entries
    14

    Default Re: Installing OTRS on opensuse 12.2

    Quote Originally Posted by andreskaaber View Post
    Yep, its up and running now.
    Then, please file a bug report, with your "solution" included, and it should get fixed in next releases/packages.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •