Article ID: 807

How to Correctly Restart Apache

How to Correctly Restart Apache

 

Problem

Under normal conditions there are two HTTPD.EXE tasks running for Retail Pro Prism.

no alternative text is available

Incorrectly restarting Apache can leave an orphaned process in the Windows task list. This will cause the system to react unpredictably when performing certain actions, such as printing or accessing some areas of the Admin Console.

Symptom

When the Restart button is used in the Apache Service Monitor to restart the Apache service, one of the old processes remains. Notice PID 11176 below.

no alternative text is available

Solution

Do NOT use the Restart button in the Apache Service Monitor console.

If you have an orphaned HTTPD.EXE process, use the steps below to correctly restart Apache and resolve the issue. These steps ensure that the service has been completely removed from memory before being reloaded.

no alternative text is available

1. Use the STOP button in the Apache Service Monitor to stop Apache

2. In Windows Task Manager > Details, locate the single remaining HTTPD.EXE then right click on it and choose End Task

3. Use the START button in the Apache Service Monitor to start Apache