by seaghan moriarty.
Apache2 logs:
```
The moodle application and moodle database are on different machines. Both machines have ample resources to handle these requests.
Hi folks,
I am running Moodle on Azure. Everything seems to work well except when I attempt to make a back up.
The apache and php logs report fastcgi errors. However, this seems to be indicating a symptom and not the problem.
php7.4-fpm.log:
```
```...
WARNING: [pool www] child 2487740, script '/path/to/moodle/web/backup/backup.php' (request: "POST /backup/backup.php") execution time
d out (361.314962 sec), terminating
...
Apache2 logs:
```
... [Fri Sep 10 12:15:35.376759 2021] [proxy_fcgi:error] [pid 2459764:tid 139937466799872] [client 10.0.x.x:27432] AH01071: Got error 'PHP message: instantiating backup controller 6c4a6a0c8d29eaa97xxx```
PHP message: setting controller status to 100
PHP message: loading controller planPHP message: setting controller status to 300
PHP message: applying plan defaults
PHP message: setting controller status to 400
PHP message: setting file inclusion to PHP message: checking plan security
PHP message: setting controller status to 500
PHP message: checking plan security
PHP message: checking plan security
PHP message: checking plan securityPHP message: saving controller to db
PHP message: calculating controller checksum bbfa981fdb02a6b68ed7xxx', referer: https://xxx.xxx.xxx/course/view.php?id=xxx
[Fri Sep 10 12:16:00.857297 2021] [proxy_fcgi:error] [pid 2459763:tid 139938924631808] [client 10.0.x.x:27506] AH01071: Got error 'PHP message: loading controller from db
PHP message: checking plan security
PHP message: checking plan security', referer: https://xxx.xxx.xxx/backup/backup.php?id=xxx
[Fri Sep 10 12:16:00.985916 2021] [proxy_fcgi:error] [pid 2459763:tid 139938924631808] [client 10.0.x.x:27506] AH01071: Got error 'PHP message: setting controller status to 700
PHP message: saving controller to db
PHP message: calculating controller checksum 9c668c8abc6d6e74cxxx
PHP message: loading controller from db
PHP message: setting file inclusion to 1
PHP message: setting controller status to 800
PHP message: saving controller to db
PHP message: calculating controller checksum 5a23c0d67b0b1285xxx
PHP message: loading controller from db', referer: https://xxx.xxx.xxx/backup/backup.php?id=xxx
[Fri Sep 10 12:16:48.335638 2021] [proxy_fcgi:error] [pid 2459764:tid 139938523756288] [client 10.0.x.x:26876] AH01067: Failed to read FastCGI header, refer
er: https://xxx.xxx.xxx/backup/backup.php?id=xxx
[Fri Sep 10 12:16:48.335680 2021] [proxy_fcgi:error] [pid 2459764:tid 139938523756288] (104)Connection reset by peer: [client 10.0.0.4:26876] AH01075: Error
dispatching request to : , referer: https://xxx.xxx.xxx/backup/backup.php?id=xxx
[Fri Sep 10 12:21:48.338666 2021] [proxy_fcgi:error] [pid 2459763:tid 139938924631808] [client 10.0.x.x:27506] AH01067: Failed to read FastCGI header, refer
er: https://xxx.xxx.xxx/backup/backup.php?id=xxx
[Fri Sep 10 12:21:48.338734 2021] [proxy_fcgi:error] [pid 2459763:tid 139938924631808] (104)Connection reset by peer: [client 10.0.0.4:27506] AH01075: Error
dispatching request to : , referer: https://xxx.xxx.xxx/backup/backup.php?id=xxx
The moodle application and moodle database are on different machines. Both machines have ample resources to handle these requests.
- Any ideas what might be causing these errors?
- Does Moodle require any specific configuration for Azure quirks?
- Have you been able to run Moodle on Azure like this without issues? If so, what is your setup like?
Thank you for your time!