
Hi. I am going to set up a otrs system but I´ve got some trouble with the access settings. OTRS should run as "otrs" and Apache 1.3 as "webserver1apache1". Both should be in the group 500 ("webserver1"). OTRS is installed in the home directory. So it´s pfad is /home/otrs/otrs/ I am running Perl 5.8.0 with Apache 1.3.27, config follow: [root@localhost otrs]# /usr/local/apache/bin/httpd -l Compiled-in modules: http_core.c mod_env.c mod_log_config.c mod_mime.c mod_negotiation.c mod_status.c mod_include.c mod_autoindex.c mod_dir.c mod_cgi.c mod_asis.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_access.c mod_auth.c mod_so.c mod_setenvif.c mod_ssl.c mod_perl.c mod_php4.c suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec [root@localhost otrs]# /usr/local/apache/bin/httpd -v Server version: Apache/1.3.27 (Unix) Server built: Jun 2 2003 16:17:37 [root@localhost otrs]# (mod_php4 is PHP 4.3.2) (mod_perl is 1.27) (mod_ssl is 2.8.14) The problem is that the webserver user doen´t execute installer.pl well. [root@localhost otrs]# su webserver1apache1 -c"perl ./bin/cgi-bin/installer.pl" bash: /root/.bashrc: Permission denied Use of uninitialized value in concatenation (.) or string at ./bin/cgi-bin/installer.pl line 25. Use of uninitialized value in concatenation (.) or string at ./bin/cgi-bin/installer.pl line 26. [Fri Jun 6 15:50:15 2003] installer.pl: Use of uninitialized value in concatenation (.) or string at ./bin/cgi-bin/installer.pl line 37. [Fri Jun 6 15:50:15 2003] installer.pl: Use of uninitialized value in concatenation (.) or string at ./bin/cgi-bin/installer.pl line 37. Can't read /home/otrs/otrs/RELEASE: Permission denied[Fri Jun 6 15:50:15 2003] installer.pl: readline() on closed filehandle PRODUCT at Kernel/Output/HTML/Generic.pm line 934. Can't read /home/otrs/otrs/RELEASE: Permission denied[Fri Jun 6 15:50:15 2003] installer.pl: readline() on closed filehandle PRODUCT at Kernel/Output/HTML/Generic.pm line 934. [Fri Jun 6 15:50:15 2003] installer.pl: Use of uninitialized value in substitution (s///) at Kernel/Modules/Installer.pm line 43. [Fri Jun 6 15:50:15 2003] installer.pl: Use of uninitialized value in concatenation (.) or string at Kernel/Modules/Installer.pm line 55. Content-type: text/html <h1>Software error:</h1> <pre>Can't read /home/otrs/otrs/Kernel/Output/HTML/Standard/Header.dtl: Permission denied at Kernel/Output/HTML/Generic.pm line 242. </pre> <p> For help, please send mail to this site's webmaster, giving this error message and the time and date of the error. </p> [Fri Jun 6 15:50:15 2003] installer.pl: Can't read /home/otrs/otrs/Kernel/Output/HTML/Standard/Header.dtl: Permission denied at Kernel/Output/HTML/Generic.pm line 242. To compare a execute as root: [root@localhost otrs]# perl bin/cgi-bin/installer.pl [Fri Jun 6 15:50:38 2003] installer.pl: Use of uninitialized value in substitution (s///) at /home/otrs/otrs/bin/cgi-bin/../../Kernel/Modules/Installer.pm line 43. [Fri Jun 6 15:50:38 2003] installer.pl: Use of uninitialized value in concatenation (.) or string at /home/otrs/otrs/bin/cgi-bin/../../Kernel/Modules/Installer.pm line 55. Content-Type: text/html; charset=iso-8859-15; X-Powered-By: OTRS 1.1.1 - Open Ticket Request System (http://otrs.org) X-Wanted: I think you are smart. I'm looking for smart people! Expires: Tue, 1 Jan 1980 12:00:00 GMT Cache-Control: no-cache Pragma: no-cache <!-- OTRS: Copyright 2001-2003, OTRS Project. This Software is under the GPL. --> <!-- Web: http://otrs.org/ - Lists: http://lists.otrs.org/ --> <!-- GNU Public License: http://www.gnu.org/licenses/gpl.txt --> <html> <head> <title>OTRS :: Error</title> <style type="text/css"> <!-- body { font-family:Geneva,Helvetica,Arial,sans-serif;font-size:11pt;background-color:#bbddff;color:black; } a { color:#557799;} a:hover { color:#002244;text-decoration:none; } pre { font-family:Courier,monospace,fixed;font-size:12px; } td,th { font-size:12px;font-family:Geneva,Helvetica,Arial,sans-serif; } .header { color:#ffffff;background-color:#000000;font-size:12px; } a.headeritem { color:#ffffff;text-decoration:none; } a.headeritem:hover { color:#dedede;text-decoration:underline; } .nav { color:#000000;background-color:#ffffff;font-size:10px; } a.navitem { color:#557799;font-size:11px; } a.navitem:hover { color:#002244;font-size:11px; } .menu { color:#000000;background-color:#ffffff;font-size:10px; } a.menuitem { color:#557799;font-size:12px; } a.menuitem:hover { color:#002244;font-size:12px; } .footer { color:#ffffff;background-color:#000000;font-size:10px; } a.footeritem { color:#ffffff;text-decoration:none; } a.footeritem:hover { color:#dddddd;text-decoration:underline; } .small { color:#000000;font-family:Geneva,Helvetica,Arial,sans-serif;font-size:10px; } a.small { color:#000000;text-decoration:none; } a.small:hover { color:#222222;text-decoration:underline; } form {margin:0px;} input {font-family:Geneva,Helvetica,Arial,Helvetica,sans-serif;font-size:12px;} .button {color:black;background-color:#dddddd;border-bottom:thin solid #222244;border-right:thin solid #222244;border-top:thin solid #bbbbbb;border-left:thin solid #bbbbbb;font-size:12px;font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;font-weight:normal;} .table0 { color:#ffffff;background-color:#000000;font-size:13px;font-family:Geneva,Helvetica,Arial,sans-serif;} .table1 { color:#000000;background-color:#ffffff;font-size:12px;font-family:Geneva,Helvetica,Arial,sans-serif;} .table2 { color:#000000;background-color:#eeeeee;font-size:12px;font-family:Geneva,Helvetica,Arial,sans-serif;} .agent-email-external { background-color:#ccffcc; } .agent-note-internal { background-color:#ffcccc; } .agent-note-external { background-color:#eeeeee; } .PriorityID-1 { background-color:#eeeeee;font-size:12px;font-family:Geneva,Helvetica,Arial,sans-serif; } .PriorityID-2 { background-color:#eeeeee;font-size:12px;font-family:Geneva,Helvetica,Arial,sans-serif; } .PriorityID-3 { background-color:#eeeeee;font-size:12px;font-family:Geneva,Helvetica,Arial,sans-serif; } .PriorityID-4 { background-color:#ffcccc;font-size:12px;font-family:Geneva,Helvetica,Arial,sans-serif; } .PriorityID-5 { background-color:#ffaaaa;font-size:12px;font-family:Geneva,Helvetica,Arial,sans-serif; } //--> </style> </head> <a name="top"></a> <body> <table border="0" width="100%" cellspacing="0" cellpadding="3" cols="2"> <tr> <td align="left" width="20%" class="header"> <b>[ OTRS</a> ]</b> </td> <td align="right" width="80%" class="header"> Fri Jun 06 15:50:38 2003 </td> </tr> </table> <!-- end header --> <center> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td class="table2"> <p> <font color="red" size="+1">Error: Directory '../../scripts/database' not found!</font> </p> </td> </tr> <tr> <td class="table1"> <table cellspacing="0" cellpadding="2" width="100%"> <tr> <td class="table1" valign="top" width="100"><b>Comment:</b></td> <td class="table1" valign="top">Contact your Admin!</td> </tr> <tr> <td class="table1" valign="top"><b>Bug Report:</b></td> <td class="table1" valign="top"> <form action="http://bugs.otrs.org/enter_bug.cgi"> <input type="hidden" name="comment" value=""> <input type="hidden" name="bug_file_loc" value=""> <input class="button" type="submit" value="Click here to report a bug!"> </form> </td> </tr> <tr> <td class="table1" valign="top"><b>Traceback:</b></td> <td class="table1" valign="top"></td> </tr> </table> </td> </tr> </table> </center> <!-- start footer --> <table border="0" width="100%" cellspacing="0" cellpadding="0" cols="2"> <tr> <td align="left" class="footer"> QueueView</a> - PhoneView</a> </td> <td align="right" class="footer"> <table border="0"> <tr> <td align="center" class="footer"> <a href="#top" onmouseover="window.status='Top of Page'; return true;" onmouseout="window.status='';" class="footeritem"><img border="0" src="/otrs-web/images/Standard/up.png" alt="Top of Page"></a> </td> </tr> </table> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="3"> <tr> <td align="right" class="small">Powered by <a href="http://otrs.org/" class="small"> OTRS 1.1.1</a></td> </tr> </table> <a name="end"></a> </body> </html> <!-- end footer --> [root@localhost otrs]# Thanks for help! Christian Korff ____________________________________________________________________________ Jetzt bei WEB.DE FreeMail anmelden = 1qm Regenwald schuetzen! Helfen Sie mit! Nutzen Sie den Serien-Testsieger. http://user.web.de/Regenwald