I have a fresh ubuntu/mysql/otrs 4.0.5 setup. I'm trying to mount the cache onto ramdisk using the instructions here: http://otrs.github.io/doc/manual/admin/ ... uning.html
When i perform these steps, the entire site becomes unavailable (apache internal errors). I check opt/otrs/var/tmp, and you can no longer browse to that directory... i believe thats causing the issue. Are the instructions incorrect?
creating RAMDISK kills site
Moderator: crythias
-
- Znuny newbie
- Posts: 7
- Joined: 23 Jul 2015, 06:24
- Znuny Version: 4.0.3
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: creating RAMDISK kills site
hellbound41 wrote:opt/otrs/var/tmp, and you can no longer browse to that directory... i believe thats causing the issue
Yes, it is exactly the issue.Code: Select all
sudo mount -o size=16G -t tmpfs none /opt/otrs/var/tmp
If the tmp folder cannot be seen because it's not mounted well or properly, you should indeed have this issue.
If you feel the docs are invalid, perhaps the results of a web search might help.
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 newbie
- Posts: 7
- Joined: 23 Jul 2015, 06:24
- Znuny Version: 4.0.3
Re: creating RAMDISK kills site
My mistake... looks like it was a permissions issue. I was running the mount as root, which changed the owner permissions on the folder. Once I made otrs and www-data owners, everything works fine. One minor change. the command to mount is actually:
mount -t tmpfs -o size=16G tmpfs /opt/otrs/var/tmp
mount -t tmpfs -o size=16G tmpfs /opt/otrs/var/tmp