Just recently updated OTRS from 3.0.10 to 3.1.7. Most things are running smoothly but whenever I try to make a change via SysConfig I receive these errors:
Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/426cdda7dcc61afbec0e19365d194028': Permission denied
Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/4885f54276c3790b677fe26733aa3f63': Permission denied
Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalUser': Permission denied
Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/Webservice': Permission denied
I am on my fully enabled admin account, what is causing these errors and how can I fix it?
Sysconfig Update Permission Denied
Moderator: crythias
-
- Znuny newbie
- Posts: 32
- Joined: 10 Nov 2011, 23:21
- Znuny Version: 3.2.1
- Real Name: Patrick
- Company: MAM
Sysconfig Update Permission Denied
OTRS 3.2.1
CentOs 5.7
MySQL
CentOs 5.7
MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Sysconfig Update Permission Denied
Rerun otrs.Setpermissions.pl per INSTALL: http://source.otrs.org/viewvc.cgi/otrs/ ... 62&view=co
7) File Permissions:
-----------------
File permissions need to be adjusted to allow OTRS to read and write files:
shell> bin/otrs.SetPermissions.pl --otrs-user=<OTRS_USER> --web-user=<WEBSERVER_USER> [--otrs-group=<OTRS_GROUP>] [--web-group=<WEB_GROUP>] <OTRS_HOME>
For example:
Web server which runs as the OTRS user:
shell> bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=otrs /opt/otrs
Webserver with wwwrun user (e. g. SUSE):
shell> bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=wwwrun /opt/otrs
Webserver with apache user (e. g. Red Hat, CentOS):
shell> bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache /opt/otrs
Webserver with www-data user (e. g. Debian, Ubuntu):
shell> bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=www-data --otrs-group=www-data --web-group=www-data /opt/otrs
7) File Permissions:
-----------------
File permissions need to be adjusted to allow OTRS to read and write files:
shell> bin/otrs.SetPermissions.pl --otrs-user=<OTRS_USER> --web-user=<WEBSERVER_USER> [--otrs-group=<OTRS_GROUP>] [--web-group=<WEB_GROUP>] <OTRS_HOME>
For example:
Web server which runs as the OTRS user:
shell> bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=otrs /opt/otrs
Webserver with wwwrun user (e. g. SUSE):
shell> bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=wwwrun /opt/otrs
Webserver with apache user (e. g. Red Hat, CentOS):
shell> bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache /opt/otrs
Webserver with www-data user (e. g. Debian, Ubuntu):
shell> bin/otrs.SetPermissions.pl --otrs-user=otrs --web-user=www-data --otrs-group=www-data --web-group=www-data /opt/otrs
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Sysconfig Update Permission Denied
Did you run /opt/otrs/bin/otrs.SetPermissions.pl?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de