
Hi folks i'm trying to sun OTRS on a solaris 9 machine (sparc), even the main page wont come up to begin with: [Mon Jul 14 10:07:14 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl Invalid argument at /opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 62. commenting out the "ipc stuff" function that ends at line 62 in Log.pm allows me to log in as the default user, look around, but as soon as i try to make any changes, like adding a user, it hangs and eventually returns a timeout. any clues? regards.

Install scripts don't work on Solaris (I had the same problems). You have to do all things that install scripts do by youself manualy. And after that everything works as it should! :) Regards, Alex
-----Original Message----- From: otrs-admin@otrs.org [mailto:otrs-admin@otrs.org] On Behalf Of Kieran Fulke - Sun Remote Monitoring Centre Sent: 14. julij 2003 11:30 To: otrs@otrs.org Subject: [otrs] OTRS / Solaris 9
Hi folks
i'm trying to sun OTRS on a solaris 9 machine (sparc), even the main page wont come up to begin with:
[Mon Jul 14 10:07:14 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl Invalid argument at /opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 62.
commenting out the "ipc stuff" function that ends at line 62 in Log.pm allows me to log in as the default user, look around, but as soon as i try to make any changes, like adding a user, it hangs and eventually returns a timeout.
any clues?
regards.
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

do the installer scripts tailor the shared-memory setup of login session? :) Alex Mihicinac wrote:
Install scripts don't work on Solaris (I had the same problems). You have to do all things that install scripts do by youself manualy. And after that everything works as it should! :)
Regards,
Alex
-----Original Message----- From: otrs-admin@otrs.org [mailto:otrs-admin@otrs.org] On Behalf Of Kieran Fulke - Sun Remote Monitoring Centre Sent: 14. julij 2003 11:30 To: otrs@otrs.org Subject: [otrs] OTRS / Solaris 9
Hi folks
i'm trying to sun OTRS on a solaris 9 machine (sparc), even the main page wont come up to begin with:
[Mon Jul 14 10:07:14 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl Invalid argument at /opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 62.
commenting out the "ipc stuff" function that ends at line 62 in Log.pm allows me to log in as the default user, look around, but as soon as i try to make any changes, like adding a user, it hangs and eventually returns a timeout.
any clues?
regards.
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Kieran, On Mon, Jul 14, 2003 at 10:29:53AM +0100, Kieran Fulke - Sun Remote Monitoring Centre wrote:
i'm trying to sun OTRS on a solaris 9 machine (sparc), even the main page wont come up to begin with:
[Mon Jul 14 10:07:14 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl Invalid argument at /opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 62.
commenting out the "ipc stuff" function that ends at line 62 in Log.pm allows me to log in as the default user, look around, but as soon as i try to make any changes, like adding a user, it hangs and eventually returns a timeout.
any clues?
At first, disable the IPC stuff by adding "$Self->{IPC} = 0;" to line 64. After "}" before "return $Self;". So you are sure that Kernel/System/Log.pm doesn't use IPC anymore. What kind of timeouts (webserver error log)? dns timeouts? Maybe your internal network can't resolve external dns (OTRS checks the mx of used email addresses per default). Disable it by adding the following config option to your Kernel/Config.pm: $Self->{CheckMXRecord} = 0; (Learn more about the config file: http://doc.otrs.org/1.1/html/configfile.html) Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "Security is a process, not a product." - Bruce Schneier

Martin Edenhofer wrote:
Hi Kieran,
On Mon, Jul 14, 2003 at 10:29:53AM +0100, Kieran Fulke - Sun Remote Monitoring Centre wrote:
i'm trying to sun OTRS on a solaris 9 machine (sparc), even the main page wont come up to begin with:
[Mon Jul 14 10:07:14 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl Invalid argument at /opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 62.
commenting out the "ipc stuff" function that ends at line 62 in Log.pm allows me to log in as the default user, look around, but as soon as i try to make any changes, like adding a user, it hangs and eventually returns a timeout.
any clues?
At first, disable the IPC stuff by adding "$Self->{IPC} = 0;" to line 64. After "}" before "return $Self;". So you are sure that Kernel/System/Log.pm doesn't use IPC anymore.
with this in place, i still get a 500 error on the web browser, and the error message in apache/logs/error_log is still : "[Mon Jul 14 11:00:10 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl Invalid argument at /opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 62."
What kind of timeouts (webserver error log)? dns timeouts?
[Fri Jul 11 16:02:42 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl query timed out at /opt/otrs/bin/cgi-bin/../../Kernel/System/CheckItem.pm line 68
Maybe your internal network can't resolve external dns (OTRS checks the mx of used email addresses per default).
i thought of this one beforehand, we're only going to be using it for internal testing, no outside access needed, so i had that disabled anyway.
Disable it by adding the following config option to your Kernel/Config.pm:
$Self->{CheckMXRecord} = 0;
(Learn more about the config file: http://doc.otrs.org/1.1/html/configfile.html)
Martin
-- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "Security is a process, not a product." - Bruce Schneier
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Kieran, On Mon, Jul 14, 2003 at 11:06:22AM +0100, kieran fulke wrote:
[...] commenting out the "ipc stuff" function that ends at line 62 in Log.pm allows me to log in as the default user, look around, but as soon as i try to make any changes, like adding a user, it hangs and eventually returns a timeout.
any clues?
At first, disable the IPC stuff by adding "$Self->{IPC} = 0;" to line 64. After "}" before "return $Self;". So you are sure that Kernel/System/Log.pm doesn't use IPC anymore.
with this in place, i still get a 500 error on the web browser, and the error message in apache/logs/error_log is still :
"[Mon Jul 14 11:00:10 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl Invalid argument at /opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 62."
Opps... I mean add the "$Self->{IPC} = 0;" line and comment your line 62 in Log.pm out (both). :) (The IPC stuff seems to be different from Linux, BSD, Mac, ... but is it not working for you Alex?)
What kind of timeouts (webserver error log)? dns timeouts?
[Fri Jul 11 16:02:42 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl query timed out at /opt/otrs/bin/cgi-bin/../../Kernel/System/CheckItem.pm line 68
Maybe your internal network can't resolve external dns (OTRS checks the mx of used email addresses per default).
i thought of this one beforehand, we're only going to be using it for internal testing, no outside access needed, so i had that disabled anyway.
Yes dns timeouts, disable mx checking and you will be able to create user... Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl

Martin Edenhofer wrote:
Hi Kieran,
On Mon, Jul 14, 2003 at 11:06:22AM +0100, kieran fulke wrote:
[...] commenting out the "ipc stuff" function that ends at line 62 in Log.pm allows me to log in as the default user, look around, but as soon as i try to make any changes, like adding a user, it hangs and eventually returns a timeout.
any clues?
At first, disable the IPC stuff by adding "$Self->{IPC} = 0;" to line 64. After "}" before "return $Self;". So you are sure that Kernel/System/Log.pm doesn't use IPC anymore.
with this in place, i still get a 500 error on the web browser, and the error message in apache/logs/error_log is still :
"[Mon Jul 14 11:00:10 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl Invalid argument at /opt/otrs/bin/cgi-bin/../../Kernel/System/Log.pm line 62."
Opps... I mean add the "$Self->{IPC} = 0;" line and comment your line 62 in Log.pm out (both). :)
(The IPC stuff seems to be different from Linux, BSD, Mac, ... but is it not working for you Alex?)
that works now, i can log in at least .... 2 new errors for you though ;) (afraid i dont understand much perl, not right now, anyway) "[Mon Jul 14 11:31:31 2003] index.pl: Use of uninitialized value in concatenation (.) or string at ../..//Kernel/Output/HTML/Admin.pm line 840. query timed out at /opt/otrs/bin/cgi-bin/../../Kernel/System/CheckItem.pm line 68 [Mon Jul 14 11:33:26 2003] [error] [client 129.159.90.39] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl" this was when i tried to add a user to OTRS.
What kind of timeouts (webserver error log)? dns timeouts?
[Fri Jul 11 16:02:42 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl query timed out at /opt/otrs/bin/cgi-bin/../../Kernel/System/CheckItem.pm line 68
Maybe your internal network can't resolve external dns (OTRS checks the mx of used email addresses per default).
i thought of this one beforehand, we're only going to be using it for internal testing, no outside access needed, so i had that disabled anyway.
Yes dns timeouts, disable mx checking and you will be able to create user...
Martin
-- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi Kieran, On Mon, Jul 14, 2003 at 11:37:21AM +0100, kieran fulke wrote:
[...] Opps... I mean add the "$Self->{IPC} = 0;" line and comment your line 62 in Log.pm out (both). :)
(The IPC stuff seems to be different from Linux, BSD, Mac, ... but is it not working for you Alex?)
that works now, i can log in at least .... 2 new errors for you though ;) (afraid i dont understand much perl, not right now, anyway)
"[Mon Jul 14 11:31:31 2003] index.pl: Use of uninitialized value in concatenation (.) or string at ../..//Kernel/Output/HTML/Admin.pm line 840.
This is just a perl warning, not nice but it would work anyway.
query timed out at /opt/otrs/bin/cgi-bin/../../Kernel/System/CheckItem.pm line 68 [Mon Jul 14 11:33:26 2003] [error] [client 129.159.90.39] Premature end of script headers: /opt/otrs/bin/cgi-bin/index.pl"
this was when i tried to add a user to OTRS.
That's still the problem (dns). .-) It seems that the mx-config option doesn't work because: a) you use mod_perl and you need to restart your httpd because the perl modules (incl. Kernel/Config.pm) compiled on startup b) You added "$Self->{CheckMXRecord} = 0;" not on the right place in Kernel/Config.pm Please check it and move "$Self->{CheckMXRecord} = 0;" to the "own config settings" area. And take care that CheckMXRecord isn't duplicated in Kernel/Config.pm (maybe in the "inserted by installer" area). Here you will find more info how the OTRS config file works: http://doc.otrs.org/1.1/html/configfile.html PS: Also you could try to disable the whole email address checking (RFC syntax) by adding "$Self->{CheckEmailAddresses} = 0;" to Kernel/Config.pm. 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

hi! i found a faq-table in the OTRS-mysql database. i would love a feature to create one ore two small faq lists with OTRS. my agents get a lot of questions with the same content. so an faq list directly in OTRS would be very cool. mario

Hi Mario, On Mon, Jul 14, 2003 at 05:01:50PM +0200, TWC|Mario Peschel wrote:
i found a faq-table in the OTRS-mysql database. i would love a feature to create one ore two small faq lists with OTRS. my agents get a lot of questions with the same content. so an faq list directly in OTRS would be very cool.
I also do love to see a faq-list/tool in OTRS. :) -=> So we are working on it. If we are fast, you will have it in OTRS 1.2.
mario
-Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ --
participants (5)
-
Alex Mihicinac
-
kieran fulke
-
Kieran Fulke - Sun Remote Monitoring Centre
-
Martin Edenhofer
-
TWC|Mario Peschel