gdevillard
Mission Specialist
Mission Specialist
  • 279 Views

RH294 Chapter 2 Guided Exercise - 403

Jump to solution

Hi,

Currently practicing RH294 on RH 8.4, I wasn't able to complete the guided exercise for chapter 2 named "Implementing Playbooks".

The grading command 'lab playbook-review grade' is identifying the topic 'Verify web site' as FAIL, which is confirmed when trying to reach http://serverb.lab.example.com via curl, and indeed the playbook I'm running fails on the task 'connect to internet web server', but when I SSH on serverb I can see the index.php file with -rw-r--r-- permissions.

Did I forget to enabled SELinux for HTTPD, and if yes why is it not specified on the instructions of the guided exercise (I am still learning after all)? Any feedback appreciated..

Thanks and best regards,
Gilles

 

Labels (2)
0 Kudos
1 Solution

Accepted Solutions
gdevillard
Mission Specialist
Mission Specialist
  • 271 Views

Closing this query as I found the issue and managed to fix it!

What happened is that I initially try to perform the guided exercise without looking at the solution, but realised something was wrong, and corrected my mistake by adding php and php-mysqlnd to be installed.

What I think happened is that, because I ran the playbook few times, the httpd.service did not get restarted correctly after installing the PHP module and it wasn't interpreting the page.

Discovered the problem by running curl http://serverb.lab.example.com/index.php which was return the page raw, without interpreting it, and running systemctl restart httpd.service fixed it.

View solution in original post

0 Kudos
1 Reply
gdevillard
Mission Specialist
Mission Specialist
  • 272 Views

Closing this query as I found the issue and managed to fix it!

What happened is that I initially try to perform the guided exercise without looking at the solution, but realised something was wrong, and corrected my mistake by adding php and php-mysqlnd to be installed.

What I think happened is that, because I ran the playbook few times, the httpd.service did not get restarted correctly after installing the PHP module and it wasn't interpreting the page.

Discovered the problem by running curl http://serverb.lab.example.com/index.php which was return the page raw, without interpreting it, and running systemctl restart httpd.service fixed it.

0 Kudos
Join the discussion
You must log in to join this conversation.