OTRS 致命错误
OTRS Fatal Error
嘿,我想用 linux ubuntu 在 apache 网络服务器上安装 otrs。
我使用 otrs 网络安装程序创建了一个新数据库,但随后收到消息:Can't open file /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm.20881: Permission denied
问题是 apache 服务器对此文件没有权限。
解决方案是启动 otrs 权限脚本:
cd /opt/otrs/bin
sudo ./otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /opt/otrs
File permissions need to be adjusted to allow OTRS to read and write files:
otrs.SetPermissions.pl [ --otrs-user= OTRS user, defaults to 'otrs' ] { --web-group= group of the web server user }
以 OTRS 用户身份运行的 Web 服务器:
shell> otrs/bin/otrs.SetPermissions.pl --web-user=otrs
具有 wwwrun 用户(例如 SUSE)的网络服务器:
shell> otrs/bin/otrs.SetPermissions.pl --web-group=wwwrun
具有 apache 用户(例如 Red Hat、CentOS)的网络服务器:
shell> otrs/bin/otrs.SetPermissions.pl --web-group=apache
具有 www-data 用户的网络服务器(例如 Debian,Ubuntu):
shell> otrs/bin/otrs.SetPermissions.pl --web-group=www-data
嘿,我想用 linux ubuntu 在 apache 网络服务器上安装 otrs。
我使用 otrs 网络安装程序创建了一个新数据库,但随后收到消息:Can't open file /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm.20881: Permission denied
问题是 apache 服务器对此文件没有权限。
解决方案是启动 otrs 权限脚本:
cd /opt/otrs/bin
sudo ./otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /opt/otrs
File permissions need to be adjusted to allow OTRS to read and write files:
otrs.SetPermissions.pl [ --otrs-user= OTRS user, defaults to 'otrs' ] { --web-group= group of the web server user }
以 OTRS 用户身份运行的 Web 服务器:
shell> otrs/bin/otrs.SetPermissions.pl --web-user=otrs
具有 wwwrun 用户(例如 SUSE)的网络服务器:
shell> otrs/bin/otrs.SetPermissions.pl --web-group=wwwrun
具有 apache 用户(例如 Red Hat、CentOS)的网络服务器:
shell> otrs/bin/otrs.SetPermissions.pl --web-group=apache
具有 www-data 用户的网络服务器(例如 Debian,Ubuntu):
shell> otrs/bin/otrs.SetPermissions.pl --web-group=www-data