Internal server error at Agent compose 'empty answer'

Hi list, When agent compose 'empty answer' , Internal server error has occured. It seems permission error. But the answer was sent to customer without an error. Below errors are in httpd/error. [Wed Dec 4 11:41:00 2002] index.pl: Constant subroutine __need___va_list undefined at /usr/lib/perl5/5.00503/i386-linux/stdarg.ph line 9. [Wed Dec 4 11:41:00 2002] index.pl: Odd number of elements in hash assignment at /usr/lib/perl5/site_perl/5.005/MIME/Words.pm line 305. [Wed Dec 4 11:41:00 2002] index.pl: Odd number of elements in hash assignment at /usr/lib/perl5/site_perl/5.005/MIME/Words.pm line 305. mkdir /home/sites/otrs.kidanet.com/OpenTRS/var/article/2002/12/4/23: Permission denied at /home/sites/site14/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Article.pm line 250 [Wed Dec 4 11:41:01 2002] [error] [client 211.124.7.107] Premature end of script headers: /home/sites/otrs.kidanet.com/OpenTRS/bin/cgi-bin/index.pl OTRS 0.5 BETA8 This is perl, version 5.005_03 built for i386-linux Any suggestion? Murahashi

Hi, On Wed, Dec 04, 2002 at 12:35:52PM +0900, murahashi wrote:
When agent compose 'empty answer' , Internal server error has occured. It seems permission error. But the answer was sent to customer without an error.
Below errors are in httpd/error.
[Wed Dec 4 11:41:00 2002] index.pl: Constant subroutine __need___va_list [...] mkdir /home/sites/otrs.kidanet.com/OpenTRS/var/article/2002/12/4/23: Permission denied at /home/sites/site14/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Article.pm line 250 [...]
Ja, it's a permission problem.
You have two possibilities to fix this.
a) File Permissions (check the following):
- Is it possible to change the webserver user to otrs user?
* If yes, fixed.
- If not, add the otrs user to the webservers users group
("usermod -G <otrsusersgroup> otrs")
- Execute "$OTRS_HOME/bin/SetPermissions.sh
Murahashi
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.

Hi, I changed otrs group to httpd and execute SetPermissions.sh . Fine! My system is packaged linux server. It is hard to change /etc/group because the system provides user account maintenance application. Actually I edited /etc/group. So otrs's group defenition may be lost after user maintenance. Is it problem in the future? Thnak you. Murahashi
When agent compose 'empty answer' , Internal server error has occured. It seems permission error. But the answer was sent to customer without an error.
Below errors are in httpd/error.
[Wed Dec 4 11:41:00 2002] index.pl: Constant subroutine __need___va_list [...] mkdir /home/sites/otrs.kidanet.com/OpenTRS/var/article/2002/12/4/23: Permission denied at
/home/sites/site14/OpenTRS/bin/cgi-bin/../../Kernel/System/Ticket/Article.pm
line 250 [...]
Ja, it's a permission problem.
You have two possibilities to fix this.
a) File Permissions (check the following): - Is it possible to change the webserver user to otrs user? * If yes, fixed. - If not, add the otrs user to the webservers users group ("usermod -G <otrsusersgroup> otrs") - Execute "$OTRS_HOME/bin/SetPermissions.sh
" * Everything should work fine.
participants (2)
-
Martin Edenhofer
-
murahashi