
Hello! I've been trying to get the system to work on a Debian GNU/Linux Woody (stable) installation, but so far, it fails me on one thing. The entire installation went flawless. After the installation I can modify, close, zoom tickets. I can add users, delete them: the lot. However: I cannot add a ticket! :-) Clicking on 'PhoneView' brings up the 'Phone call / new ticket' page. After filling in the form and pressing 'store', I get a 500 error from my Apache. This happens on 2 different machines. As far as I can tell, all required perl-modules have been installed. I get a 'Syntax OK' when performing 'perl -cw path/to/bin/cgi-bin/index.pl'. Nothing shows in the (error)logs either. The same problem occurs with the 'customer.pl' script. Does anyone have any idea how I go about debugging this? Thanks! -- Maarten (Who should have learned Perl when he had the chance!)

Hi Maarten, On Sun, Nov 03, 2002 at 10:53:13AM +0100, otrs@ignore.mine.nu wrote:
I've been trying to get the system to work on a Debian GNU/Linux Woody (stable) installation, but so far, it fails me on one thing.
The entire installation went flawless. After the installation I can modify, close, zoom tickets. I can add users, delete them: the lot.
However: I cannot add a ticket! :-)
Clicking on 'PhoneView' brings up the 'Phone call / new ticket' page. After filling in the form and pressing 'store', I get a 500 error from my Apache.
This happens on 2 different machines. As far as I can tell, all required perl-modules have been installed. I get a 'Syntax OK' when performing 'perl -cw path/to/bin/cgi-bin/index.pl'. Nothing shows in the (error)logs either.
The same problem occurs with the 'customer.pl' script.
Does anyone have any idea how I go about debugging this?
Ja, have a look to the error log of your webserver. You will find the reason there. I guess, it's a permission problem. If yes, use $OTRS_HOME/bin/SetPermission.sh!
Maarten (Who should have learned Perl when he had the chance!)
;-) Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.

Hey, Martin Thanks for the quick reply. On Sun, Nov 03, 2002 at 11:58:56PM +0100, Martin Edenhofer wrote:
However: I cannot add a ticket! :-)
Clicking on 'PhoneView' brings up the 'Phone call / new ticket' page. After filling in the form and pressing 'store', I get a 500 error from my Apache.
This happens on 2 different machines. As far as I can tell, all required perl-modules have been installed. I get a 'Syntax OK' when performing 'perl -cw path/to/bin/cgi-bin/index.pl'. Nothing shows in the (error)logs either.
The same problem occurs with the 'customer.pl' script.
Does anyone have any idea how I go about debugging this?
Ja, have a look to the error log of your webserver. You will find the reason there.
I guess, it's a permission problem. If yes, use $OTRS_HOME/bin/SetPermission.sh!
Darn! Don't know what happened, but after rebooting one server the index.pl won't even open up: it gives me a 500 error right away. But that's my problem, obviously. It's just that it annoys me. :-) Nothing shows in the error log of Apache, though... The other server did show something in the error-log. It says: ------------------------------------------------- [Mon Nov 4 00:06:17 2002] [error] Can't open /opt/OpenTRS/var/log/TicketCounter.log at /usr/local/share/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Number/DateChecksum.pm line 54. ------------------------------------------------- The problem being that I didn't install OpenTRS in /opt, but in /usr/local/ :-) Symlinking /opt/OpenTRS to /usr/local/share/OpenTRS solved that temporarily and I am now able to add tickets: life is good. :-) But I would like to know why it's looking in /opt in the first place. Was it something I did during the installation or something in the code? I'll go and check my installation first....
Maarten (Who should have learned Perl when he had the chance!)
;-)
... and then I'll learn Perl and fix the bug ;-) -- Maarten >> Security through ignorance <<

Hi Maarten, On Mon, Nov 04, 2002 at 12:25:00AM +0100, otrs@ignore.mine.nu wrote:
Ja, have a look to the error log of your webserver. You will find the reason there.
I guess, it's a permission problem. If yes, use $OTRS_HOME/bin/SetPermission.sh!
Darn! Don't know what happened, but after rebooting one server the index.pl won't even open up: it gives me a 500 error right away. But that's my problem, obviously. It's just that it annoys me. :-) Nothing shows in the error log of Apache, though...
The other server did show something in the error-log. It says:
------------------------------------------------- [Mon Nov 4 00:06:17 2002] [error] Can't open /opt/OpenTRS/var/log/TicketCounter.log at /usr/local/share/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Number/DateChecksum.pm line 54. -------------------------------------------------
The problem being that I didn't install OpenTRS in /opt, but in /usr/local/ :-)
Symlinking /opt/OpenTRS to /usr/local/share/OpenTRS solved that temporarily and I am now able to add tickets: life is good. :-)
Oh! .) Change Kernel/Config.pm -=> $Self->{Home} = '/opt/OpenTRS'; to your "/usr/local/share/OpenTRS". And you can remove the symlink.
... and then I'll learn Perl and fix the bug ;-)
.-)
Maarten >> Security through ignorance <<
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "There are two major products that come out of Berkeley: LSD and Unix. We don't believe this to be a coincidence." -- Jeremy S. Anderson
participants (2)
-
Martin Edenhofer
-
otrs@ignore.mine.nu