OTRS instance


 
Thread Tools Search this Thread
Operating Systems Linux OTRS instance
# 1  
Old 05-18-2005
CPU & Memory OTRS instance

hi frnds

here i m trying to configure OTRS instance but i m getting the following error message
while runnning through browser.
I m writing the following http://192.168.1.55:8080/otrs2/index.pl

"
#!/usr/bin/perl -w
# --
# index.pl - the global CGI handle file (incl. auth) for OTRS
# Copyright (C) 2001-2004 Martin Edenhofer <martin+code@otrs.org>
# --
# $Id: index.pl,v 1.66 2004/02/13 00:33:58 martin Exp $
# --
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# --

# use ../../ as lib location
use FindBin qw($Bin);
use lib "$Bin/../..";
use lib "$Bin/../../Kernel/cpan-lib";

use strict;

use vars qw($VERSION @INC);
$VERSION = '$Revision: 1.66 $';
$VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;

# --
# 0=off;1=on;
# --
my $Debug = 0;

# --
# check @INC for mod_perl (add lib path for "require module"!)
# --
push (@INC, "$Bin/../..", "$Bin/../../Kernel/cpan-lib");

# --
# all framework needed modules
# (if you use mod_perl with startup.pl, drop this "use Kernel::.." and add
# this to your startup.pl)
# --
use Kernel::Config;
use Kernel::Config::Modules;
use Kernel::System::Log;
use Kernel::System::WebRequest;
use Kernel::System:SmilieB;
use Kernel::System::Auth;
use Kernel::System::AuthSession;
use Kernel::System::User;
use Kernel::System::Group;
use Kernel::System::Permission;
use Kernel::Output::HTML::Generic;
"

Can anybody help me for this.
Mit
# 2  
Old 05-18-2005
Obviously, your Web server is not configured to execute Perl CGI scripts, or you did not give the execute permission required to the script, or you placed the script in a directory where CGI scripts are disallowed to execute (for example, many Web hosts require CGI scripts to be placed in a directory named "cgi-bin").

Check with the server administrator.
# 3  
Old 05-20-2005
CPU & Memory 404 page not found

hi frnd

im still having the problem i have checked all the things my i have given permission as
755 to the directory and subdir otrs2 ,also the pl files are in cgi-bin,and my apache configuration i have created virtual ip.The config is below

Listen 192.168.10.201:8080
ServerName 192.168.10.201

<VirtualHost 192.168.10.201:8080>

ServerName 192.168.10.201:8080
ServerAdmin root@localhost
DocumentRoot /opt/otrs2/var/httpd/htdocs/
# DirectoryIndex index.pl
Alias /otrs/ "/opt/otrs2/bin/cgi-bin/"

<IfModule mod_perl.c>
<Location /otrs>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
</Location>
</IfModule>

</VirtualHost>

Also define in /etc/services

by httpd 8080/tcp
8080/udp

in the brwoser i m typing

http://192.168.10.201/otrs2/index.pl

404 not found. Its showing requested URL was not found

i also tried by giving http://192.168.10.201:8080/otrs2/index.pl

than it is displaying the scripting page of index.pl file.


please kindly help for the following.

Mit
# 4  
Old 05-20-2005
You use mod_perl to serve CGI? Yes it can, but I bet you may try to verify it can be served correctly with mod_cgi first.

You should use the 8080 port as you have configured it at the Web server this way.
# 5  
Old 05-23-2005
CPU & Memory 500 internal server error

hi frnds

i m getting an 500 internal server error on my otrs1 ,what is the cause for this error
is it because of apache ,mysql or the file is having a problem. i am getting this error when being a customer i.e from customer.pl i m trying to send a ticket to index.pl i.e the root@localhost. The error is as below.


" Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log. "
# 6  
Old 05-23-2005
Please post the corresponding error message in the Apache error log file.
# 7  
Old 05-23-2005
CPU & Memory apache error msg

[Mon May 23 14:50:57 2005] [error] 3344: ModPerl::Registry: Can't write /opt/otrs/var/log/TicketCounter.log: at /usr/lib/perl5/5.8.0/CGI/Carp.pm line 301.!
Can't read /opt/otrs/RELEASE: No such file or directoryCan't read /opt/otrs/RELEASE: No such file or directory

here is the above apache error message i m getting while sending mail to root@localhost by the client.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Linux

OTRS Development

Where I can find OTRS development company in Chicago? (1 Reply)
Discussion started by: vamshi1
1 Replies

2. Shell Programming and Scripting

Keep the last instance of the record

Hi All, I have a input file like 1| abc 1| abcd 1| abcde 2| abc 2| abcd 3| abcde I want the output like 1| abcde 2| abcde Any help would be highly appreciated. Thanks in advance. (9 Replies)
Discussion started by: lrkp
9 Replies

3. Shell Programming and Scripting

What does : do in this instance

Guys please see below functions to return a status depending on user input. Both seem to work the same. The second way has a : line which i can't understand or see in a ksh manual anywhere. Instead of doing the variable change if its empty on this line the first function simply does it on the... (7 Replies)
Discussion started by: lavascript
7 Replies

4. Shell Programming and Scripting

matching first instance of FS

Hi All, I have a property in a file as: property=value=a If I use FS="=" then I want only first = to be considered as field separator and remaining as value echo -e "property=value=a" | awk -F= '{print $2}' ie my $2 should be value=a Can anyone please help me with this. I need it in... (3 Replies)
Discussion started by: gurukottur
3 Replies

5. Shell Programming and Scripting

replace first instance(not first instance in line)

Alright, I think I know what I am doing with sed(which probably means I don't). But I cant figure out how to replace just the first occurance of a string. I have tried sed, ed, and grep but can't seem to figure it out. If you have any suggestions I am open to anything! (3 Replies)
Discussion started by: IronHorse7
3 Replies

6. Linux

OTRS installation problem

hi frnds I had currently installed OTRS through rpm for Enterprise Linux 3 but its showing the following problems. cmd : rpm -ivh otrs-1.2.4-1.1.el3.dag.noarch.rpm warning: otrs-1.2.4-1.1.el3.dag.noarch.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed... (0 Replies)
Discussion started by: naik_mit
0 Replies
Login or Register to Ask a Question