Hi,

I think you have a sintax error, plase try if you have a Ubuntu OS

for otrs 2.4.*

bin/SetPermissions.pl --otrs-user=otrs --otrs-group=otrs
--web-user=www-data --web-group=www-data /opt/otrs

for otrs 3.*

bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs
--web-user=www-data --web-group=www-data /opt/otrs




2011/4/15 Xiaoxing Meng <xiaoxing.m...@ericsson.com>

>  Hi,
> In fact, I have changed the right of access by using "chmod" for each file,
> but at the end of configuration, I got the "Software error".
> Software error:
> ERROR: Need write permission in OTRS home
> Try: $OTRS_HOME/bin/otrs.SetPermissions.pl !!!
>
> I tryed to reconfigure the file otrs.SetPermissions.pl and run it.
> I got this as resultat
> Bash:~#perl otrs.SetPermissions.pl
> bin/otrs.SetPermissions.pl <1.4> - set OTRS file permissions Copyright (C)
> 2001-2010 OTRS AG, *http://otrs.org/* <http://otrs.org/>
> Usage: otrs.SetPermissions.pl
>     [--otrs-user=<otrs>]
>     [--web-user=<otrs /opt/otrs>]
>     [--otrs-group=<OTRS_GROUP>]
>     [--web-group=<WEB_GROUP>]
>     [--admin-user=<ADMIN_USER>]
>     [--admin-group=<ADMIN_GROUP>]
>     [--admin-group-writable]
>     [--secure]
>     [--not-root]
>     <OTRS_HOME>
>
> Try: otrs.SetPermissions.pl /opt/otrs
>
> Bash# perl otrs.SetPermissions.pl /opt/otrs bin/otrs.SetPermissions.pl<1.4> - 
> set OTRS file permissions Copyright (C) 2001-2010 OTRS AG,
> *http://otrs.org/* <http://otrs.org/>
> ERROR: --otrs-user=<OTRS_USER>
>
> I wonder which name of user that I need to give as the value of
> "--otrs-user". Maybe, it happed because that I copyed the file "
> otrs.SetPermissions.pl" from the original installing file "otrs-3.0.6"
> when I have gotten this kind of problem the last time?
>
> Thanks a lot for your help!
>
> Best regards!
> Xiaoxing Meng
>
>
> -----Original Message-----
> From: otrs-boun...@otrs.org 
> [*mailto:otrs-boun...@otrs.org*<otrs-boun...@otrs.org>]
> On Behalf Of Michiel Beijen
> Sent: vendredi 15 avril 2011 15:35
> To: User questions and discussions about OTRS.
> Subject: Re: [otrs] Oups! Une erreur est survenue. For install Otrs
>
> Bonjour!
>
> you don't really specify what OS you run on but this can happen if the OTRS
> user is not a member of the web server group or if your permissions are not
> set correctly.
>
> Please try running /opt/otrs/bin/otrs.SetPermissions.pl
>
> --
> Mike
>
> On Fri, Apr 15, 2011 at 1:28 PM, Xiaoxing Meng <xiaoxing.m...@ericsson.com>
> wrote:
> > I have a probleme that I can't find a soulution. Hoping someone can help
> me.
> >
> > Best regards!
> >
> >
> > Oups! Une erreur est survenue.
> > Message d'Erreur: Can't create directory
> > '/opt/otrs/var/httpd/htdocs/skins/Agent/default/css-cache[..]
> >
> > Détails de l'erreur:
> > \l ""
> > Détails de l'erreur
> > Backend ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Fri Apr 15
> > 13:17:53
> > 2011
> >
> > Message: Can't create directory
> > '/opt/otrs/var/httpd/htdocs/skins/Agent/default/css-cache/':
> > Permission denied
> >
> > Traceback (8871):
> > Module: Kernel::System::Loader::MinifyFiles (v1.17) Line: 127
> > Module: Kernel::Output::HTML::LayoutLoader::_HandleCSSList (v1.37)
> > Line: 600
> > Module: Kernel::Output::HTML::LayoutLoader::LoaderCreateAgentCSSCalls
> > (v1.37) Line: 177
> > Module: Kernel::Output::HTML::Layout::Header (v1.351.2.2) Line: 1325
> > Module: Kernel::Output::HTML::Layout::ErrorScreen (v1.351.2.2) Line:
> > 1102
> > Module: Kernel::Modules::AdminInit::Run (v1.17) Line: 50
> > Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853
> > Module: /opt/otrs/bin/cgi-bin/index.pl (v1.89) Line: 45
> >
> >
> > ---------------------------------------------------------------------
> > OTRS mailing list: otrs - Webpage: *http://otrs.org/* <http://otrs.org/>
> > Archive: 
> > *http://lists.otrs.org/pipermail/otrs*<http://lists.otrs.org/pipermail/otrs>
> > To unsubscribe: 
> > *http://lists.otrs.org/cgi-bin/listinfo/otrs*<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