# Installation Error

**URL:** <https://forum.mautic.org/t/installation-error/4793>\
**Category:** Product Support\
**Created:** [August 8, 2016, 6:49am UTC](https://forum.mautic.org/t/installation-error/4793 "2016-08-08T06:49:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ceazer](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ceazer](https://forum.mautic.org/u/ceazer)\
**Post date:** [August 8, 2016, 6:49am UTC](https://forum.mautic.org/t/installation-error/4793/1 "2016-08-08T06:49:59Z")

</div>

I have got these errors when i hit the browser  
  
  
  
exception ‘UnexpectedValueException’ with message ‘The stream or file “/var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/logs/mautic\_prod-2016-08-08.php” could not be opened: failed to open stream: Permission denied’ in /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php:4426  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: Stack trace:  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #0 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(88): Monolog\Handler\StreamHandler-\>write(Array)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #1 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(4360): Monolog\Handler\RotatingFileHandler-\>write(Array)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #2 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(4849): Monolog\Handler\AbstractProcessingHandler-\>handle(Array)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #3 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(4956): Monolog\Logger-\>addRecord(500, ‘Uncaught PHP Ex…’, Array)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #4 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/symfony/http-kernel/EventListener/ExceptionListener.php(89): Monolog\Logger-\>critical(‘Uncaught PHP Ex…’, Array)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #5 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/symfony/http-kernel/EventListener/ExceptionListener.php(45): Symfony\Component\HttpKernel\EventListener\ExceptionListener-\>logException(Object(Exception), ‘Uncaught PHP Ex…’)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #6 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bundles/CoreBundle/EventListener/ExceptionListener.php(38): Symfony\Component\HttpKernel\EventListener\ExceptionListener-\>onKernelException(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #7 [internal function]: Mautic\CoreBundle\EventListener\ExceptionListener-\>onKernelException(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent), ‘kernel.exceptio…’, Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #8 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(2741): call\_user\_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent), ‘kernel.exceptio…’, Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #9 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(2656): Symfony\Component\EventDispatcher\EventDispatcher-\>doDispatch(Array, ‘kernel.exceptio…’, Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #10 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bootstrap.php.cache(3242): Symfony\Component\EventDispatcher\EventDispatcher-\>dispatch(‘kernel.exceptio…’, Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #11 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bootstrap.php.cache(3178): Symfony\Component\HttpKernel\HttpKernel-\>handleException(Object(Exception), Object(Symfony\Component\HttpFoundation\Request), 1)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #12 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bootstrap.php.cache(3323): Symfony\Component\HttpKernel\HttpKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #13 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bootstrap.php.cache(2513): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #14 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/AppKernel.php(131): Symfony\Component\HttpKernel\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #15 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/middlewares/CORSMiddleware.php(91): AppKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #16 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/middlewares/CatchExceptionMiddleware.php(43): Mautic\Middleware\CORSMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #17 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/middlewares/Prod/SetMauticHeaderMiddleware.php(41): Mautic\Middleware\CatchExceptionMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #18 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/middlewares/VersionCheckMiddleware.php(56): Mautic\Middleware\Prod\SetMauticHeaderMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #19 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Mautic\Middleware\VersionCheckMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #20 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/stack/run/src/Stack/run.php(13): Stack\StackedHttpKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #21 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/index.php(30): Stack\run(Object(Stack\StackedHttpKernel))  
  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #22 {main}  
  
  
  
  
  
I have run these command on my server  
  
  
  
chown -R ocradmin:psacln app/cache  
  
chown -R ocradmin:psacln app/logs  
  
  
  
rm -rf app/cache/  
  
_rm -rf app/logs/_  
  
  
  
chmod 777 app/cache  
  
chmod 777 app/logs  
  
  
  
Please help me.

---

<div class="post-metadata">

**Author:** ![ceazer](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ceazer](https://forum.mautic.org/u/ceazer)\
**Post date:** [August 8, 2016, 6:49am UTC](https://forum.mautic.org/t/installation-error/4793/2 "2016-08-08T06:49:59Z")

</div>

I have got these errors when i hit the browser

exception ‘UnexpectedValueException’ with message ‘The stream or file “/var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/logs/mautic\_prod-2016-08-08.php” could not be opened: failed to open stream: Permission denied’ in /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php:4426  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: Stack trace:  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #0 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(88): Monolog\Handler\StreamHandler-\>write(Array)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #1 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(4360): Monolog\Handler\RotatingFileHandler-\>write(Array)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #2 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(4849): Monolog\Handler\AbstractProcessingHandler-\>handle(Array)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #3 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(4956): Monolog\Logger-\>addRecord(500, ‘Uncaught PHP Ex…’, Array)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #4 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/symfony/http-kernel/EventListener/ExceptionListener.php(89): Monolog\Logger-\>critical(‘Uncaught PHP Ex…’, Array)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #5 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/symfony/http-kernel/EventListener/ExceptionListener.php(45): Symfony\Component\HttpKernel\EventListener\ExceptionListener-\>logException(Object(Exception), ‘Uncaught PHP Ex…’)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #6 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bundles/CoreBundle/EventListener/ExceptionListener.php(38): Symfony\Component\HttpKernel\EventListener\ExceptionListener-\>onKernelException(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #7 [internal function]: Mautic\CoreBundle\EventListener\ExceptionListener-\>onKernelException(Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent), ‘kernel.exceptio…’, Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #8 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(2741): call\_user\_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent), ‘kernel.exceptio…’, Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #9 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod/classes.php(2656): Symfony\Component\EventDispatcher\EventDispatcher-\>doDispatch(Array, ‘kernel.exceptio…’, Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #10 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bootstrap.php.cache(3242): Symfony\Component\EventDispatcher\EventDispatcher-\>dispatch(‘kernel.exceptio…’, Object(Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent))  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #11 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bootstrap.php.cache(3178): Symfony\Component\HttpKernel\HttpKernel-\>handleException(Object(Exception), Object(Symfony\Component\HttpFoundation\Request), 1)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #12 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bootstrap.php.cache(3323): Symfony\Component\HttpKernel\HttpKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #13 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/bootstrap.php.cache(2513): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #14 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/AppKernel.php(131): Symfony\Component\HttpKernel\Kernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #15 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/middlewares/CORSMiddleware.php(91): AppKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #16 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/middlewares/CatchExceptionMiddleware.php(43): Mautic\Middleware\CORSMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #17 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/middlewares/Prod/SetMauticHeaderMiddleware.php(41): Mautic\Middleware\CatchExceptionMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #18 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/middlewares/VersionCheckMiddleware.php(56): Mautic\Middleware\Prod\SetMauticHeaderMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #19 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Mautic\Middleware\VersionCheckMiddleware-\>handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #20 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/vendor/stack/run/src/Stack/run.php(13): Stack\StackedHttpKernel-\>handle(Object(Symfony\Component\HttpFoundation\Request))  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #21 /var/www/vhosts/octopusreach.com/aem.octopusreach.com/index.php(30): Stack\run(Object(Stack\StackedHttpKernel))  
[Mon Aug 08 09:24:49 2016] [warn] [client 220.158.206.5] mod\_fcgid: stderr: #22 {main}

I have run these command on my server

chown -R ocradmin:psacln app/cache  
chown -R ocradmin:psacln app/logs

rm -rf app/cache/\*  
rm -rf app/logs/\*

chmod 777 app/cache  
chmod 777 app/logs

Please help me.

---

<div class="post-metadata">

**Author:** ![ceazer](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ceazer](https://forum.mautic.org/u/ceazer)\
**Post date:** [August 9, 2016, 12:16pm UTC](https://forum.mautic.org/t/installation-error/4793/3 "2016-08-09T12:16:13Z")

</div>

Yes I am sure

---

<div class="post-metadata">

**Author:** ![ceazer](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ceazer](https://forum.mautic.org/u/ceazer)\
**Post date:** [August 10, 2016, 4:58am UTC](https://forum.mautic.org/t/installation-error/4793/4 "2016-08-10T04:58:01Z")

</div>

[root@vps269941 ~]# ps aux | egrep ‘(apache|httpd)’  
apache 7897 0.0 0.7 370816 14684 ? S Aug09 0:00 /usr/sbin/httpd  
apache 10107 0.0 0.5 238140 10088 ? S Aug07 0:12 /usr/sbin/httpd  
apache 10108 0.0 0.8 371084 15648 ? S Aug07 0:00 /usr/sbin/httpd  
apache 10109 0.0 0.8 371092 15676 ? S Aug07 0:01 /usr/sbin/httpd  
apache 10110 0.0 0.8 371084 15096 ? S Aug07 0:01 /usr/sbin/httpd  
apache 10111 0.0 0.8 371084 15632 ? S Aug07 0:00 /usr/sbin/httpd  
apache 10112 0.0 0.8 371084 15700 ? S Aug07 0:00 /usr/sbin/httpd  
apache 10113 0.0 0.7 370948 14876 ? S Aug07 0:00 /usr/sbin/httpd  
apache 10114 0.0 0.8 371080 15728 ? S Aug07 0:00 /usr/sbin/httpd  
apache 10115 0.0 0.8 371092 15768 ? S Aug07 0:00 /usr/sbin/httpd  
root 10494 0.0 0.0 103312 912 pts/0 S+ 07:50 0:00 egrep (apache|htt pd)  
root 31451 0.0 1.3 370684 24792 ? Ss Aug06 0:20 /usr/sbin/httpd

I am confuse which user Apache is running as ?

[root@vps269941 app]# ls -al  
total 172  
drwxr-xr-x 8 ocradmin psacln 4096 Aug 9 00:44 .  
drwxrwxr-x 9 ocradmin psacln 4096 Aug 9 00:41 …  
-rw-r–r-- 1 ocradmin psacln 143 Jul 12 21:56 AppCache.php  
-rw-r–r-- 1 ocradmin psacln 17656 Jul 12 21:56 AppKernel.php  
-rw-r–r-- 1 ocradmin psacln 396 Jul 12 21:56 autoload.php  
-rw-r–r-- 1 ocradmin psacln 102325 Jul 12 22:01 bootstrap.php.cache  
drwxr-xr-x 24 ocradmin psacln 4096 Jul 12 21:56 bundles  
drwxr-xr-x 3 ocradmin psacln 4096 Jul 12 22:01 cache  
drwxr-xr-x 2 ocradmin psacln 4096 Jul 12 22:02 config  
-rwxr-xr-x 1 ocradmin psacln 1188 Jul 12 21:56 console  
-rw-r–r-- 1 ocradmin psacln 13 Jul 12 21:56 .htaccess  
drwxr-xr-x 2 ocradmin psacln 4096 Aug 10 07:03 logs  
drwxr-xr-x 4 ocradmin psacln 4096 Jul 12 21:56 middlewares  
drwxr-xr-x 2 ocradmin psacln 4096 Jul 12 21:56 migrations  
-rw-r–r-- 1 ocradmin psacln 6 Jul 12 21:56 version.txt

Please help

---

<div class="post-metadata">

**Author:** ![ceazer](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ceazer](https://forum.mautic.org/u/ceazer)\
**Post date:** [August 10, 2016, 10:59am UTC](https://forum.mautic.org/t/installation-error/4793/5 "2016-08-10T10:59:27Z")

</div>

I have run  
chown -R apache:apache /var/www/vhosts/octopusreach.com/aem.octopusreach.com  
chmod -R 755 var/www/vhosts/octopusreach.com/aem.octopusreach.com  
rm -rf app/cache/\*

$ sudo sh -c ‘echo 1 \>/proc/sys/vm/drop\_caches’  
$ sudo sh -c ‘echo 2 \>/proc/sys/vm/drop\_caches’  
$ sudo sh -c ‘echo 3 \>/proc/sys/vm/drop\_caches’

But still i got error

exception ‘RuntimeException’ with message 'Unable to create the cache directory (/var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod)  
in /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/AppKernel.php:519

Please help

---

<div class="post-metadata">

**Author:** ![ceazer](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ceazer](https://forum.mautic.org/u/ceazer)\
**Post date:** [August 10, 2016, 12:17pm UTC](https://forum.mautic.org/t/installation-error/4793/6 "2016-08-10T12:17:03Z")

</div>

The file is too large can’t paste fully

# 

MaxKeepAliveRequests 100

# 

# KeepAliveTimeout: Number of seconds to wait for the next request from the

# same client on the same connection.

# 

KeepAliveTimeout 15

## 

## Server-Pool Size Regulation (MPM specific)

## 

# MaxClients: maximum number of server processes allowed to start

# MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 8 MinSpareServers 5 MaxSpareServers 20 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 4000
# worker MPM

# ThreadsPerChild: constant number of worker threads in each server process

# MaxRequestsPerChild: maximum number of requests a server process serves
StartServers 4 MaxClients 300 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0
# 

# Change this to Listen on specific IP addresses as shown below to

# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)

# 

#Listen 12.34.56.78:80  
Listen 7080

# 

# Dynamic Shared Object (DSO) Support

# 

# To be able to use the functionality of a module which was built as a DSO you

# to be loaded here.

# 

# Example:

# LoadModule foo\_module modules/mod\_foo.so

# 

LoadModule auth\_basic\_module modules/mod\_auth\_basic.so  
LoadModule auth\_digest\_module modules/mod\_auth\_digest.so  
LoadModule authn\_file\_module modules/mod\_authn\_file.so  
LoadModule authn\_alias\_module modules/mod\_authn\_alias.so  
LoadModule authn\_anon\_module modules/mod\_authn\_anon.so  
LoadModule authn\_dbm\_module modules/mod\_authn\_dbm.so  
LoadModule authn\_default\_module modules/mod\_authn\_default.so  
LoadModule authz\_host\_module modules/mod\_authz\_host.so  
LoadModule authz\_user\_module modules/mod\_authz\_user.so  
LoadModule authz\_owner\_module modules/mod\_authz\_owner.so  
LoadModule authz\_groupfile\_module modules/mod\_authz\_groupfile.so  
LoadModule authz\_dbm\_module modules/mod\_authz\_dbm.so  
LoadModule authz\_default\_module modules/mod\_authz\_default.so  
LoadModule ldap\_module modules/mod\_ldap.so  
LoadModule authnz\_ldap\_module modules/mod\_authnz\_ldap.so  
LoadModule include\_module modules/mod\_include.so  
LoadModule log\_config\_module modules/mod\_log\_config.so  
LoadModule logio\_module modules/mod\_logio.so  
LoadModule env\_module modules/mod\_env.so  
LoadModule ext\_filter\_module modules/mod\_ext\_filter.so  
LoadModule mime\_magic\_module modules/mod\_mime\_magic.so  
LoadModule expires\_module modules/mod\_expires.so  
LoadModule deflate\_module modules/mod\_deflate.so  
LoadModule headers\_module modules/mod\_headers.so  
LoadModule usertrack\_module modules/mod\_usertrack.so  
LoadModule setenvif\_module modules/mod\_setenvif.so  
LoadModule mime\_module modules/mod\_mime.so  
LoadModule dav\_module modules/mod\_dav.so  
LoadModule status\_module modules/mod\_status.so  
LoadModule autoindex\_module modules/mod\_autoindex.so  
LoadModule info\_module modules/mod\_info.so  
LoadModule dav\_fs\_module modules/mod\_dav\_fs.so  
LoadModule vhost\_alias\_module modules/mod\_vhost\_alias.so  
LoadModule negotiation\_module modules/mod\_negotiation.so  
LoadModule dir\_module modules/mod\_dir.so  
LoadModule actions\_module modules/mod\_actions.so  
LoadModule speling\_module modules/mod\_speling.so  
LoadModule userdir\_module modules/mod\_userdir.so  
LoadModule alias\_module modules/mod\_alias.so  
LoadModule substitute\_module modules/mod\_substitute.so  
LoadModule rewrite\_module modules/mod\_rewrite.so  
LoadModule proxy\_module modules/mod\_proxy.so  
LoadModule proxy\_balancer\_module modules/mod\_proxy\_balancer.so  
LoadModule proxy\_ftp\_module modules/mod\_proxy\_ftp.so  
LoadModule proxy\_http\_module modules/mod\_proxy\_http.so  
LoadModule proxy\_ajp\_module modules/mod\_proxy\_ajp.so  
LoadModule proxy\_connect\_module modules/mod\_proxy\_connect.so  
LoadModule cache\_module modules/mod\_cache.so  
LoadModule suexec\_module modules/mod\_suexec.so  
LoadModule disk\_cache\_module modules/mod\_disk\_cache.so  
LoadModule cgi\_module modules/mod\_cgi.so  
LoadModule version\_module modules/mod\_version.so

# 

# The following modules are not loaded by default:

# 

#LoadModule log\_forensic\_module modules/mod\_log\_forensic.so  
#LoadModule unique\_id\_module modules/mod\_unique\_id.so

# 

# 

# Load config files from the config directory “/etc/httpd/conf.d”.

# 

Include conf.d/\*.conf

# 

# ExtendedStatus controls whether Apache will generate “full” status

# information (ExtendedStatus On) or just basic information (ExtendedStatus

# Off) when the “server-status” handler is called. The default is Off.

# 

#ExtendedStatus On

# 

# If you wish httpd to run as a different user or group, you must run

# httpd as root initially and it will switch.

# 

# User/Group: The name (or #number) of the user/group to run httpd as.

# . On SCO (ODT 3) use “User nouser” and “Group nogroup”.

# . On HPUX you may not be able to use shared memory as nobody, and the

# suggested workaround is to create a user www and use that user.

# NOTE that some kernels refuse to setgid(Group) or semctl(IPC\_SET)

# when the value of (unsigned)Group is above 60000;

# don’t use Group #-1 on these systems!

# 

User apache  
Group apache

### Section 2: ‘Main’ server configuration

# 

# in which case these default settings will be overridden for the

# virtual host being defined.

# 

# 

# ServerAdmin: Your address, where problems with the server should be

# e-mailed. This address appears on some server-generated pages, such

# as error documents. e.g. [admin@your-domain.com](mailto:admin@your-domain.com)

# 

ServerAdmin root@localhost

# 

# You will have to access it by its address anyway, and this will make

# redirections work in a sensible way.

# 

#ServerName [www.example.com:80](http://www.example.com:80)

# 

# UseCanonicalName: Determines how Apache constructs self-referencing

# ServerName directive.

# 

UseCanonicalName Off

# 

# DocumentRoot: The directory out of which you will serve your

# documents. By default, all requests are taken from this directory, but

# symbolic links and aliases may be used to point to other locations.

# 

DocumentRoot “/var/www/html”

# 

# 

# First, we configure the “default” to be a very restrictive set of

# features.

# 
 Options FollowSymLinks AllowOverride None

---

<div class="post-metadata">

**Author:** ![ceazer](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ceazer](https://forum.mautic.org/u/ceazer)\
**Post date:** [August 10, 2016, 12:18pm UTC](https://forum.mautic.org/t/installation-error/4793/7 "2016-08-10T12:18:59Z")

</div>

# 

# The following directives modify normal HTTP response behavior to

# handle known problems with browser implementations.

# 

BrowserMatch “Mozilla/2” nokeepalive  
BrowserMatch “MSIE 4.0b2;” nokeepalive downgrade-1.0 force-response-1.0  
BrowserMatch “RealPlayer 4.0” force-response-1.0  
BrowserMatch “Java/1.0” force-response-1.0  
BrowserMatch “JDK/1.0” force-response-1.0

# 

# The following directive disables redirects on non-GET requests for

# Same deal with Apple’s DAV filesystem and Gnome VFS support for DAV.

# 

BrowserMatch “Microsoft Data Access Internet Publishing Provider” redirect-carefully  
BrowserMatch “MS FrontPage” redirect-carefully  
BrowserMatch “^WebDrive” redirect-carefully  
BrowserMatch “^WebDAVFS/1.[0123]” redirect-carefully  
BrowserMatch “^gnome-vfs/1.0” redirect-carefully  
BrowserMatch “^XML Spy” redirect-carefully  
BrowserMatch “^Dreamweaver-WebDAV-SCM1” redirect-carefully

# 

# Allow server status reports generated by mod\_status,

# with the URL of [http://servername/server-status](http://servername/server-status)

# Change the “.example.com” to match your domain to enable.

# 

#\<Location /server-status\>

# SetHandler server-status

# Order deny,allow

# Deny from all

# Allow from .example.com

#

---

<div class="post-metadata">

**Author:** ![ceazer](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ceazer](https://forum.mautic.org/u/ceazer)\
**Post date:** [August 11, 2016, 3:52am UTC](https://forum.mautic.org/t/installation-error/4793/8 "2016-08-11T03:52:27Z")

</div>

Still get error

I have run those command you give me

exception ‘RuntimeException’ with message 'Unable to create the cache directory (/var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/cache/prod)  
in /var/www/vhosts/octopusreach.com/aem.octopusreach.com/app/AppKernel.

---

<div class="post-metadata">

**Author:** ![ceazer](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@ceazer](https://forum.mautic.org/u/ceazer)\
**Post date:** [August 11, 2016, 4:30am UTC](https://forum.mautic.org/t/installation-error/4793/9 "2016-08-11T04:30:49Z")

</div>

[root@vps269941 /]# httpd -v  
Server version: Apache/2.2.15 (Unix)  
Server built: Jul 18 2016 15:24:00
