Can't opendir(/opt/otrs/var/tmp/CacheFileStorable/DynamicField/b): No such file or directory

Analyzing the apache error log, The following errors are getting shown:
...........
[Wed Jul 27 12:39:13 2016] -e: Can't
opendir(/opt/otrs/var/tmp/CacheFileStorable/DynamicField/a/3/c): No such
file or directory
[Wed Jul 27 12:39:13 2016] -e: at
/opt/otrs//Kernel/System/Cache/FileStorable.pm line 227
[Wed Jul 27 12:39:13 2016] -e: Can't
opendir(/opt/otrs/var/tmp/CacheFileStorable/DynamicField/a/1): No such file
or directory
[Wed Jul 27 12:39:13 2016] -e: at
/opt/otrs//Kernel/System/Cache/FileStorable.pm line 227
[Wed Jul 27 12:39:13 2016] -e: Can't
opendir(/opt/otrs/var/tmp/CacheFileStorable/DynamicField/0): No such file
or directory
[Wed Jul 27 12:39:13 2016] -e: at
/opt/otrs//Kernel/System/Cache/FileStorable.pm line 227
.............
Those errors always occur after open a new ticket and choose a service.
Running OTRS 4.0.15 on a CentOS 6.
---
Phillipe Smith

Run SetPermissions.pl as admin user.
On Wed, Jul 27, 2016 at 9:48 AM, Phillipe Smith
Analyzing the apache error log, The following errors are getting shown:
........... [Wed Jul 27 12:39:13 2016] -e: Can't opendir(/opt/otrs/var/tmp/CacheFileStorable/DynamicField/a/3/c): No such file or directory [Wed Jul 27 12:39:13 2016] -e: at /opt/otrs//Kernel/System/Cache/FileStorable.pm line 227 [Wed Jul 27 12:39:13 2016] -e: Can't opendir(/opt/otrs/var/tmp/CacheFileStorable/DynamicField/a/1): No such file or directory [Wed Jul 27 12:39:13 2016] -e: at /opt/otrs//Kernel/System/Cache/FileStorable.pm line 227 [Wed Jul 27 12:39:13 2016] -e: Can't opendir(/opt/otrs/var/tmp/CacheFileStorable/DynamicField/0): No such file or directory [Wed Jul 27 12:39:13 2016] -e: at /opt/otrs//Kernel/System/Cache/FileStorable.pm line 227 .............
Those errors always occur after open a new ticket and choose a service.
Running OTRS 4.0.15 on a CentOS 6.
--- Phillipe Smith
----------------------------------------------------------- Linux SysAdmin | Developer --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
--
*Diego Chacón Rojas*
** E-mail: diego@gridshield.net

Hi Phillipe, I also agree that it seams to be a permission issue, you can also check the directory permissions manually to see if there is something unusual. ((enjoy)) Carlos Rodríguez
On Jul 27, 2016, at 10:57 AM, Phillipe Smith
wrote: I've already done that, also a otrs.DeleteCache.pl http://otrs.deletecache.pl/, but the problem persists. --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

No problems with permissions, otherwise the error would be like "can't
write....."
The permissions are OK:
/opt/otrs/var/tmp/CacheFileStorable/DynamicField/6:
drwxrws--- 3 apache apache 60 Jul 27 13:54 2
drwxrws--- 4 apache apache 80 Jul 27 13:54 3
drwxrws--- 3 apache apache 60 Jul 27 13:54 4
drwxrws--- 4 apache apache 80 Jul 27 13:54 6
drwxrws--- 3 apache apache 60 Jul 27 13:54 7
drwxrws--- 3 apache apache 60 Jul 27 13:54 a
drwxrws--- 4 apache apache 80 Jul 27 13:54 e
.....
The Cache is working good, only these problems with DynamicField are
ocurring.
*Phillipe Smith*
Hi Phillipe,
I also agree that it seams to be a permission issue, you can also check the directory permissions manually to see if there is something unusual.
((enjoy))
Carlos Rodríguez
On Jul 27, 2016, at 10:57 AM, Phillipe Smith
wrote: I've already done that, also a otrs.DeleteCache.pl http://otrs.deletecache.pl/, but the problem persists. --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

Are all OTRS files and directories in your instance be owned by apache user instead of otrs user? ((enjoy)) Carlos Rodríguez
On Jul 27, 2016, at 12:01 PM, Phillipe Smith
wrote: No problems with permissions, otherwise the error would be like "can't write....."
The permissions are OK:
/opt/otrs/var/tmp/CacheFileStorable/DynamicField/6: drwxrws--- 3 apache apache 60 Jul 27 13:54 2 drwxrws--- 4 apache apache 80 Jul 27 13:54 3 drwxrws--- 3 apache apache 60 Jul 27 13:54 4 drwxrws--- 4 apache apache 80 Jul 27 13:54 6 drwxrws--- 3 apache apache 60 Jul 27 13:54 7 drwxrws--- 3 apache apache 60 Jul 27 13:54 a drwxrws--- 4 apache apache 80 Jul 27 13:54 e .....
The Cache is working good, only these problems with DynamicField are ocurring.
Phillipe Smith
mailto:phillipelnx@gmail.com> ------------------------------------------------------------- Linux SysAdmin | Developer 2016-07-27 13:43 GMT-03:00 Carlos Rodríguez
mailto:carlos.rodriguez@otrs.com>: Hi Phillipe, I also agree that it seams to be a permission issue, you can also check the directory permissions manually to see if there is something unusual.
((enjoy))
Carlos Rodríguez
On Jul 27, 2016, at 10:57 AM, Phillipe Smith
mailto:phillipelnx@gmail.com> wrote: I've already done that, also a otrs.DeleteCache.pl http://otrs.deletecache.pl/, but the problem persists. --------------------------------------------------------------------- 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/mailman/listinfo/otrs http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- 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/mailman/listinfo/otrs http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs

No, only some from /opt/otrs/var/tmp/CacheFileStorable
Just to mention that otrs user is a member of apache group too.
*Phillipe Smith*
Are all OTRS files and directories in your instance be owned by apache user instead of otrs user?
((enjoy))
Carlos Rodríguez
On Jul 27, 2016, at 12:01 PM, Phillipe Smith
wrote: No problems with permissions, otherwise the error would be like "can't write....."
The permissions are OK:
/opt/otrs/var/tmp/CacheFileStorable/DynamicField/6: drwxrws--- 3 apache apache 60 Jul 27 13:54 2 drwxrws--- 4 apache apache 80 Jul 27 13:54 3 drwxrws--- 3 apache apache 60 Jul 27 13:54 4 drwxrws--- 4 apache apache 80 Jul 27 13:54 6 drwxrws--- 3 apache apache 60 Jul 27 13:54 7 drwxrws--- 3 apache apache 60 Jul 27 13:54 a drwxrws--- 4 apache apache 80 Jul 27 13:54 e .....
The Cache is working good, only these problems with DynamicField are ocurring.
*Phillipe Smith*
------------------------------------------------------------- Linux SysAdmin | Developer 2016-07-27 13:43 GMT-03:00 Carlos Rodríguez
: Hi Phillipe,
I also agree that it seams to be a permission issue, you can also check the directory permissions manually to see if there is something unusual.
((enjoy))
Carlos Rodríguez
On Jul 27, 2016, at 10:57 AM, Phillipe Smith
wrote: I've already done that, also a otrs.DeleteCache.pl http://otrs.deletecache.pl/, but the problem persists. --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
participants (3)
-
Carlos Rodríguez
-
Diego Chacón
-
Phillipe Smith