Hallo,
wenn ich die Anhänge im FS speichere, kann ich keine emails (eröffnung von Tickets) mehr ans system schicken. gehe ich wieder zurück auf ArticleStorageDB, funktioniert alles wieder.
Was mache ich falsch ? Ab wann lohnt es sich den Anhänge im FS zu speichern ?
Danke
chris
Kernel::System::Ticket::ArticleStorageFS
Re: Kernel::System::Ticket::ArticleStorageFS
ich tippe mal die Berechtigungen sind fehlerhaft. Ein Blick ins Log sollte Aufschluss geben
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 15
- Joined: 27 Oct 2011, 17:55
- Znuny Version: 3.2.5
- Real Name: Christoph
- Company: Freelancer
Re: Kernel::System::Ticket::ArticleStorageFS
Fehlermeldungen:
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalGroup/cabd0fd91188e19fd4ea3fe1b6d27fde': Permission denied
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalGroup/b3a865f2278a367a625ba29e31e1a916': Permission denied
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalGroup/191a95ed255b68c4f2db6af7d837498e': Permission denied
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalUser/f8e1a2b65a97cd2ad29f9714f719f28c': Permission denied
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalTicket/3a5f43f2ac205a5f4a4aa5be292bd432': Permission denied
Ausgeführt:
[root@de-hv1-iv-otrs1 bin]# ./otrs.SetPermissions.pl /opt/otrs --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache
bin/otrs.SetPermissions.pl <1.4> - set OTRS file permissions
Copyright (C) 2001-2010 xxx, http://otrs.org/
Setting permissions on /opt/otrs
Setting permissions on /opt/otrs/var
Setting permissions on /opt/otrs/bin/*
Setting permissions on /opt/otrs/scripts/*.pl
Setting permissions on /opt/otrs/scripts/tools/*.pl
Setting permissions on Kernel/Config.pm
Setting owner rw and group ro permissions on /opt/otrs/
Setting owner rw and group ro permissions on /opt/otrs/.procmailrc
Setting owner rw and group ro permissions on /opt/otrs/.fetchmailrc
[root@de-hv1-iv-otrs1 CacheFileStorable]# ls -l
insgesamt 396
drwxrwsr-x 2 otrs apache 4096 15. Nov 09:45 CacheInternalGeneralCatalog
drwxrwsr-x 2 otrs apache 20480 15. Nov 09:33 CacheInternalGroup
cd /opt/otrs/var/tmp/CacheFileStorable/CacheInternalGroup
ls -l
-rw-rw-r-- 1 otrs apache 344 15. Nov 09:33 4e84e7040fc3c60b4e5070bad4d2aa69
-rw-rw-r-- 1 otrs apache 44 15. Nov 09:33 7ca529ab4749cdbdc7222fccda3c7b19
-rw-rw-r-- 1 otrs apache 344 15. Nov 09:33 5ac42c1e5e4b70200267bb32d8ebb9a9
[root@de-hv1-iv-otrs1 CacheInternalGroup]# pwd
Was fehlt denn noch ?
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalGroup/cabd0fd91188e19fd4ea3fe1b6d27fde': Permission denied
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalGroup/b3a865f2278a367a625ba29e31e1a916': Permission denied
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalGroup/191a95ed255b68c4f2db6af7d837498e': Permission denied
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalUser/f8e1a2b65a97cd2ad29f9714f719f28c': Permission denied
Thu Nov 15 09:56:29 2012 error OTRS-otrs.PostMaster.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalTicket/3a5f43f2ac205a5f4a4aa5be292bd432': Permission denied
Ausgeführt:
[root@de-hv1-iv-otrs1 bin]# ./otrs.SetPermissions.pl /opt/otrs --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache
bin/otrs.SetPermissions.pl <1.4> - set OTRS file permissions
Copyright (C) 2001-2010 xxx, http://otrs.org/
Setting permissions on /opt/otrs
Setting permissions on /opt/otrs/var
Setting permissions on /opt/otrs/bin/*
Setting permissions on /opt/otrs/scripts/*.pl
Setting permissions on /opt/otrs/scripts/tools/*.pl
Setting permissions on Kernel/Config.pm
Setting owner rw and group ro permissions on /opt/otrs/
Setting owner rw and group ro permissions on /opt/otrs/.procmailrc
Setting owner rw and group ro permissions on /opt/otrs/.fetchmailrc
[root@de-hv1-iv-otrs1 CacheFileStorable]# ls -l
insgesamt 396
drwxrwsr-x 2 otrs apache 4096 15. Nov 09:45 CacheInternalGeneralCatalog
drwxrwsr-x 2 otrs apache 20480 15. Nov 09:33 CacheInternalGroup
cd /opt/otrs/var/tmp/CacheFileStorable/CacheInternalGroup
ls -l
-rw-rw-r-- 1 otrs apache 344 15. Nov 09:33 4e84e7040fc3c60b4e5070bad4d2aa69
-rw-rw-r-- 1 otrs apache 44 15. Nov 09:33 7ca529ab4749cdbdc7222fccda3c7b19
-rw-rw-r-- 1 otrs apache 344 15. Nov 09:33 5ac42c1e5e4b70200267bb32d8ebb9a9
[root@de-hv1-iv-otrs1 CacheInternalGroup]# pwd
Was fehlt denn noch ?