FW: Funny Apache Errors..

Further to yesterdays email about it wanting to down load the .pl files, every morning I have to run these commands... /opt/otrs/bin/SetPermissions.pl --otrs-user=otrs --web-user=www-data /opt/otrs chmod 777 /opt/otrs/var/tmp/ -R chmod 777 /opt/otrs/var/article/ -R service apache2 restart Any ideas why?? From: Doug Hall Sent: 10 September 2009 11:08 To: 'otrs@otrs.org' Subject: Funny Apache Errors.. OTRS = Good times.! Installed it about 18 months ago, and has been used full on since.. Database is now 2.2Gb.. The server it WAS on was struggling a little. Now I created a monster server with shed loads of space, power and memory.. Installed Ubuntu 9.04 server, Apache2 with Mod_Perl etc etc.. reinstalled otrs 2.4.4, and move the DB across.. Now I have these few niggly problems.. Sometimes, randomly, when browsing to http://helpdesk/otrs/index.pl/public.pl/customer.pl, it attempts to download the .pl file instead.. Also, I am constantly getting these errors in the apache2 error.log:- [Thu Sep 10 10:56:28 2009] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Output/HTML/Layout.pm line 1559 Millions of them... Any help clearing up the niggles will be most appreciated.. Thanks in advance.. ________________________________________ Doug Hall IT Operations Manager Dir Fax Mobile Email +44 (0)1179 303 420 +44 (0)1179 259 954 +44 (0)7966 343 084 dhall@com2com.com Committed 2 Communications Ltd 7th Floor, Whitefriars. Lewins Mead. Bristol. BS1 2NT. UK *** PLEASE NOTE CHANGE OF ADDRESS FROM 19th SEPTEMBER 2009 *** 2nd Floor, The Pithay. Bristol. BS1 2HZ. UK General Web +44 (0)1179 303 450 http://www.com2com.com NTT Fundraising is a trading name of Committed 2 Communications Ltd, a UK company offering specialist services to the charity sector in telephone fundraising, as well as recruitment, donor relationship management, direct debit and BACs Bureau services - to name a few. For more information visit www.nttfundraising.co.uk. Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorised. If you are not an addressee, any disclosure or copying of the contents of this e-mail or any action taken (or not taken) in reliance on it is unauthorised and may be unlawful. If you are not an addressee, please inform the sender immediately. You should carry out your own virus checks before opening any attachment. Registered Office: 7th Floor, Whitefriars, Lewins Mead, Bristol BS1 2NT, United Kingdom Registered In England, Registered Trading Number: 06458746

Check the permissions of the directories or the parent directories.
There might be a sticky bit set that sets the owner of any file
created within those directories to be the same as the parent.
The permissions might look something like this;
drwx-----t
The t at the end is the sticky bit. The user that apache runs as may
not have permission to access the files if they're created with the
same owner as the parent directory.
To change the behaviour you'll need to change the permissions of the
directory with the sticky bit set.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/11 Doug Hall
Further to yesterdays email about it wanting to down load the .pl files, every morning I have to run these commands...
/opt/otrs/bin/SetPermissions.pl --otrs-user=otrs --web-user=www-data /opt/otrs chmod 777 /opt/otrs/var/tmp/ -R chmod 777 /opt/otrs/var/article/ -R service apache2 restart
Any ideas why??
From: Doug Hall Sent: 10 September 2009 11:08 To: 'otrs@otrs.org' Subject: Funny Apache Errors..
OTRS = Good times.! Installed it about 18 months ago, and has been used full on since.. Database is now 2.2Gb.. The server it WAS on was struggling a little.
Now I created a monster server with shed loads of space, power and memory.. Installed Ubuntu 9.04 server, Apache2 with Mod_Perl etc etc.. reinstalled otrs 2.4.4, and move the DB across..
Now I have these few niggly problems..
Sometimes, randomly, when browsing to http://helpdesk/otrs/index.pl/public.pl/customer.pl, it attempts to download the .pl file instead..
Also, I am constantly getting these errors in the apache2 error.log:- [Thu Sep 10 10:56:28 2009] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Output/HTML/Layout.pm line 1559 Millions of them...
Any help clearing up the niggles will be most appreciated.. Thanks in advance..
________________________________________
Doug Hall IT Operations Manager Dir Fax Mobile Email +44 (0)1179 303 420 +44 (0)1179 259 954 +44 (0)7966 343 084 dhall@com2com.com
Committed 2 Communications Ltd 7th Floor, Whitefriars. Lewins Mead. Bristol. BS1 2NT. UK
*** PLEASE NOTE CHANGE OF ADDRESS FROM 19th SEPTEMBER 2009 *** 2nd Floor, The Pithay. Bristol. BS1 2HZ. UK
General Web +44 (0)1179 303 450 http://www.com2com.com
NTT Fundraising is a trading name of Committed 2 Communications Ltd, a UK company offering specialist services to the charity sector in telephone fundraising, as well as recruitment, donor relationship management, direct debit and BACs Bureau services - to name a few. For more information visit www.nttfundraising.co.uk.
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorised. If you are not an addressee, any disclosure or copying of the contents of this e-mail or any action taken (or not taken) in reliance on it is unauthorised and may be unlawful. If you are not an addressee, please inform the sender immediately. You should carry out your own virus checks before opening any attachment.
Registered Office: 7th Floor, Whitefriars, Lewins Mead, Bristol BS1 2NT, United Kingdom
Registered In England, Registered Trading Number: 06458746
--------------------------------------------------------------------- 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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/

