Thanks Greg, I'll look at the permissions again - it was only in an attempt to rule that out as a cause. The apache error file is only giving the (13)permission denied error. Is there another log file I can look at for more information? Is the <Directory> setting in the Virtual Host file or the httpd.conf file? Here is my projectsit virtual host file # -- # added for OTRS (http://otrs.org/) # --
<VirtualHost 10.0.1.75> DocumentRoot /opt/projectsit/var/httpd/htdocs/ # agent, admin and customer frontend ScriptAlias /projectsit/ "/opt/projectsit/bin/cgi-bin/" Alias /projectsit-web/ "/opt/projectsit/var/httpd/htdocs/" # load all otrs modules Perlrequire /opt/projectsit/scripts/apache2-perl-startup.pl #Apache2::Reload - Reload Perl Modules when Changed on Disk #PerlModule Apache2::Reload #PerlInitHandler Apache2::Reload # set mod_perl2 options <Location /> # ErrorDocument 403 /projectsit/customer.pl AllowOverride None ErrorDocument 403 /projectsit/index.pl Order allow,deny Allow from all DirectoryIndex index.pl </Location> <Location /projectsit> # ErrorDocument 403 /projectsit/customer.pl AllowOverride None ErrorDocument 403 /projectsit/index.pl Order allow,deny Allow from all DirectoryIndex index.pl </Location> <LocationMatch /projectsit/.*\.pl> SetHandler perl-script PerlHandler ModPerl::Registry Options +ExecCGI PerlOptions +ParseHeaders </LocationMatch> # directory settings <Directory "/opt/projectsit/bin/cgi-bin/"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> <Directory "/opt/projectsit/var/httpd/htdocs/"> AllowOverride None Order allow,deny Allow from all </Directory> # MaxRequestsPerChild (so no apache child will be to big!) #MaxRequestsPerChild 400 </VirtualHost> and here is the extract from httpd.conf that includes the projectsit.conf file # # Load config files from the config directory "/etc/httpd/conf.d". # Include conf.d/*.conf Include conf/otrs.conf Include conf/hcl.conf Include conf/VMSotrs.conf Include conf/accountsotrs.conf Include conf/askmarketingotrs.conf Include conf/projectsit.conf ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Baker, Greg Sent: 23 November 2007 14:20 To: User questions and discussions about OTRS.org Subject: RE: [otrs] New OTRS database on existing server Check your apache log files, they will provide more information. Also, setting permissions to 777 is really not a good idea. I would suggest reinstalling the OTRS files to fix these permissions, as you have proven that the error is not caused by permissions on the OTRS tree. Check the apache log and get more information. It sounds like an incorrect <Directory> setting to me. ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cham Bain Smith Sent: Friday, November 23, 2007 8:20 AM To: otrs@otrs.org Subject: [otrs] New OTRS database on existing server HI, This is my 1st post to this list, and you'll have to bear with me as I'm not a Linux person at all. Strictly windows I'm afraid. Anyway this is my setup OTRS: 2.0.3 OS: CentOS Release 4.3 Final 2.6.9-34.ELsmp MYSQL: MySQL version 4.1.12 4 working OTRS databases running and am trying to set up a 5th I have copied one of the working databases and set up all the tables copied the file structure and amended all the config files so all the paths / authentications are correct amended the httpd.conf file to include the new otrs database amended config.pm so it has a new id number for tickets included a DNS entry for the virtual host mapping 10.0.1.75 to projectsit created a virtualhost entry for 10.0.1.75 that exactly (except for the IP) matches the other virtual host entries for the 4 working databases chmod all directories and files in the new structure to 777 to ensure there are no permission restrictions (in an effort to get it working) added the relevant mysql user to be able to do everything in MYSQL on the relevant database on [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> and [EMAIL PROTECTED] stopped and restarted mysql and httpd (many times - after making each change) commented out the .htaccess stuff in httpd.conf, then put it back in created an .htaccess file under /opt/projectsit then removed it again Researched .htaccess errors and (13)Permission denied errors in multiple places and tried a variety of things suggested And am now at a loss - Any help anyone can give would be appreciated, as I need to set up 2 more databases after these ones on this server. The error I am getting in the apache errror file is [Thu Nov 22 17:02:47 2007] [crit] [client 10.0.100.1] (13)Permission denied: /opt/projectsit/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable The error in IE or Mozilla is Forbidden (403) You don't have permission to access / on this server. (MY COMMENTS or /projectsit or /projectsit/index.pl or any combination with the IP address that resolves to projectsit MY COMMENTS END) ________________________________ Apache/2.0.52 (CentOS) Server at projectsit Port 80 The Eden Brown Referral Scheme Eden Brown's success is built upon having the best job seekers, as well as the best jobs. We receive more high quality job seekers by referral than by any other method. Are you a registered Eden Brown candidate and know someone who would be interested in one of our many job opportunities? If you do, refer them to us! If they take up one of our permanent placements, you'll get £500* and if they take on a contract booking, you'll receive £200*. Please contact one of our consultants or check www.edenbrown.com/referrals <blocked::http://www.edenbrown.com/referrals> for more information. The Eden Brown Tree Policy: Eden Brown feels strongly about reducing paper usage in order to help the environment so please only print this email if necessary and recycle where you can! Legal Information If this email isn't addressed to you, please don't read, use, forward, copy, print or disseminate it. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. Please address any enquiries regarding this notice to:- [EMAIL PROTECTED] ________________________________ Eden Brown Ltd, 222 Bishopsgate, London EC2M 4QD Tel: +44 (0)20 7 422 7300 http://www.edenbrown.com Eden Brown Ltd - Reg No. 3643845 - Registered in England and Wales ________________________________ This footnote also confirms that this email message has been swept by MailMarshal for the presence of computer viruses. ________________________________ This email was scanned by Postini, the leading provider in Managed Email Security. If you have received this email and/or have any questions you can contact the Grove Group on +44 (0) 870 224 0432 or visit our website www.groveis.com The Eden Brown Referral Scheme Eden Brown's success is built upon having the best job seekers, as well as the best jobs. We receive more high quality job seekers by referral than by any other method. Are you a registered Eden Brown candidate and know someone who would be interested in one of our many job opportunities? If you do, refer them to us! If they take up one of our permanent placements, you'll get £500* and if they take on a contract booking, you'll receive £200*. Please contact one of our consultants or check www.edenbrown.com/referrals for more information. The Eden Brown Tree Policy: Eden Brown feels strongly about reducing paper usage in order to help the environment so please only print this email if necessary and recycle where you can! Legal Information If this email isn't addressed to you, please don't read, use, forward, copy, print or disseminate it. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. Please address any enquiries regarding this notice to:- [EMAIL PROTECTED] ****************************************************************** Eden Brown Ltd, 222 Bishopsgate, London EC2M 4QD Tel: +44 (0)20 7 422 7300 http://www.edenbrown.com Eden Brown Ltd - Reg No. 3643845 - Registered in England and Wales ****************************************************************** This footnote also confirms that this email message has been swept by MailMarshal for the presence of computer viruses. ****************************************************************** This email was scanned by Postini, the leading provider in Managed Email Security. If you have received this email and/or have any questions you can contact the Grove Group on +44 (0) 870 224 0432 or visit our website www.groveis.com
_______________________________________________ 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 Support or consulting for your OTRS system? => http://www.otrs.com/