Sure, that was the issue; it was fixed after
/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www
--web-user=wwwrun --web-group=www /opt/otrs
(just as how it's done in the RPM spec file itself)
But of course if you do an RPM upgrade this should be all automatic.

See bug report 6377: http://bugs.otrs.org/show_bug.cgi?id=6377
--
Mike.


On Tue, Nov 23, 2010 at 4:55 PM, GARDAIS Ionel
<[email protected]> wrote:
> Hi Erik,
>
> You should check that /opt/otrs/var/httpd/htdoc belongs to the user apache 
> run on.
>
> There is a script /opt/otrs/bin/otrs.SetPermissions.pl with the correct 
> parameters for --web-user and --web-group to help you.
>
> Ionel
>
>
>
> Le 23 nov. 2010 à 16:05, Erik van Ast a écrit :
>
>> Hi Michiel,
>>
>> Thank you for your reply!
>> Below I have copied our Apache error log if the last couple of minutes. The 
>> errors were generated because I pressed F5 in my browser with the login 
>> screen displayed. Seems like some permissions have not been set up 
>> correctly. With which script can I set those settings right? And with what 
>> other script can I recreate the files and folders in /opt/otrs/var/httpd?
>>
>> ERROR: OTRS-CGI-50 Perl: 5.10.0 OS: linux Time: Tue Nov 23 15:49:18 2010
>>
>> Message: Can't create directory 
>> '/opt/otrs/var/httpd/htdocs/skins/Agent/default/css-cache/': Permission 
>> denied
>>
>> Traceback (25179):
>>   Module: Kernel::System::Loader::MinifyFiles (v1.16) Line: 127
>>   Module: Kernel::Output::HTML::LayoutLoader::_HandleCSSList (v1.35) Line: 
>> 595
>>   Module: Kernel::Output::HTML::LayoutLoader::LoaderCreateAgentCSSCalls 
>> (v1.35) Line: 111
>>   Module: Kernel::Output::HTML::Layout::Login (v1.334) Line: 943
>>   Module: Kernel::System::Web::InterfaceAgent::Run (v1.57) Line: 603
>>   Module: 
>> ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler 
>> (unknown version) Line: 48
>>   Module: (eval) (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
>>   Module: ModPerl::Registry::handler (v1.99) Line: 31
>>
>> ERROR: OTRS-CGI-50 Perl: 5.10.0 OS: linux Time: Tue Nov 23 15:49:18 2010
>>
>> Message: Can't create directory 
>> '/opt/otrs/var/httpd/htdocs/skins/Agent/default/css-cache/': Permission 
>> denied
>>
>> Traceback (25179):
>>   Module: Kernel::System::Loader::MinifyFiles (v1.16) Line: 127
>>   Module: Kernel::Output::HTML::LayoutLoader::_HandleCSSList (v1.35) Line: 
>> 595
>>   Module: Kernel::Output::HTML::LayoutLoader::LoaderCreateAgentCSSCalls 
>> (v1.35) Line: 144
>>   Module: Kernel::Output::HTML::Layout::Login (v1.334) Line: 943
>>   Module: Kernel::System::Web::InterfaceAgent::Run (v1.57) Line: 603
>>   Module: 
>> ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler 
>> (unknown version) Line: 48
>>   Module: (eval) (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
>>   Module: ModPerl::Registry::handler (v1.99) Line: 31
>>
>> ERROR: OTRS-CGI-50 Perl: 5.10.0 OS: linux Time: Tue Nov 23 15:49:18 2010
>>
>> Message: Can't create directory 
>> '/opt/otrs/var/httpd/htdocs/skins/Agent/default/css-cache/': Permission 
>> denied
>>
>> Traceback (25179):
>>   Module: Kernel::System::Loader::MinifyFiles (v1.16) Line: 127
>>   Module: Kernel::Output::HTML::LayoutLoader::_HandleCSSList (v1.35) Line: 
>> 595
>>   Module: Kernel::Output::HTML::LayoutLoader::LoaderCreateAgentCSSCalls 
>> (v1.35) Line: 177
>>   Module: Kernel::Output::HTML::Layout::Login (v1.334) Line: 943
>>   Module: Kernel::System::Web::InterfaceAgent::Run (v1.57) Line: 603
>>   Module: 
>> ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler 
>> (unknown version) Line: 48
>>   Module: (eval) (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
>>   Module: ModPerl::Registry::handler (v1.99) Line: 31
>>
>> ERROR: OTRS-CGI-50 Perl: 5.10.0 OS: linux Time: Tue Nov 23 15:49:18 2010
>>
>> Message: Can't create directory '/opt/otrs/var/httpd/htdocs/js/js-cache/': 
>> Permission denied
>>
>> Traceback (25179):
>>   Module: Kernel::System::Loader::MinifyFiles (v1.16) Line: 127
>>   Module: Kernel::Output::HTML::LayoutLoader::_HandleJSList (v1.35) Line: 637
>>   Module: Kernel::Output::HTML::LayoutLoader::LoaderCreateAgentJSCalls 
>> (v1.35) Line: 282
>>   Module: Kernel::Output::HTML::Layout::Login (v1.334) Line: 944
>>   Module: Kernel::System::Web::InterfaceAgent::Run (v1.57) Line: 603
>>   Module: 
>> ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler 
>> (unknown version) Line: 48
>>   Module: (eval) (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
>>   Module: ModPerl::Registry::handler (v1.99) Line: 31
>>
>> ERROR: OTRS-CGI-50 Perl: 5.10.0 OS: linux Time: Tue Nov 23 15:49:18 2010
>>
>> Message: Can't create directory '/opt/otrs/var/httpd/htdocs/js/js-cache/': 
>> Permission denied
>>
>> Traceback (25179):
>>   Module: Kernel::System::Loader::MinifyFiles (v1.16) Line: 127
>>   Module: Kernel::Output::HTML::LayoutLoader::_HandleJSList (v1.35) Line: 637
>>   Module: Kernel::Output::HTML::LayoutLoader::LoaderCreateAgentJSCalls 
>> (v1.35) Line: 300
>>   Module: Kernel::Output::HTML::Layout::Login (v1.334) Line: 944
>>   Module: Kernel::System::Web::InterfaceAgent::Run (v1.57) Line: 603
>>   Module: 
>> ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler 
>> (unknown version) Line: 48
>>   Module: (eval) (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
>>   Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
>>   Module: ModPerl::Registry::handler (v1.99) Line: 31
>>
>> [Tue Nov 23 15:49:18 2010] [error] [client 192.168.1.125] File does not 
>> exist: /opt/otrs/var/httpd/htdocs/skins/Agent/default/css-cache, referer: 
>> http://opensuseotrs.suzo.int/otrs/index.pl?
>> [Tue Nov 23 15:49:18 2010] [error] [client 192.168.1.125] File does not 
>> exist: /opt/otrs/var/httpd/htdocs/skins/Agent/default/css-cache, referer: 
>> http://opensuseotrs.suzo.int/otrs/index.pl?
>> [Tue Nov 23 15:49:18 2010] [error] [client 192.168.1.125] File does not 
>> exist: /opt/otrs/var/httpd/htdocs/js/js-cache, referer: 
>> http://opensuseotrs.suzo.int/otrs/index.pl?
>>
>> Message: 6
>> Date: Tue, 23 Nov 2010 15:32:43 +0100
>> From: Michiel Beijen <[email protected]>
>> Subject: Re: [otrs] The browser you are using is too old. OTRS runs
>>       with a huge lists of
>> To: "User questions and discussions about OTRS." <[email protected]>
>> Message-ID:
>>       <[email protected]>
>> Content-Type: text/plain; charset=UTF-8
>>
>> Hi Erik,
>>
>> it could be that the javascript/css loader mechanism fails on you.
>> Please run  bin/otrs.RebuildConfig.pl and carefully check error
>> messages in your Apache error log, if any.
>>
>> --
>> Mike
>>
>> Met vriendelijke groet / Kind regards / Mit freundlichem Gruß,
>>
>> Erik
>> ---------------------------------------------------------------------
>> 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
>
---------------------------------------------------------------------
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

Reply via email to