Probably becouse you should have to use some other switch (at least
otrs-group and web-group)?
bin/SetPermissions.pl <1.10> - set OTRS file permissions
Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
Usage: SetPermissions.pl
[--otrs-user=
Further to yesterdays email about it wanting to down load the .pl files, every morning I have to run these commands...
/opt/otrs/bin/SetPermissions.pl --otrs-user=otrs --web-user=www-data /opt/otrs chmod 777 /opt/otrs/var/tmp/ -R chmod 777 /opt/otrs/var/article/ -R service apache2 restart
Any ideas why??
From: Doug Hall Sent: 10 September 2009 11:08 To: 'otrs@otrs.org' Subject: Funny Apache Errors..
OTRS = Good times.! Installed it about 18 months ago, and has been used full on since.. Database is now 2.2Gb.. The server it WAS on was struggling a little.
Now I created a monster server with shed loads of space, power and memory.. Installed Ubuntu 9.04 server, Apache2 with Mod_Perl etc etc.. reinstalled otrs 2.4.4, and move the DB across..
Now I have these few niggly problems..
Sometimes, randomly, when browsing to http://helpdesk/otrs/index.pl/public.pl/customer.pl, it attempts to download the .pl file instead..
Also, I am constantly getting these errors in the apache2 error.log:- [Thu Sep 10 10:56:28 2009] -e: Use of uninitialized value in hash element at /opt/otrs//Kernel/Output/HTML/Layout.pm line 1559 Millions of them...
Any help clearing up the niggles will be most appreciated.. Thanks in advance..
________________________________________
Doug Hall IT Operations Manager Dir Fax Mobile Email +44 (0)1179 303 420 +44 (0)1179 259 954 +44 (0)7966 343 084 dhall@com2com.com
Committed 2 Communications Ltd 7th Floor, Whitefriars. Lewins Mead. Bristol. BS1 2NT. UK
*** PLEASE NOTE CHANGE OF ADDRESS FROM 19th SEPTEMBER 2009 *** 2nd Floor, The Pithay. Bristol. BS1 2HZ. UK
General Web +44 (0)1179 303 450 http://www.com2com.com
NTT Fundraising is a trading name of Committed 2 Communications Ltd, a UK company offering specialist services to the charity sector in telephone fundraising, as well as recruitment, donor relationship management, direct debit and BACs Bureau services - to name a few. For more information visit www.nttfundraising.co.uk.
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this e-mail by anyone else is unauthorised. If you are not an addressee, any disclosure or copying of the contents of this e-mail or any action taken (or not taken) in reliance on it is unauthorised and may be unlawful. If you are not an addressee, please inform the sender immediately. You should carry out your own virus checks before opening any attachment.
Registered Office: 7th Floor, Whitefriars, Lewins Mead, Bristol BS1 2NT, United Kingdom
Registered In England, Registered Trading Number: 06458746
--------------------------------------------------------------------- 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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
participants (3)
-
Doug Hall
-
Marco Vannini
-
Rory