Endpoint Protection

 View Only
Expand all | Collapse all

How to troubleshoot "bad gateway" error in generating reports in SEPM

  • 1.  How to troubleshoot "bad gateway" error in generating reports in SEPM

    Posted Jul 17, 2009 11:49 AM
    I have difficulties in generating a report in SEPM particularly in "Risk Comprehensive report" at any period.

    I could share this procedure below for your reference. this procedure resolved my concern.

    1. Get the fcgisetup.exe in the SEP CD2 installer then install it on the SEPM server that encountering the said problem.
    2. After the installation is done navigate to C:\Windows\System32\inetsrv
    3. Open fcgiext.ini with a text editor.
    4. Add the following lines to the bottom of the file:
    php=PHP
    [PHP]
    ExePath=D:\Program Files\Symantec\Symantec Endpoint Protection Manager\PHP\php-cgi.exe
    Arguments=-c "D:\Program Files\Symantec\Symantec Endpoint Protection Manager\Php\php.ini"
    InstanceMaxRequests=10000
    EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
    RequestTimeout=500
    ActivityTimeout=900

    5. Save the changes to the file.
    6. Now navigate to <drive>:\Program Files\Symantec\Symantec Endpoint Protection Manager\Php\php.ini
    7. Right click on php.ini and uncheck "Read only" and click on OK. Then open the file and add the following lines to the bottom of the file:

    fastcgi.impersonate=1
    fastcgi.log=0

    8. Save the changes to the file and close it. Again open properties php.ini and check the "Read only" box and click on OK.
    9. Click Start>Control Panel>Administrative Tools>Internet Information Services (IIS) Manager
    10. In the navigation tree, under Web Sites, under Default Web Site, right-click Reporting, and then select Properties.
    11. On the Virtual Directory tab, click Configuration. On the Mappings tab, under Application extensions, click the executable path, for the extension .php and then click Edit.
    12. Change the path to C:\windows\system32\inetsrv\fcgiext.dll
    Or %WINDIR%\system32\inetsrv\fcgiext.dll

    Where you replace %WINDIR% with the definition of %WINDIR% on your computer.

    13. Log on to SEPM and generate risk comprehensive report.


    :-)


  • 2.  RE: How to troubleshoot "bad gateway" error in generating reports in SEPM

    Posted Jul 20, 2009 10:33 AM
    Thanks for the good information.


    Cheers,
    Thomas


  • 3.  RE: How to troubleshoot "bad gateway" error in generating reports in SEPM

    Posted Jul 27, 2009 10:23 AM
    Thanks Thomas for the comment